/* =========================================================================
   MOTTO AUTOMOTIVE - DESIGN SYSTEM
   Built on extracted brand identity from official guidelines
   Palette: Arctic White, Motto Navy, Signal Blue, Titanium Grey, Premium Gold
   ========================================================================= */

/* -------------------- DESIGN TOKENS -------------------- */
:root {
  /* Brand colors - extended from Motto brand guideline */
  --arctic-white: #F5F6F7;
  --pure-white: #F5F6F7;        /* Arctic white replaces pure white per brand guideline */
  --bmw-blue: #004C82;           /* Now the primary brand background color */
  --bmw-blue-deep: #004C82;      /* Deeper BMW blue for atmospheric depth */
  --motto-navy: #004C82;         /* Aliased to BMW Blue everywhere as background */
  --motto-navy-deep: #004C82;    /* Aliased darker BMW blue */
  --ink: #0A1D3A;                /* Deep navy reserved for dark text on light bg (readability) */
  --signal-blue: #004C82;
  --titanium-grey: #8C8F94;
  --titanium-grey-light: #C8CACD;
  --premium-gold: #C9A550;
  --premium-gold-light: #E0BE6E;

  /* Functional */
  --bg: var(--arctic-white);
  --bg-alt: var(--pure-white);
  --bg-dark: var(--bmw-blue);
  --bg-darkest: var(--bmw-blue-deep);
  --text: var(--ink);
  --text-muted: var(--titanium-grey);
  --rule: rgba(10, 29, 58, 0.12);
  --rule-light: rgba(255, 255, 255, 0.18);

  /* Typography */
  --font-display: 'Saira Condensed', 'Oswald', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing - 8px scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;
  --s-9: 160px;
  --s-10: 200px;

  /* Layout */
  --content-max: 1480px;
  --content-pad: clamp(20px, 4vw, 64px);
  --header-h: 96px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 240ms;
  --dur-mid: 480ms;
  --dur-slow: 900ms;

  /* Marquee - shared by clients + brands tracks */
  --marquee-duration: 45s;
  --marquee-duration-md: 35s;
  --marquee-duration-sm: 25s;
  --marquee-mask: linear-gradient(
    to right,
    transparent 0%,
    black 5%,
    black 95%,
    transparent 100%
  );
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  letter-spacing: -0.005em;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}

::selection {
  background: var(--motto-navy);
  color: var(--premium-gold);
}

/* -------------------- TYPOGRAPHY -------------------- */
.display-xxl {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(80px, 14vw, 240px);
  line-height: 0.88;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.display-l {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

.display-m {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.display-s {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--titanium-grey);
}

.eyebrow-gold {
  color: var(--premium-gold);
}

.eyebrow-light {
  color: var(--titanium-grey-light);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--text);
  max-width: 56ch;
}

.lede-muted {
  color: var(--titanium-grey);
}

.body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 60ch;
}

.body-light {
  color: rgba(255, 255, 255, 0.78);
}

/* -------------------- LAYOUT -------------------- */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--content-pad);
  overflow-x: clip;
}

.section--tight {
  padding-top: clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

.section--dark {
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    linear-gradient(160deg,
      #0073C2 0%,
      #004C82 35%,
      #0058A0 70%,
      #004C82 100%);
  color: var(--arctic-white);
  position: relative;
}

.section--darkest {
  background:
    radial-gradient(ellipse 70% 60% at 20% 10%, rgba(0, 115, 194, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(201, 165, 80, 0.10) 0%, transparent 60%),
    linear-gradient(160deg, #003E6B 0%, #002F52 50%, #00253F 100%);
  color: var(--arctic-white);
  position: relative;
}

.section--white {
  background: var(--pure-white);
}

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-bottom: clamp(48px, 7vw, 96px);
}

.section-head--split {
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (min-width: 900px) {
  .section-head--split {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

/* -------------------- BUTTONS -------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: color var(--dur-fast) var(--ease-out);
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--motto-navy);
  transform: translateY(101%);
  transition: transform var(--dur-mid) var(--ease-out);
  z-index: -1;
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn:hover,
.btn:focus-visible {
  color: var(--arctic-white);
}

/* Solid → arrow (shaft + head, crisp at any size) */
.btn-arrow {
  --arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath fill='%23000' d='M2 6.25h16v1.5H2V6.25zm16-2.75L29 7 18 10.5z'/%3E%3C/svg%3E");
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 11px;
  background-color: currentColor;
  -webkit-mask-image: var(--arrow-icon);
  mask-image: var(--arrow-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  transform-origin: left center;
  transition: transform var(--dur-fast) var(--ease-out);
}

.btn:hover .btn-arrow,
.btn:focus-visible .btn-arrow {
  transform: scaleX(1.35);
}

.nav__cta .btn-arrow {
  width: 18px;
  height: 10px;
}

.nav__cta:hover .btn-arrow,
.nav__cta:focus-visible .btn-arrow {
  transform: scaleX(1.3);
}

.btn--solid {
  background: var(--motto-navy);
  color: var(--arctic-white);
  border-color: var(--ink);
}

.btn--solid::before {
  background: var(--premium-gold);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  color: var(--ink);
}

.btn--gold {
  background: var(--premium-gold);
  color: var(--ink);
  border-color: var(--premium-gold);
}

.btn--gold::before {
  background: var(--motto-navy);
}

.btn--gold:hover,
.btn--gold:focus-visible,
.btn--gold:active {
  color: var(--arctic-white);
}

.btn--gold:hover::before,
.btn--gold:focus-visible::before,
.btn--gold:active::before {
  transform: translateY(0);
}

.btn--ghost-light {
  color: var(--arctic-white);
  border-color: var(--arctic-white);
}

.btn--ghost-light::before {
  background: var(--arctic-white);
}

.btn--ghost-light:hover,
.btn--ghost-light:focus-visible {
  color: var(--ink);
}

/* Text link */
.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: currentColor;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.link:hover {
  gap: 18px;
  color: var(--premium-gold);
}

/* -------------------- NAV -------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 var(--content-pad);
  background: transparent;
  transition: background var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              backdrop-filter var(--dur-mid) var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background:
    linear-gradient(135deg,
      rgba(0, 76, 130, 0.85) 0%,
      rgba(0, 76, 130, 0.92) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 32px rgba(0, 76, 130, 0.18);
}

.nav__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  /* Ensure no overflow cutting */
  overflow: visible;
}

.nav.is-scrolled .nav__brand,
.nav.is-scrolled .nav__wordmark,
.nav.is-scrolled .nav__link {
  color: var(--arctic-white);
}

.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Larger logo for better visibility */
  height: 52px;
  width: 52px;
  /* NO overflow hidden - prevents cropping */
  overflow: visible;
  /* Force transparent background ALWAYS */
  background: transparent !important;
  border: none;
  padding: 0;
  margin: 0;
}

.nav__mark img {
  height: 100%;
  width: 100%;
  /* Critical: contain prevents cropping */
  object-fit: contain;
  object-position: center;
  transition: filter var(--dur-fast) var(--ease-out);
  /* Force transparent background - no white box */
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: normal;
}

/* Ensure no white background when scrolled */
.nav.is-scrolled .nav__mark,
.nav.is-scrolled .nav__mark img {
  background: transparent !important;
  background-color: transparent !important;
}

.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color var(--dur-mid) var(--ease-out);
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 36px;
  list-style: none;
}

@media (min-width: 1000px) {
  .nav__menu {
    display: flex;
  }
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 10px 0;
  transition: color var(--dur-mid) var(--ease-out);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: var(--premium-gold);
  transition: width var(--dur-mid) var(--ease-out);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

.nav__cta {
  padding: 12px 26px 12px 22px;
  font-size: 11px;
  display: none;
}

@media (min-width: 1000px) {
  .nav__cta {
    display: inline-flex;
  }
}

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin: -10px;
  background: transparent;
}

.nav__toggle span {
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out),
              background var(--dur-mid) var(--ease-out);
}

.nav.is-scrolled .nav__toggle span {
  background: var(--arctic-white);
}

@media (min-width: 1000px) {
  .nav__toggle {
    display: none;
  }
}

/* Mobile menu drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background:
    linear-gradient(150deg, rgb(0, 76, 130) 0%, rgb(10, 29, 58) 100%);
  padding:
    calc(var(--header-h) + env(safe-area-inset-top, 0px) + 18px)
    max(24px, var(--content-pad))
    calc(28px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 4vh, 34px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -10px, 0);
  transition: opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out),
              visibility 0s linear var(--dur-mid);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.nav__drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity var(--dur-mid) var(--ease-out),
              transform var(--dur-mid) var(--ease-out),
              visibility 0s linear 0s;
}

@media (min-width: 1000px) {
  .nav__drawer {
    display: none;
  }
}

.nav__drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.8vh, 16px);
  margin: 0;
  padding: 0;
}

.nav__drawer-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: var(--arctic-white);
  padding: clamp(9px, 1.6vh, 14px) 0;
  border-bottom: 1px solid var(--rule-light);
  display: block;
  overflow-wrap: normal;
  word-break: normal;
}

.nav__drawer-link:hover {
  color: var(--premium-gold);
}

.nav.is-menu-open {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav.is-menu-open .nav__brand,
.nav.is-menu-open .nav__menu,
.nav.is-menu-open .nav__cta {
  opacity: 0;
  pointer-events: none;
}

.nav__toggle.is-open {
  position: relative;
  z-index: 1001;
}

.nav__toggle.is-open span {
  background: var(--arctic-white);
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 640px) {
  .nav__drawer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav__drawer-link {
    font-size: clamp(26px, 9vw, 36px);
    letter-spacing: 0.025em;
  }
}

/* -------------------- HERO (split layout, glassmorphism) -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  background: var(--arctic-white);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero__split {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* Image panel - now the background layer filling entire hero */
.hero__panel--media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bmw-blue-deep);
}

.hero__panel--media picture,
.hero__panel--media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__panel--media img {
  object-fit: cover;
  object-position: center 40%;
  animation: heroConveyorMotion 20s ease-in-out infinite;
}

@media (min-width: 641px) {
  .hero__panel--media img {
    object-position: 58% 45%;
  }
}

@keyframes heroConveyorMotion {
  0% { 
    transform: translateY(0) scale(1.02); 
  }
  50% { 
    transform: translateY(15px) scale(1.04); 
  }
  100% { 
    transform: translateY(0) scale(1.02); 
  }
}

/* Right-to-left opacity gradient overlay on the image - STRONGER for text readability:
   - LEFT (content area): much more opaque (95% coverage = only 5% image shows through)
   - RIGHT (worker area): moderate opacity (40% coverage = 60% image shows through)
   Creates strong contrast for text while keeping worker visible */
.hero__panel--media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(245, 246, 247, 0.96) 0%,
    rgba(245, 246, 247, 0.94) 12%,
    rgba(245, 246, 247, 0.88) 25%,
    rgba(245, 246, 247, 0.76) 40%,
    rgba(245, 246, 247, 0.58) 60%,
    rgba(245, 246, 247, 0.40) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Content panel - now overlaid on top of background image */
.hero__panel--content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  /* Extra top padding to prevent logo crop */
  padding: calc(var(--header-h) + 88px) clamp(28px, 6vw, 96px) clamp(48px, 8vw, 96px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: var(--s-5);
  /* Ensure no overflow cutting */
  overflow: visible;
  /* Subtle gradient panel behind content for extra separation from image */
  background:
    radial-gradient(ellipse 90% 60% at 12% 18%, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.0) 60%),
    radial-gradient(ellipse 70% 55% at 90% 95%, rgba(0, 76, 130, 0.12) 0%, rgba(0, 76, 130, 0.0) 65%);
}

/* Glassy overlay on content for depth */
.hero__panel--content::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Animated glow orb for premium depth */
.hero__panel-glow {
  position: absolute;
  width: 60vw;
  max-width: 720px;
  aspect-ratio: 1;
  top: -10%;
  right: -25%;
  background: radial-gradient(circle at center, rgba(0, 76, 130, 0.18) 0%, rgba(0, 76, 130, 0.0) 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
  animation: heroGlowDrift 14s ease-in-out infinite alternate;
}

@keyframes heroGlowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.08); }
}

.hero__panel--media::before {
  display: none;
}

.hero__media-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(0, 76, 130, 0) 0%, rgba(0, 76, 130, 0.65) 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arctic-white);
  z-index: 2;
}

@media (max-width: 640px) {
  .hero__media-meta {
    padding: 20px 18px;
    font-size: 9px;
    letter-spacing: 0.18em;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

.hero__media-meta strong {
  color: var(--premium-gold);
  font-weight: 600;
}

/* Content within left panel */
.hero__top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.7;
  z-index: 1;
}

.hero__top span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero__top span:first-child::before,
.hero__top span:last-child::after {
  display: none;
}

@media (min-width: 700px) {
  .hero__top span:first-child::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--premium-gold);
  }
  .hero__top span:last-child::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--premium-gold);
  }
}

.hero__center {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 1.6vw, 22px);
  z-index: 1;
  min-width: 0;
  width: 100%;
}

.hero__logo {
  width: 100%;
  max-width: clamp(320px, 98%, 640px);
  height: auto;
  display: block;
  object-fit: contain;
  /* Extra generous padding to ensure FULL logo visibility including all text */
  padding: 16px 0;
  margin: 0;
  /* High-quality rendering */
  image-rendering: crisp-edges;
  animation: heroLogoFade 1.4s var(--ease-out) 0.15s both;
}

.hero__title {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  /* Prevent any overflow cutting */
  overflow: visible;
}

.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(10px, 0.95vw, 12px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.78;
  margin-top: 4px;
  padding-left: clamp(48px, 7vw, 100px);
  animation: heroLogoFade 1.4s var(--ease-out) 0.35s both;
}

.hero__tagline::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--premium-gold);
  flex-shrink: 0;
}

@keyframes heroLogoFade {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__statement {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: end;
  z-index: 1;
  /* Extra bottom padding on mobile to clear the "Manufacturing Excellence" meta band */
  padding-bottom: clamp(20px, 4vw, 0px);
}

@media (min-width: 768px) {
  .hero__statement {
    padding-bottom: 0;
  }
}

.hero__who {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__who-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--premium-gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hero__who-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--premium-gold);
}

.hero__lede {
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--ink);
  max-width: 46ch;
  font-weight: 400;
  opacity: 0.88;
}

.hero__lede strong {
  color: var(--ink);
  font-weight: 700;
  opacity: 1;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: var(--s-2);
}

.hero__scroll {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: none;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.55;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  z-index: 5;
}

@media (min-width: 1100px) {
  .hero__scroll { display: inline-flex; }
}

.hero__scroll::after {
  content: '';
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--premium-gold), transparent);
  animation: scrollPulse 2s var(--ease-soft) infinite;
}

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

/* -------------------- BRAND STATEMENT -------------------- */
.statement {
  background: var(--arctic-white);
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--content-pad) clamp(60px, 9vw, 110px);
}

.statement__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  align-items: center;
}

@media (min-width: 1000px) {
  .statement__inner {
    grid-template-columns: 1.3fr 1fr;
    gap: var(--s-8);
  }
}

.statement__heading {
  position: relative;
}

.statement__heading h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
}

.statement__heading h2 em {
  font-style: italic;
  font-weight: 200;
  color: var(--premium-gold);
}

.statement__rule {
  width: 80px;
  height: 1px;
  background: var(--premium-gold);
  margin: var(--s-4) 0 var(--s-3);
}

.statement__body p + p {
  margin-top: var(--s-2);
}

.statement__body strong {
  color: var(--ink);
  font-weight: 600;
}

/* Manufacturing pillars */
.statement__showcase {
  margin-top: clamp(56px, 8vw, 96px);
}

.statement__showcase-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: linear-gradient(
    90deg,
    #0A1D3A 0%,
    #004C82 18%,
    #F5F6F7 32%,
    #F5F6F7 68%,
    #004C82 82%,
    #0A1D3A 100%
  );
}

.statement__showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--ease-out);
}

.statement__showcase-media:hover img {
  transform: scale(1.02);
}

/* MOBILE: maintain aspect ratio to show full car */
@media (max-width: 768px) {
  .statement__showcase-media {
    aspect-ratio: 4 / 3;
  }
}

.statement__showcase-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px clamp(24px, 4vw, 48px);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 76, 130, 0.90) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arctic-white);
  z-index: 2;
}

@media (max-width: 480px) {
  .statement__showcase-meta {
    padding: 18px 20px;
    font-size: 10px;
    letter-spacing: 0.16em;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

.statement__showcase-meta strong {
  color: var(--premium-gold);
  font-weight: 600;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  margin-top: var(--s-7);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar {
  background: var(--arctic-white);
  padding: var(--s-4) var(--s-3);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--premium-gold);
}

.pillar__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.pillar__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--titanium-grey);
}

/* -------------------- COLLECTION (PRODUCTS GRID) -------------------- */
.collection {
  /* Background inherited from .section--dark gradient */
  color: var(--arctic-white);
  position: relative;
}

.collection__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-7);
}

@media (min-width: 900px) {
  .collection__head {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: var(--s-6);
  }
}

.collection__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.collection__title em {
  font-style: italic;
  font-weight: 200;
  color: var(--premium-gold);
}

.collection__intro {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
  max-width: 50ch;
}

.collection__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 700px) {
  .collection__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .collection__grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  position: relative;
  background:
    linear-gradient(155deg, #0073C2 0%, #004C82 50%, #004C82 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: background var(--dur-mid) var(--ease-out), border-color var(--dur-mid) var(--ease-out);
  overflow: hidden;
}

.product-card:hover {
  background:
    linear-gradient(155deg, #0080D9 0%, #004C82 50%, #003E6B 100%);
  border-color: rgba(201, 165, 80, 0.30);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--arctic-white);
  overflow: hidden;
}

/* Modifier for plate-style imagery (transparent PNGs of physical plates):
   - taller aspect to suit wide horizontal plates
   - object-fit: contain so the full plate is shown
   - generous padding inside so plate doesn't touch edges */
.product-card__media--plate {
  aspect-ratio: 16 / 8;
  background: var(--arctic-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px) clamp(20px, 4vw, 48px);
}

.product-card__media--plate img {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(10, 29, 58, 0.12));
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(12px, 2.5vw, 24px);
  box-sizing: border-box;
  transition: transform 1.2s var(--ease-out);
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 29, 58, 0.55) 100%);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
}

.product-card:hover .product-card__media::after {
  opacity: 1;
}

.product-card__num {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--ink);
  background: var(--arctic-white);
  padding: 6px 10px;
  z-index: 2;
  mix-blend-mode: normal;
}

.product-card__body {
  padding: var(--s-3) var(--s-3) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-card__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--premium-gold);
}

.product-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--arctic-white);
}

.product-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arctic-white);
}

.product-card__cta::after {
  content: '';
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: width var(--dur-fast) var(--ease-out);
}

.product-card:hover .product-card__cta {
  color: var(--premium-gold);
}

.product-card:hover .product-card__cta::after {
  width: 24px;
}

/* -------------------- SIGNATURE (SPLIT FEATURE) -------------------- */
.signature {
  background: var(--arctic-white);
  padding: 0;
}

.signature__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1000px) {
  .signature__inner {
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
    align-items: stretch;
  }
}

.signature__media {
  position: relative;
  background: var(--motto-navy-deep);
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

@media (min-width: 1000px) {
  .signature__media {
    aspect-ratio: auto;
  }
}

.signature__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(24px, 5vw, 80px);
}

/* Instagram reel - full panel, image bleeds into gradient (no box) */
.signature__media.signature__media--instagram {
  --sig-edge: #050E1F;
  --sig-mid: #0A1D3A;
  --sig-deep: #004C82;
  --sig-panel: radial-gradient(ellipse 90% 55% at 50% 15%, rgba(0, 115, 194, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 50% 40% at 92% 88%, rgba(201, 165, 80, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, var(--sig-edge) 0%, var(--sig-mid) 42%, var(--sig-deep) 100%);
  position: relative;
  aspect-ratio: unset;
  overflow: hidden;
  min-height: clamp(480px, 72vh, 820px);
  padding: 0;
  border: none;
  box-shadow: none;
  background: var(--sig-panel);
}

@media (min-width: 1000px) {
  .signature__media.signature__media--instagram {
    min-height: 100%;
  }
}

/* Edge vignette - melts photo into panel (not a border) */
.signature__media--instagram::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--sig-edge) 0%, rgba(5, 14, 31, 0.92) 5%, transparent 28%),
    linear-gradient(270deg, var(--sig-edge) 0%, rgba(5, 14, 31, 0.92) 5%, transparent 28%),
    linear-gradient(180deg, var(--sig-mid) 0%, transparent 18%),
    linear-gradient(0deg, var(--sig-deep) 0%, rgba(0, 76, 130, 0.7) 10%, transparent 32%);
}

.signature__media--instagram.is-reel-active::after,
.signature__media--instagram:has(.signature__reel-screen.is-playing)::after {
  display: none;
}

.signature__reels {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
}

.signature__reel,
.signature__reel-frame,
.signature__reel-screen,
.signature__reel-cover,
.signature__reel-video {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

.signature__reel,
.signature__reel-frame,
.signature__reel-screen {
  position: absolute;
  inset: 0;
  background: transparent;
}

.signature__reel-frame::before {
  display: none;
}

.signature__reel-screen {
  overflow: hidden;
}

.signature__reel-screen::before,
.signature__reel-screen::after {
  display: none;
  content: none;
}

.signature__reel-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--sig-mid);
  background-image: url('../assets/cars/mercedes-g-wagon-motto-number-plate-fujairah-uae.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transition: filter 0.5s var(--ease-out);
}

.signature__reel-cover::before {
  display: none;
}

.signature__reel-cover:hover {
  filter: brightness(1.05);
}

.signature__reel-cover:focus,
.signature__reel-cover:focus-visible {
  outline: none;
  box-shadow: none;
}

.signature__reel-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 50%;
  background: rgba(5, 14, 31, 0.45);
  backdrop-filter: blur(8px);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.35s var(--ease-out);
}

.signature__reel-play::after {
  content: '';
  margin-left: 5px;
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent var(--premium-gold);
}

.signature__reel-cover:hover .signature__reel-play {
  transform: translate(-50%, -50%) scale(1.06);
}

/* Native reel - full panel, no Instagram embed box */
.signature__reel-screen.is-playing,
.signature__reel-screen--native.is-playing {
  z-index: 3;
  background: var(--sig-mid);
}

.signature__reel-screen--native .signature__reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: none;
  background: var(--sig-mid);
}

.signature__reel-mute {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  z-index: 6;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(5, 14, 31, 0.55);
  backdrop-filter: blur(8px);
  color: var(--premium-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.signature__reel-mute:hover {
  background: rgba(5, 14, 31, 0.75);
  transform: scale(1.05);
}

.signature__reel-mute:focus-visible {
  outline: 2px solid var(--premium-gold);
  outline-offset: 2px;
}

.signature__reel-mute-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.signature__reel-mute-icon--on {
  display: none;
}

.signature__reel-mute.is-muted .signature__reel-mute-icon--on {
  display: block;
}

.signature__reel-mute.is-muted .signature__reel-mute-icon--off {
  display: none;
}

.signature__reel-mute:not(.is-muted) .signature__reel-mute-icon--on {
  display: none;
}

.signature__reel-mute:not(.is-muted) .signature__reel-mute-icon--off {
  display: block;
}

/* Blend video edges into panel while playing */
.signature__media--instagram.is-reel-active::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--sig-edge) 0%, transparent 20%),
    linear-gradient(270deg, var(--sig-edge) 0%, transparent 20%),
    linear-gradient(180deg, var(--sig-mid) 0%, transparent 14%),
    linear-gradient(0deg, var(--sig-deep) 0%, transparent 22%);
}

.signature__media-meta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--arctic-white);
  z-index: 2;
}

.signature__media-meta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10,29,58,0.7) 100%);
  z-index: -1;
  top: -120px;
}

.signature__media-meta strong {
  color: var(--premium-gold);
}

.signature__media--instagram .signature__media-meta--reel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 6;
  padding: clamp(20px, 3vw, 28px) clamp(24px, 4vw, 48px) clamp(18px, 2.5vw, 28px);
  align-items: flex-end;
  gap: 16px;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  background: none;
}

.signature__media--instagram .signature__media-meta--reel span {
  text-shadow: 0 2px 16px rgba(5, 14, 31, 0.85);
}

.signature__media--instagram .signature__media-meta--reel::before {
  display: none;
}

@media (max-width: 599px) {
  .signature__media.signature__media--instagram {
    min-height: auto;
    aspect-ratio: 4 / 5;
  }

  .signature__media--instagram .signature__media-meta--reel {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }
}

.signature__content {
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--s-3);
}

.signature__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.signature__title em {
  font-style: italic;
  font-weight: 200;
  color: var(--premium-gold);
}

.signature__rule {
  width: 64px;
  height: 1px;
  background: var(--premium-gold);
}

.signature__list {
  list-style: none;
  margin-top: var(--s-3);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.signature__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 16px;
  font-size: 15px;
  line-height: 1.6;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}

.signature__list li::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--premium-gold);
  margin-top: 11px;
}

.signature__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
}

.signature__list span {
  color: var(--titanium-grey);
}

.signature__cta {
  margin-top: var(--s-4);
}

/* Reverse variant */
.signature--reverse .signature__inner {
  direction: rtl;
}

.signature--reverse .signature__inner > * {
  direction: ltr;
}

/* -------------------- BADGES STRIP (chrome on dark) -------------------- */
.badges {
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(0, 115, 194, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(201, 165, 80, 0.10) 0%, transparent 60%),
    linear-gradient(155deg, #003E6B 0%, #002F52 50%, #00253F 100%);
  color: var(--arctic-white);
  position: relative;
  overflow: hidden;
}

.badges::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 76, 130, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(201, 165, 80, 0.10) 0%, transparent 50%);
  pointer-events: none;
}

.badges__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
  position: relative;
}

@media (min-width: 900px) {
  .badges__head {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
    gap: var(--s-6);
  }
}

.badges__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

/* Mobile: 2 columns */
@media (max-width: 799px) {
  .badges__grid { 
    grid-template-columns: repeat(2, 1fr); 
  }
  .badge-tile:nth-child(5) {
    grid-column: span 2;
  }
}

/* Tablet and up: 3 on top, 2 centered on bottom */
@media (min-width: 800px) {
  .badge-tile:nth-child(1) { grid-column: 1 / 3; }
  .badge-tile:nth-child(2) { grid-column: 3 / 5; }
  .badge-tile:nth-child(3) { grid-column: 5 / 7; }
  .badge-tile:nth-child(4) { grid-column: 2 / 4; }
  .badge-tile:nth-child(5) { grid-column: 4 / 6; }
}

.badge-tile {
  background: var(--arctic-white);
  color: var(--ink);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  padding: clamp(12px, 1.6vw, 20px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  transition: background var(--dur-mid) var(--ease-out);
}

.badge-tile:hover {
  background: var(--pure-white);
}

.badge-tile__media {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.badge-tile__media img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(10, 29, 58, 0.2));
  transition: transform var(--dur-slow) var(--ease-out);
}

.badge-tile:hover .badge-tile__media img {
  transform: scale(1.06);
}

.badge-tile__footer {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.4vw, 18px) clamp(8px, 1vw, 12px);
  margin-top: clamp(6px, 0.8vw, 10px);
}

.badge-tile__label {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ink);
  transform-origin: center center;
  transition: transform var(--dur-slow) var(--ease-out), color var(--dur-mid) var(--ease-out);
}

.badge-tile:hover .badge-tile__label {
  transform: scale(1.04);
}

/* -------------------- KEYCHAINS (LUXURY DARK) -------------------- */
.keychains {
  background:
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(0, 115, 194, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(0, 76, 130, 0.55) 0%, transparent 60%),
    linear-gradient(150deg, #0073C2 0%, #004C82 35%, #0058A0 70%, #004C82 100%);
  color: var(--arctic-white);
  position: relative;
}

.keychains__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}

@media (min-width: 1000px) {
  .keychains__layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-7);
    align-items: center;
  }
}

.keychains__copy h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.keychains__copy h2 em {
  font-style: italic;
  font-weight: 200;
  color: var(--premium-gold);
}

.keychains__copy p {
  margin-top: var(--s-3);
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
  max-width: 50ch;
}

.keychains__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--motto-navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.keychains__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.keychains__strip {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.keychains__strip-tile {
  background: var(--motto-navy-deep);
  aspect-ratio: 21 / 9;
  position: relative;
  overflow: hidden;
}

@media (max-width: 700px) {
  .keychains__strip-tile {
    aspect-ratio: 16 / 10;
  }
}

.keychains__strip-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 1.2s var(--ease-out);
}

.keychains__strip-tile:hover img {
  transform: scale(1.04);
}

.keychains__strip-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 14, 31, 0.92) 100%);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arctic-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.keychains__strip-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--premium-gold);
}

/* -------------------- PARALLAX / EXPERIENCE -------------------- */
.experience {
  position: relative;
  height: 80vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--motto-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.experience__bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
}

.experience__bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  will-change: transform;
}

.experience__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(5, 14, 31, 0.7) 0%,
    rgba(5, 14, 31, 0.5) 50%,
    rgba(5, 14, 31, 0.85) 100%);
}

.experience__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--content-pad);
  max-width: 1100px;
}

.experience__quote {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(36px, 5.5vw, 88px);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--arctic-white);
  text-transform: uppercase;
}

.experience__quote em {
  font-style: italic;
  color: var(--premium-gold);
}

.experience__attr {
  margin-top: var(--s-4);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.experience__attr::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--premium-gold);
}

/* -------------------- SHOWROOM / SUNSHADES -------------------- */
.showcase {
  background: var(--arctic-white);
}

.showcase__head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
}

.showcase__head h2 em {
  font-style: italic;
  font-weight: 200;
  color: var(--premium-gold);
}

.showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

@media (min-width: 800px) {
  .showcase__grid { grid-template-columns: repeat(3, 1fr); }
  .showcase__grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }
}

.showcase__tile {
  background: var(--pure-white);
  padding: clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  position: relative;
}

.showcase__tile-media {
  min-height: 180px;
  aspect-ratio: 16 / 7;
  background: var(--arctic-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3vw, 32px) clamp(24px, 4vw, 48px);
  margin: calc(-1 * clamp(24px, 4vw, 56px));
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}

@media (min-width: 800px) {
  .showcase__tile-media {
    aspect-ratio: 16 / 8;
    min-height: 200px;
  }
}

.showcase__tile-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(10, 29, 58, 0.1));
  transition: transform var(--dur-slow) var(--ease-out);
}

.showcase__tile:hover .showcase__tile-media img {
  transform: scale(1.04);
}

.showcase__tile-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--premium-gold);
}

.showcase__tile-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.showcase__tile-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--titanium-grey);
}

.showcase__tile--amazon .amazon-mini {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.amazon-mini__label {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--premium-gold);
}

.amazon-mini__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--premium-gold);
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.amazon-mini__btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* -------------------- PARTNERS -------------------- */
.partners {
  background: var(--pure-white);
  padding: clamp(60px, 9vw, 120px) var(--content-pad);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.partners__head {
  text-align: center;
  margin-bottom: var(--s-5);
}

.partners__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 12px;
}

.partners__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 700px) {
  .partners__list { grid-template-columns: repeat(3, 1fr); }
}

.partner-tile {
  background: var(--pure-white);
  aspect-ratio: auto;
  min-height: clamp(120px, 14vw, 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 18px);
  padding: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 24px);
  transition: background var(--dur-fast) var(--ease-out);
}

.partner-tile__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: clamp(44px, 5vw, 60px);
  object-fit: contain;
  object-position: center;
  opacity: 0.92;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}

.partner-tile__name {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  line-height: 1.3;
}

.partner-tile:hover {
  background: var(--arctic-white);
}

.partner-tile:hover .partner-tile__logo {
  opacity: 1;
  transform: scale(1.04);
}

.partner-tile--wide .partner-tile__logo {
  max-width: 88%;
  max-height: clamp(32px, 3.6vw, 42px);
}

/* -------------------- AMAZON STORE -------------------- */
.amazon-store {
  background: #FAFBFC;
  padding: clamp(72px, 10vw, 110px) var(--content-pad);
  border-bottom: 1px solid var(--rule);
}

.amazon-store__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(16px, 2vw, 22px);
}

.amazon-store__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0;
}

.amazon-store__title em {
  font-style: italic;
  color: var(--motto-blue);
  font-weight: 400;
}

.amazon-store__lede {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--titanium-grey);
  max-width: 48ch;
  margin: 0;
}

.amazon-store__cta {
  margin-top: 8px;
}

/* -------------------- CTA -------------------- */
.cta {
  background:
    radial-gradient(ellipse 80% 70% at 25% 20%, rgba(0, 115, 194, 0.65) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 80%, rgba(0, 76, 130, 0.65) 0%, transparent 60%),
    linear-gradient(160deg, #002F52 0%, #00253F 50%, #001B2D 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 14vw, 200px) var(--content-pad);
  color: var(--arctic-white);
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 76, 130, 0.30) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 165, 80, 0.14) 0%, transparent 50%);
  pointer-events: none;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--premium-gold), transparent);
}

.cta__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}

.cta__eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--premium-gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.cta__eyebrow::before,
.cta__eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--premium-gold);
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 8vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.cta__title em {
  font-style: italic;
  color: var(--premium-gold);
}

.cta__lede {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 56ch;
  margin: 0 auto;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: var(--s-2);
}

.cta__contacts {
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--s-3);
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--s-4);
}

@media (min-width: 700px) {
  .cta__contacts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .cta__contacts { grid-template-columns: repeat(4, 1fr); }
}

.contact-card {
  text-align: center;
}

.contact-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--titanium-grey);
  margin-bottom: 8px;
}

.contact-card__value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--arctic-white);
}

.contact-card__value:hover {
  color: var(--premium-gold);
}

/* -------------------- FOOTER -------------------- */
.footer {
  background: #03081A;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--s-7) var(--content-pad) var(--s-3);
  font-size: 13px;
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 800px) {
  .footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--arctic-white);
  text-decoration: none;
}

.footer__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 52px;
  overflow: visible;
  background: transparent !important;
  border: none;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}

.footer__mark img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  background-color: transparent !important;
  mix-blend-mode: normal;
  -webkit-font-smoothing: antialiased;
}

.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--arctic-white);
  text-transform: uppercase;
}

.footer__tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
  margin-top: 8px;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arctic-white);
  margin-bottom: var(--s-2);
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__col a:hover {
  color: var(--premium-gold);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-2);
  padding-top: var(--s-3);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom-values {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__bottom-values span {
  position: relative;
}

.footer__bottom-values span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%);
}

/* -------------------- ANIMATIONS / OBSERVERS -------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__bg img { animation: none; transform: scale(1); }
  .hero__title-line span { transform: translateY(0); animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------------- UTILITIES -------------------- */
.text-gold { color: var(--premium-gold); }
.text-muted { color: var(--titanium-grey); }

/* No scroll lock */
body.is-locked {
  overflow: hidden;
}

/* ========================= TRUSTED BY / CLIENTS (Premium Enterprise Marquee) ========================= */
.clients {
  position: relative;
  background: #FAFBFC;
  padding: clamp(90px, 12vw, 140px) 0 clamp(80px, 11vw, 120px);
  overflow: hidden;
  border-top: 1px solid rgba(0, 76, 130, 0.06);
  border-bottom: 1px solid rgba(0, 76, 130, 0.06);
}

/* Subtle premium atmosphere */
.clients::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 35% at 50% 50%, rgba(0, 76, 130, 0.012) 0%, transparent 65%);
  pointer-events: none;
}

.clients__head {
  text-align: center;
  margin-bottom: clamp(60px, 8vw, 84px);
  position: relative;
  z-index: 1;
}

.clients__title {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 200;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 18px 0 0;
}
.clients__title em {
  font-style: italic;
  color: var(--motto-blue);
  font-weight: 400;
}

/* Marquee wrapper - CRITICAL for seamless rendering */
.clients__marquee {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: var(--marquee-mask);
  mask-image: var(--marquee-mask);
}

/* Continuous marquee track - runs by CSS alone; JS refines shift to exact px */
.clients__track {
  --marquee-shift: -50%;
  display: flex;
  align-items: flex-end;
  width: max-content;
  gap: clamp(90px, 11vw, 130px);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  animation: marqueeFlowRTL var(--marquee-duration) linear infinite;
}

.clients__track.is-marquee-ready {
  opacity: 1;
  animation: marqueeFlowRTL var(--marquee-duration) linear infinite;
  animation-play-state: running;
}

@keyframes marqueeFlowRTL {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--marquee-shift), 0, 0);
  }
}

.clients__marquee:hover .clients__track {
  animation-play-state: paused;
}

/* Logo container - uniform dealer tile width */
.clients__item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.2vw, 14px);
  width: clamp(150px, 17vw, 210px);
  min-height: clamp(88px, 10vw, 110px);
  padding: 0 12px;
}

.clients__name {
  display: none;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
  color: var(--ink);
  line-height: 1.35;
  white-space: nowrap;
}

/* Logo rendering - consistent dealer sizing */
.clients__logo {
  display: block;
  width: auto;
  height: clamp(52px, 6.5vw, 72px);
  max-width: min(220px, 100%);
  max-height: clamp(52px, 6.5vw, 72px);
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  transition: transform 420ms cubic-bezier(0.19, 1, 0.22, 1), opacity 420ms ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  background: transparent;
}

.clients__item:hover .clients__logo {
  transform: translateZ(0) scale(1.04);
}

/* Wide horizontal logos (e.g. Omeir Bin Youssef Group) */
.clients__item--wide {
  width: clamp(180px, 20vw, 260px);
}

.clients__item--wide .clients__logo {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: clamp(40px, 4.8vw, 50px);
}

@media (prefers-reduced-motion: reduce) {
  .clients__marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .clients__marquee::-webkit-scrollbar {
    display: none;
  }

  .clients__track,
  .brands-marquee__track {
    opacity: 1;
    animation: none;
  }

  .clients__track {
    flex-wrap: nowrap;
    width: max-content;
    padding: 0 var(--content-pad);
    gap: clamp(48px, 6vw, 72px);
  }

  .clients__track > .clients__item:nth-child(n + 15) {
    display: none;
  }

  .brands-marquee__scroll {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .brands-marquee__scroll::-webkit-scrollbar {
    display: none;
  }

  .brands-marquee__track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
    gap: clamp(32px, 5vw, 48px);
  }

  .brands-marquee__track > .brands-marquee__item:nth-child(n + 14) {
    display: none;
  }
}

@media (max-width: 900px) {
  .clients__track {
    animation-duration: var(--marquee-duration-md);
  }
  .clients__track {
    gap: 70px;
  }
  .clients__item {
    min-height: 88px;
  }
  .clients__logo {
    height: 50px;
    max-height: 50px;
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  .clients__track {
    animation-duration: var(--marquee-duration-sm);
  }
  .clients__track {
    gap: 56px;
  }
  .clients__item {
    min-height: 80px;
    padding: 0 10px;
  }
  .clients__logo {
    height: 44px;
    max-height: 44px;
    max-width: 180px;
  }
  .clients__name {
    font-size: 12px;
  }
}

/* ========================= CAR BRANDS MARQUEE ========================= */
/* ========================= CAR BRANDS MARQUEE (Premium Enterprise) ========================= */
.brands-marquee {
  position: relative;
  background: #FAFBFC;
  padding: clamp(75px, 10vw, 110px) 0 clamp(85px, 11.5vw, 125px);
  overflow: hidden;
  margin-top: clamp(60px, 9vw, 100px);
  border-top: 1px solid rgba(0, 76, 130, 0.06);
}

.brands-marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 45% 35% at 50% 50%, rgba(0, 76, 130, 0.012) 0%, transparent 65%);
  pointer-events: none;
}

.brands-marquee__head {
  text-align: center;
  margin-bottom: clamp(52px, 7vw, 76px);
  position: relative;
  z-index: 1;
}

.brands-marquee__title {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 200;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 16px 0 0;
}
.brands-marquee__title em {
  font-style: italic;
  color: var(--motto-blue);
  font-weight: 400;
}

/* Marquee wrapper - same motion tokens as clients marquee */
.brands-marquee__scroll {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  z-index: 1;
  -webkit-mask-image: var(--marquee-mask);
  mask-image: var(--marquee-mask);
}

.brands-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(95px, 11.5vw, 135px);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  animation: none;
}

.brands-marquee__track.is-marquee-ready {
  opacity: 1;
  animation: marqueeFlowRTL var(--marquee-duration) linear infinite;
  animation-play-state: running;
}

.brands-marquee__scroll:hover .brands-marquee__track {
  animation-play-state: paused;
}

/* Logo container */
.brands-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(56px, 7vw, 76px);
  padding: 0 20px;
}

/* Logo rendering - FULL COLOR, SHARP, PREMIUM */
.brands-marquee__logo {
  display: block;
  width: auto;
  height: 100%;
  max-width: min(200px, 24vw);
  object-fit: contain;
  object-position: center;
  opacity: 1;
  filter: none;
  mix-blend-mode: multiply;
  transition: transform 420ms cubic-bezier(0.19, 1, 0.22, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  background: transparent;
}

.brands-marquee__item:hover .brands-marquee__logo {
  transform: translateZ(0) scale(1.04);
}

/* Wide horizontal brand wordmarks */
.brands-marquee__item--wide .brands-marquee__logo {
  max-width: min(320px, 38vw);
}

/* iCAR - square file with heavy padding; scale mark to match peers */
.brands-marquee__item--icar .brands-marquee__logo {
  height: 240%;
  max-width: min(260px, 30vw);
}

/* Jetour - full brand lockup (wordmark + tagline) */
.brands-marquee__item--jetour .brands-marquee__logo {
  height: 100%;
  width: auto;
  max-width: min(280px, 32vw);
  object-fit: contain;
  object-position: center;
}

/* Omoda - wide wordmark, same scale as Jaecoo / Exeed */
.brands-marquee__item--omoda .brands-marquee__logo {
  height: 100%;
  width: auto;
  max-width: min(320px, 38vw);
  object-fit: contain;
  object-position: center;
}

@media (max-width: 900px) {
  .brands-marquee__track.is-marquee-ready {
    animation-duration: var(--marquee-duration-md);
  }
  .brands-marquee__track {
    gap: 72px;
  }
  .brands-marquee__item {
    height: 50px;
  }
  .brands-marquee__logo {
    max-width: 190px;
  }

  .brands-marquee__item--icar .brands-marquee__logo {
    max-width: 220px;
  }

  .brands-marquee__item--jetour .brands-marquee__logo {
    max-width: 220px;
  }

  .brands-marquee__item--omoda .brands-marquee__logo {
    max-width: 260px;
  }
}

@media (max-width: 600px) {
  .brands-marquee__track.is-marquee-ready {
    animation-duration: var(--marquee-duration-sm);
  }
  .brands-marquee__track {
    gap: 62px;
  }
  .brands-marquee__item {
    height: 44px;
    padding: 0 14px;
  }
  .brands-marquee__logo {
    max-width: 160px;
  }

  .brands-marquee__item--icar .brands-marquee__logo {
    max-width: 190px;
  }

  .brands-marquee__item--jetour .brands-marquee__logo {
    max-width: 180px;
  }

  .brands-marquee__item--omoda .brands-marquee__logo {
    max-width: 220px;
  }
}


/* -------------------- SOCIAL ICONS + WHATSAPP FLOAT -------------------- */
.nav__social,
.nav__drawer-social,
.footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__social { display: none; margin-right: 20px; }
@media (min-width: 1000px) { .nav__social { display: flex; } }

.nav__social a,
.nav__drawer-social a,
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.nav__social a svg,
.nav__drawer-social a svg,
.footer__social a svg {
  width: 19px;
  height: 19px;
}

.nav__social a:hover,
.nav__drawer-social a:hover,
.footer__social a:hover {
  color: var(--premium-gold);
  transform: translateY(-2px);
}

.nav__drawer-social {
  margin-top: 32px;
  justify-content: center;
}
.nav__drawer-social a { color: var(--arctic-white); }

.footer__social { margin-top: 24px; }
.footer__social a { color: var(--titanium-grey-light); }

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg { width: 27px; height: 27px; }
}

/* -------------------- MOBILE HERO ADJUSTMENTS -------------------- */
@media (max-width: 640px) {
  /* Shift image so the worker's shirt logo moves out from behind the MOTTO wordmark */
  .hero__panel--media img {
    object-position: 15% 38%;
  }
  /* Stronger, more even wash on mobile for readability */
  .hero__panel--media::after {
    background: linear-gradient(180deg,
      rgba(245, 246, 247, 0.95) 0%,
      rgba(245, 246, 247, 0.88) 40%,
      rgba(245, 246, 247, 0.72) 70%,
      rgba(245, 246, 247, 0.55) 100%);
  }
  /* Raise the "Dubai · UAE" line */
  .hero__panel--content {
    padding-top: calc(var(--header-h) + 28px);
  }
}
