.hero-float-container {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  z-index: 1;

  pointer-events: none;

}

.float-cell {

  position: absolute;

  object-fit: contain;

  will-change: transform;

}

.fc-1 {

  top: 12%;

  left: 8%;

  width: 18vw;

  max-width: 300px;

  z-index: 3;

}

.fc-2 {

  top: 12%;

  right: 28%;

  width: 10vw;

  max-width: 150px;

  opacity: 0.7;

  filter: blur(12px) hue-rotate(-30deg) brightness(1.1);

  z-index: 1;

}

.fc-complex {

  top: 15%;

  right: 5%;

  width: 25vw;

  max-width: 480px;

  z-index: 4;

  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));

}

.fc-4 {

  bottom: 5%;

  left: 4%;

  width: 16vw;

  max-width: 240px;

  z-index: 3;

}

.fc-5 {

  bottom: 12%;

  left: 22%;

  width: 12vw;

  max-width: 180px;

  z-index: 2;

}

.fc-3 {

  bottom: 10%;

  right: 35%;

  width: 15vw;

  max-width: 220px;

  z-index: 3;

}

.fc-7 {

  bottom: 5%;

  right: 5%;

  width: 14vw;

  max-width: 250px;

  z-index: 4;

  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) brightness(1.1);

}

.hero-inner {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  text-align: left;

  position: relative;

  z-index: 2;

  max-width: 100%;

}

.hero-title {

  font-size: clamp(3rem, 5vw, 6rem);

  line-height: 1;

  font-weight: 800;

  margin-bottom: 1rem;

  letter-spacing: -0.02em;

}

.hero-desc {

  font-size: 1.25rem;

  color: var(--text-gray);

  max-width: 500px;

}

.hero {

  position: relative;

  width: 100%;

  min-height: 100vh;

  display: flex;

  align-items: center;

  padding-top: 80px;

  z-index: 1;

  overflow: hidden;

}

.brands-grid {

  display: grid;

  grid-template-columns: repeat(5, 1fr);

  gap: 1.5rem;

}

.brand-tile {

  background: var(--white);

  border: 1px solid rgba(0, 0, 0, 0.04);

  border-radius: var(--radius-lg);

  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.03);

  padding: 3.5rem 2rem;

  display: flex;

  align-items: center;

  justify-content: center;

  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

}

.brand-tile img {

  max-width: 100%;

  max-height: 60px;

  object-fit: contain;

  opacity: 0.7;

  filter: grayscale(100%);

  transition: all 0.4s ease;

}

.brand-tile:hover {

  transform: translateY(-5px);

  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.06);

  border-color: rgba(0, 0, 0, 0.08);

}

.brand-tile:hover img {

  opacity: 1;

  filter: grayscale(0%);

  transform: scale(1.05);

}


:root {

  --white: #ffffff;

  --bg-color: #fafbfc;

  --text-dark: #090e17;

  --text-gray: #64748b;

  --navy: #0f172a;

  --blue: #2563eb;

  --blue-light: #eff6ff;

  --font-sans: 'Inter', sans-serif;

  --font-display: 'Inter', sans-serif;

  --font-mono: 'JetBrains Mono', monospace;

  --radius-lg: 24px;

  --radius-md: 12px;

  --radius-sm: 100px;

}

html {

  scroll-behavior: smooth;

}

html.lenis {

  height: auto;

}

#brands,

#products,

#about,

#contact {

  scroll-margin-top: 0px;

}

.lenis.lenis-smooth {

  scroll-behavior: auto;

}

.lenis.lenis-smooth [data-lenis-prevent] {

  overscroll-behavior: contain;

}

.lenis.lenis-stopped {

  overflow: hidden;

}

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}

body {

  margin: 0;

  font-family: var(--font-sans);

  background-color: var(--bg-color);

  color: var(--text-dark);

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;

  user-select: none;

  -webkit-user-select: none;

}

h1,

h2,

h3,

h4 {

  font-family: var(--font-display);

  font-weight: 800;

  letter-spacing: -0.05em;

  line-height: 1.05;

  color: var(--text-dark);

}

.pill {

  display: inline-flex;

  align-items: center;

  padding: 0.35rem 1rem;

  background: var(--white);

  border: 1px solid rgba(0, 0, 0, 0.06);

  border-radius: var(--radius-sm);

  font-family: var(--font-mono);

  font-size: 0.7rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.08em;

  color: var(--text-dark);

}

.pill-blue {

  background: transparent;

  color: var(--text-dark);

  border: 1px solid rgba(0, 0, 0, 0.1);

}

.container {

  width: 100%;

  max-width: 1400px;

  margin: 0 auto;

  padding: 0 4vw;

}

.navbar {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  padding: 3rem 4vw;

  background: transparent;

  display: flex;

  justify-content: space-between;

  align-items: center;

  z-index: 1000;

  border: none;

}

.nav-logo img,

.nav-logo svg {

  height: 55px;

}

.nav-links {

  display: flex;

  gap: 4rem;

  align-items: center;

}

.nav-links a {

  text-decoration: none;

  color: var(--text-dark);

  font-weight: 500;

  font-size: 1rem;

  letter-spacing: -0.01em;

  transition: opacity 0.3s;

}

.nav-links a:hover,

.nav-links a.active {

  opacity: 0.5;

}

.nav-cta {

  background: transparent;

  color: var(--text-dark);

  padding: 0;

  border-radius: 0;

  text-decoration: none;

  font-weight: 500;

  font-size: 1rem;

  letter-spacing: -0.01em;

  border: none;

  position: relative;

  display: flex;

  align-items: center;

  gap: 0.5rem;

}

.nav-cta::before {

  content: "";

  display: block;

  width: 6px;

  height: 6px;

  background: var(--blue);

  border-radius: 50%;

  box-shadow: 0 0 8px var(--blue);

  animation: pulse 2s ease-in-out infinite;

}

.horizontal-section {

  position: relative;

  background: var(--bg-color);

  z-index: 2;

}

.horizontal-sticky {

  height: 100vh;

  width: 100%;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  justify-content: center;

}

.horizontal-header {

  margin-bottom: 5vh;

  z-index: 5;

}

.horizontal-track {

  display: flex;

  padding-left: 4vw;

  gap: 4vw;

  will-change: transform;

}

.horizontal-card {

  flex-shrink: 0;

  width: 70vw;

  max-width: 1000px;

  height: 60vh;

  background: var(--white);

  border-radius: var(--radius-lg);

  display: grid;

  grid-template-columns: 1fr 1fr;

  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.04);

  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.03);

}

.hc-img {

  width: 100%;

  height: 100%;

  overflow: hidden;

}

.hc-img img,

.hc-img video {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);

}

.horizontal-card:hover .hc-img img,

.horizontal-card:hover .hc-img video {

  transform: scale(1.05);

}

.hc-content {

  padding: 4rem;

  display: flex;

  flex-direction: column;

  justify-content: center;

}

.hc-index {

  font-family: var(--font-mono);

  font-size: 1rem;

  color: var(--text-gray);

  margin-bottom: 2rem;

}

.hc-content h3 {

  font-size: 2.5rem;

  margin-bottom: 1.5rem;

}

.hc-content p {

  font-size: 1.1rem;

  color: var(--text-gray);

  line-height: 1.6;

}

.custom-cursor {

  display: none !important;

}

.brands-section,

.horizontal-section,

.legacy-section,

.clients-section,

.footer-premium {

  border-top-left-radius: 40px;

  border-top-right-radius: 40px;

  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.06);

}

.brands-section {

  padding: 12vh 0 8vh;

  background: #f8fafc;

  position: relative;

  z-index: 2;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

  justify-content: center;

  border-top-left-radius: 40px;

  border-top-right-radius: 40px;

  box-shadow: 0 -30px 100px rgba(0, 0, 0, 0.1);

  width: 100%;

}

.horizontal-section {

  padding-top: 0;

}

.legacy-section {

  padding-top: 8vh;

}

.clients-section {

  padding-top: 0;

}

.legacy-section {

  padding: 12vh 0 15vh 0;

  background: linear-gradient(to bottom, var(--bg-color) 0%, #eef6fb 100%);

  color: var(--text-dark);

  position: relative;

  z-index: 4;

}

.legacy-row {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 6vw;

  align-items: center;

  margin-bottom: 15vh;

}

.legacy-row:last-child {

  margin-bottom: 0;

}

.legacy-row.reverse .legacy-content {

  order: 2;

}

.legacy-row.reverse .legacy-image {

  order: 1;

}

.legacy-content h2 {

  font-size: clamp(2.5rem, 4vw, 3.5rem);

  color: var(--primary);

  margin-bottom: 1.5rem;

  line-height: 1.2;

}

.legacy-content p {

  font-size: 1.25rem;

  color: var(--text-gray);

  line-height: 1.8;

}

.legacy-image {

  border-radius: var(--radius-lg);

  overflow: hidden;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);

  aspect-ratio: 4/3;

}

.legacy-image img {

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform 0.8s ease;

}

.legacy-row:hover .legacy-image img {

  transform: scale(1.05);

}

.clients-section {

  padding: 0;

  background: #f1f5f9;

  position: relative;

  z-index: 5;

  overflow: hidden;

}

.clients-bg-grid {

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),

    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);

  background-size: 70px 70px;

  pointer-events: none;

  z-index: 0;

  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);

  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);

}

.clients-section .container {

  position: relative;

  z-index: 1;

}

.clients-header {

  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  gap: 4rem;

  padding: 12vh 0 6vh;

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

  margin-bottom: 0;

}

.clients-eyebrow {

  font-size: 0.7rem;

  font-weight: 700;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: var(--blue);

  margin-bottom: 1.2rem;

}

.clients-title {

  font-size: clamp(2.8rem, 4.5vw, 4.5rem);

  color: var(--text-dark);

  letter-spacing: -0.04em;

  line-height: 1.05;

  font-weight: 800;

}

.clients-sub {

  max-width: 360px;

  font-size: 1rem;

  color: var(--text-gray);

  line-height: 1.75;

  padding-bottom: 0.5rem;

}

.clients-stats {

  display: flex;

  align-items: center;

  gap: 0;

  border-bottom: 1px solid rgba(0, 0, 0, 0.06);

}

.clients-stat {

  flex: 1;

  padding: 3rem 2rem;

  display: flex;

  flex-direction: column;

  gap: 0.5rem;

}

.clients-stat-divider {

  width: 1px;

  height: 60px;

  background: rgba(0, 0, 0, 0.06);

  flex-shrink: 0;

}

.stat-num {

  font-size: clamp(2.2rem, 3.5vw, 3.2rem);

  font-weight: 800;

  color: var(--text-dark);

  letter-spacing: -0.04em;

  line-height: 1;

}

.stat-label {

  font-size: 0.72rem;

  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  color: var(--text-gray);

}

.clients-logo-grid {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 2rem;

  padding-bottom: 10vh;

}

.client-logo-item {

  border: 1px solid rgba(0, 0, 0, 0.04);

  border-radius: var(--radius-lg);

  padding: 3rem 2.5rem 2.5rem;

  display: grid;

  grid-template-rows: 1fr auto;

  align-items: center;

  text-align: center;

  position: relative;

  overflow: hidden;

  background: var(--white);

  box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.04);

  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  min-height: 260px;

  gap: 2rem;

}

.client-logo-item::after {

  content: '';

  position: absolute;

  inset: 0;

  background: radial-gradient(circle at 50% 120%, rgba(37, 99, 235, 0.04), transparent 70%);

  opacity: 0;

  transition: opacity 0.6s ease;

}

.client-logo-item:hover {

  transform: translateY(-8px);

  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.1);

  border-color: rgba(0, 0, 0, 0.08);

}

.client-logo-item:hover::after {

  opacity: 1;

}

.client-logo-item img {

  max-height: 110px;

  max-width: 200px;

  width: auto;

  object-fit: contain;

  filter: grayscale(100%) opacity(0.7);

  transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;

  z-index: 2;

  transform: translateZ(0);

  place-self: center; 

}

.client-logo-item:hover img {

  filter: grayscale(0%) opacity(1) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));

  transform: scale(1.08) translateY(-6px);

}

.client-logo-item.logo-lg img {

  max-height: 155px;

  max-width: 260px;

}

.client-logo-item span {

  position: static;

  width: 100%;

  text-align: center;

  font-size: 0.75rem;

  font-weight: 600;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  color: var(--text-dark);

  line-height: 1.5;

  opacity: 0.7;

  transition: opacity 0.6s ease;

  z-index: 2;

  min-height: 2.8em; 

  display: flex;

  align-items: center;

  justify-content: center;

}

.client-logo-item:hover span {

  opacity: 1;

}

.hero-scroll-indicator {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 0.6rem;

  position: absolute;

  bottom: 3rem;

  left: 50%;

  transform: translateX(-50%);

  z-index: 10;

  pointer-events: none;

}

.hsi-label {

  font-size: 0.6rem;

  font-weight: 700;

  letter-spacing: 0.25em;

  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.6);

}

.hsi-mouse {

  width: 24px;

  height: 40px;

  border: 2px solid rgba(255, 255, 255, 0.4);

  border-radius: 12px;

  position: relative;

}

.hsi-dot {

  position: absolute;

  top: 6px;

  left: 50%;

  width: 4px;

  height: 4px;

  background: #fff;

  border-radius: 50%;

  transform: translateX(-50%);

  animation: scrollDot 1.8s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;

}

@keyframes scrollDot {

  0%   { transform: translateX(-50%) translateY(0);   opacity: 1; }

  60%  { transform: translateX(-50%) translateY(10px); opacity: 0; }

  61%  { transform: translateX(-50%) translateY(0);   opacity: 0; }

  100% { transform: translateX(-50%) translateY(0);   opacity: 1; }

}

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

.footer-premium {

  background: radial-gradient(circle at 50% 100%, #0f224a 0%, #02050a 100%);

  color: #ffffff;

  padding: 8rem 0 2rem;

  position: relative;

  overflow: hidden;

  z-index: 6;

  min-height: 100vh;

  display: flex;

  flex-direction: column;

  justify-content: center;

}

#footer-webgl-canvas {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  z-index: 0;

  pointer-events: none;

}

.footer-glow {

  position: absolute;

  top: -20%;

  left: 50%;

  transform: translateX(-50%);

  width: 60vw;

  height: 60vw;

  background: radial-gradient(circle, rgba(26, 99, 255, 0.15) 0%, transparent 70%);

  pointer-events: none;

  z-index: 0;

}

.footer-premium .container {

  position: relative;

  z-index: 1;

}

.footer-premium .container.footer-content-layer {

  position: absolute !important;

  top: 50% !important;

  left: 50% !important;

  transform: translate(-50%, -50%) !important;

  width: calc(100% - 10vw) !important;

  max-width: 1320px !important;

  display: flex !important;

  justify-content: flex-end !important;

  pointer-events: none !important;

  z-index: 10 !important;

  margin: 0 !important;

  padding: 0 !important;

}

.footer-grid {

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 4rem;

  margin-bottom: 6rem;

}


.footer-brand h2 {

  font-size: clamp(3rem, 5vw, 5rem);

  line-height: 1.1;

  letter-spacing: -0.03em;

  margin-bottom: 2rem;

  background: linear-gradient(135deg, #ffffff 0%, #a0a5b5 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

}

.cta-magnetic {

  display: inline-flex;

  align-items: center;

  gap: 1rem;

  padding: 1.2rem 2.5rem;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 100px;

  color: #fff;

  text-decoration: none;

  font-weight: 500;

  font-size: 1.1rem;

  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  backdrop-filter: blur(10px);

}

.cta-magnetic:hover {

  background: #fff;

  color: #050A15;

  transform: translateY(-5px);

}

.cta-magnetic .arrow {

  font-size: 1.2rem;

  transition: transform 0.4s ease;

}

.cta-magnetic:hover .arrow {

  transform: translate(3px, -3px);

}

.footer-links {

  display: flex;

  gap: 4rem;

  justify-content: flex-end;

}


.link-group h4 {

  color: rgba(255, 255, 255, 0.4);

  font-family: var(--font-mono);

  font-size: 0.8rem;

  text-transform: uppercase;

  letter-spacing: 0.1em;

  margin-bottom: 1.5rem;

}

.link-group a,

.link-group p {

  display: block;

  color: #fff;

  text-decoration: none;

  font-size: 1.1rem;

  margin-bottom: 1rem;

  opacity: 0.8;

  transition: opacity 0.3s ease, transform 0.3s ease;

}

.link-group a:hover {

  opacity: 1;

  transform: translateX(5px);

}

.footer-massive-text {

  position: absolute;

  bottom: 12%;

  right: 5%;

  width: auto;

  text-align: right;

  z-index: 2;

  pointer-events: none;

  top: auto;

  left: auto;

  transform: none;

}

.footer-massive-text h1 {

  font-family: var(--font-sans);

  font-size: 9vw;

  line-height: 0.85;

  font-weight: 800;

  letter-spacing: -0.02em;

  color: rgba(255, 255, 255, 0.25);

  position: relative;

  margin: 0;

  text-transform: uppercase;

  white-space: nowrap;

}

.footer-bottom-bar {

  display: flex;

  justify-content: space-between;

  align-items: center;

  font-family: var(--font-mono);

  font-size: 0.85rem;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  color: rgba(255, 255, 255, 0.4);

}

.footer-bottom-bar button {

  background: none;

  border: none;

  color: rgba(255, 255, 255, 0.6);

  cursor: pointer;

  font-family: inherit;

  font-size: inherit;

  letter-spacing: inherit;

  text-transform: inherit;

  display: flex;

  align-items: center;

  gap: 0.5rem;

  transition: color 0.3s ease;

}

.footer-bottom-bar button:hover {

  color: #fff;

}

@media (max-width: 1024px) {

  .hero-inner,

  .narrative-inner {

    grid-template-columns: 1fr;

  }

  .legacy-row {

    grid-template-columns: 1fr;

    gap: 3rem;

  }

  .legacy-row.reverse .legacy-content {

    order: 1;

  }

  .legacy-row.reverse .legacy-image {

    order: 2;

  }

  .eco-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  .eco-header {

    flex-direction: column;

    align-items: flex-start;

    gap: 2rem;

  }

}


.custom-cursor {

  position: fixed;

  top: 0;

  left: 0;

  width: 12px;

  height: 12px;

  background: var(--text-dark);

  border-radius: 50%;

  pointer-events: none;

  z-index: 10000;

  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;

  mix-blend-mode: difference;

}

.custom-cursor.active {

  transform: scale(6);

  background: white;

}

section {

  will-change: auto;

}

.gsap-stagger {

  will-change: transform, opacity;

}

.footer-cta {

  display: inline-flex;

  align-items: center;

  gap: 1.5rem;

  background: var(--white);

  color: var(--text-dark);

  padding: 1rem 1rem 1rem 3rem;

  border-radius: 100px;

  font-size: 1.25rem;

  font-weight: 500;

  text-decoration: none;

  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

}

.footer-cta:hover {

  transform: scale(1.03);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

}

.cta-arrow {

  display: flex;

  align-items: center;

  justify-content: center;

  background: var(--bg-color);

  width: 50px;

  height: 50px;

  border-radius: 50%;

  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s;

}

.footer-cta:hover .cta-arrow {

  transform: translateX(5px);

}

body.dark-hero-active .hero h1,

body.dark-hero-active .hero h1 span.text-solid,

body.dark-hero-active .hero .hero-desc {

  color: var(--white) !important;

}

body.dark-hero-active .navbar .nav-links a,

body.dark-hero-active .navbar .nav-cta {

  color: var(--white) !important;

}

body.dark-hero-active .navbar .nav-logo img,

body.dark-hero-active .navbar .nav-logo img {

  filter: brightness(0) invert(1);

}

body.dark-hero-active .pill-blue {

  color: var(--white) !important;

  border-color: rgba(255, 255, 255, 0.3) !important;

}

.hero-bg-video {

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  z-index: 0;

  pointer-events: none;

  opacity: 1;



}


.hero-gradient-text {

  display: block;

  background: linear-gradient(135deg, #1a63ff 0%, #a450ff 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

}

.hero-white-gradient-text {

  display: block;

  background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

}

.footer-content-layer {

  pointer-events: none;

}

.footer-contact-card {

  pointer-events: auto;

  position: relative;

  width: 520px;

  padding: 3.5rem;

  border-radius: 36px;

  overflow: hidden;

  background: linear-gradient(145deg,

      rgba(38, 90, 220, 0.95) 0%,

      rgba(20, 55, 180, 0.98) 50%,

      rgba(12, 35, 130, 1) 100%);

  box-shadow:

    0 30px 80px rgba(0, 0, 0, 0.55),

    0 15px 40px rgba(0, 0, 0, 0.4),

    0 -2px 0 rgba(255, 255, 255, 0.12) inset,

    0 2px 0 rgba(0, 0, 0, 0.3) inset,

    inset 0 1px 0 rgba(255, 255, 255, 0.25),

    inset 0 -1px 0 rgba(0, 0, 0, 0.2);

  border: 1px solid rgba(255, 255, 255, 0.14);

  color: #fff;

  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),

    box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);

}

.footer-contact-card:hover {

  transform: translateY(-10px) scale(1.01);

  box-shadow:

    0 50px 110px rgba(0, 0, 0, 0.65),

    0 25px 50px rgba(0, 0, 0, 0.5),

    0 -2px 0 rgba(255, 255, 255, 0.14) inset,

    0 2px 0 rgba(0, 0, 0, 0.3) inset,

    inset 0 1px 0 rgba(255, 255, 255, 0.3),

    inset 0 -1px 0 rgba(0, 0, 0, 0.2);

}

.card-glow-blob {

  position: absolute;

  width: 280px;

  height: 280px;

  border-radius: 50%;

  background: radial-gradient(circle, rgba(120, 160, 255, 0.35) 0%, transparent 70%);

  top: -80px;

  right: -60px;

  pointer-events: none;

  animation: blobFloat 6s ease-in-out infinite alternate;

}

@keyframes blobFloat {

  from {

    transform: translate(0, 0) scale(1);

  }

  to {

    transform: translate(-20px, 20px) scale(1.1);

  }

}

.fcc-header {

  margin-bottom: 2.4rem;

  position: relative;

  z-index: 2;

}

.fcc-badge {

  display: inline-flex;

  align-items: center;

  gap: 0.5rem;

  padding: 0.35rem 1rem;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 100px;

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.85);

  margin-bottom: 1.2rem;

  backdrop-filter: blur(8px);

}

.fcc-badge::before {

  content: '';

  width: 6px;

  height: 6px;

  border-radius: 50%;

  background: #7dffb3;

  box-shadow: 0 0 8px #7dffb3;

  animation: pulse 2s ease-in-out infinite;

}

@keyframes pulse {

  0%,

  100% {

    opacity: 1;

    transform: scale(1);

  }

  50% {

    opacity: 0.5;

    transform: scale(0.8);

  }

}

.fcc-header h3 {

  font-size: 2.6rem;

  font-weight: 800;

  letter-spacing: -0.04em;

  line-height: 1.1;

  color: #fff;

  margin: 0 0 1rem;

}

.fcc-header h3 span {

  background: linear-gradient(135deg, #a5c4ff 0%, #d4aaff 100%);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  background-clip: text;

}

.fcc-tagline {

  font-size: 1rem;

  color: rgba(255, 255, 255, 0.55);

  line-height: 1.65;

  margin: 0;

}

.fcc-items {

  display: flex;

  flex-direction: column;

  gap: 0.75rem;

  position: relative;

  z-index: 2;

}

.fcc-item {

  display: flex;

  align-items: center;

  gap: 1.2rem;

  padding: 1.1rem 1.4rem;

  border-radius: 18px;

  text-decoration: none;

  color: #fff;

  background: rgba(255, 255, 255, 0.06);

  border: 1px solid rgba(255, 255, 255, 0.08);

  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;

}

.fcc-item:hover {

  background: rgba(255, 255, 255, 0.14);

  border-color: rgba(255, 255, 255, 0.2);

  transform: translateX(4px);

}

.fcc-icon {

  width: 50px;

  height: 50px;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.15);

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;

  transition: background 0.3s ease;

  box-shadow:

    inset 0 1px 0 rgba(255, 255, 255, 0.2),

    inset 0 -1px 0 rgba(0, 0, 0, 0.15),

    0 4px 12px rgba(0, 0, 0, 0.2);

}

.fcc-item:hover .fcc-icon {

  background: rgba(255, 255, 255, 0.22);

}

.fcc-icon svg {

  width: 22px;

  height: 22px;

  color: rgba(255, 255, 255, 0.9);

  animation: iconIdle 4s ease-in-out infinite;

}

.fcc-item:nth-child(1) .fcc-icon svg {

  animation: phoneRing 2.5s ease-in-out infinite;

  animation-delay: 0.2s;

}

@keyframes phoneRing {

  0%,

  100% {

    transform: rotate(0deg) scale(1);

  }

  10% {

    transform: rotate(-15deg) scale(1.05);

  }

  20% {

    transform: rotate(15deg) scale(1.05);

  }

  30% {

    transform: rotate(-10deg) scale(1);

  }

  40% {

    transform: rotate(10deg) scale(1);

  }

  50% {

    transform: rotate(0deg) scale(1);

  }

}

.fcc-item:nth-child(2) .fcc-icon svg {

  animation: emailBounce 2.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;

  animation-delay: 0.6s;

}

@keyframes emailBounce {

  0%,

  100% {

    transform: translateY(0) scale(1);

  }

  20% {

    transform: translateY(-6px) scale(1.1);

  }

  40% {

    transform: translateY(0) scale(0.95);

  }

  55% {

    transform: translateY(-3px) scale(1.04);

  }

  70% {

    transform: translateY(0) scale(1);

  }

}

.fcc-item:nth-child(3) .fcc-icon svg {

  animation: pinPulse 2.2s ease-in-out infinite;

  animation-delay: 1s;

}

@keyframes pinPulse {

  0%,

  100% {

    transform: scale(1) translateY(0);

  }

  30% {

    transform: scale(1.2) translateY(-3px);

  }

  60% {

    transform: scale(0.9) translateY(2px);

  }

  80% {

    transform: scale(1.05) translateY(-1px);

  }

}

.fcc-item:nth-child(4) .fcc-icon svg {

  animation: globeSpin 6s linear infinite;

  animation-delay: 0s;

}

@keyframes globeSpin {

  from {

    transform: rotate(0deg);

  }

  to {

    transform: rotate(360deg);

  }

}

@keyframes iconIdle {

  0%,

  100% {

    transform: translateY(0);

  }

  50% {

    transform: translateY(-3px);

  }

}

.fcc-item:hover .fcc-icon {

  box-shadow:

    inset 0 1px 0 rgba(255, 255, 255, 0.35),

    inset 0 -1px 0 rgba(0, 0, 0, 0.2),

    0 6px 20px rgba(0, 0, 0, 0.35),

    0 0 0 2px rgba(255, 255, 255, 0.15);

}

.fcc-item:hover .fcc-icon svg {

  animation: iconPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;

  color: #ffffff;

}

@keyframes iconPop {

  0% {

    transform: scale(1);

  }

  35% {

    transform: scale(1.35);

  }

  65% {

    transform: scale(0.88);

  }

  100% {

    transform: scale(1);

  }

}

.fcc-item-text {

  display: flex;

  flex-direction: column;

  gap: 0.25rem;

  min-width: 0;

}

.fcc-label {

  font-size: 0.68rem;

  font-weight: 700;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.4);

  font-family: var(--font-mono);

}

.fcc-value {

  font-size: 1.05rem;

  font-weight: 500;

  color: rgba(255, 255, 255, 0.92);

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;

  letter-spacing: -0.01em;

}

@media (max-width: 1024px) {

  .footer-content-layer {

    position: relative;

    bottom: auto;

    right: auto;

    justify-content: center;

    padding: 4rem 2rem 2rem;

    pointer-events: auto;

  }

  .footer-contact-card {

    width: 100%;

    max-width: 560px;

  }

}

.nav-logo:hover .logo-mark {

  transform: rotate(180deg) scale(1.1);

}


/* ============================================================
   HAMBURGER NAV
   ============================================================ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  color: var(--text-dark);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}
body.dark-hero-active .nav-hamburger { color: var(--white); }
body.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 14, 23, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}
body.nav-open .nav-mobile-overlay {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open { overflow: hidden; }

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  gap: 0.75rem;
  padding: 6rem 2rem 4rem;
}
.nmo-link {
  font-size: clamp(1.8rem, 8vw, 2.4rem);
  font-weight: 400; /* Light and elegant weight */
  color: #fff;
  opacity: 0.7;
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}
.nmo-link:active { 
  opacity: 1;
  color: #fff;
  transform: scale(1.05); 
}
.nmo-cta {
  opacity: 0;
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 1.1rem 3rem;
  background: var(--white); /* Changed to white for premium contrast */
  color: var(--text-dark);
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nmo-cta:active { transform: scale(0.96); }

@keyframes slideInLink {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.nav-open .nmo-link:nth-child(1) { animation: slideInLink 0.45s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both; }
body.nav-open .nmo-link:nth-child(2) { animation: slideInLink 0.45s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
body.nav-open .nmo-link:nth-child(3) { animation: slideInLink 0.45s 0.22s cubic-bezier(0.16, 1, 0.3, 1) both; }
body.nav-open .nmo-link:nth-child(4) { animation: slideInLink 0.45s 0.29s cubic-bezier(0.16, 1, 0.3, 1) both; }
body.nav-open .nmo-cta              { animation: slideInLink 0.45s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both; }


/* ============================================================
   CARD SCROLL ARROW (desktop: hidden; mobile: animated chevron)
   ============================================================ */
.card-scroll-arrow { display: none; }

@keyframes scrollArrow {
  0%, 100% { transform: translateY(0);   opacity: 0.45; }
  50%       { transform: translateY(6px); opacity: 0.9;  }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-mobile-overlay { display: block; }
  .navbar .nav-cta { display: none; }


  body, html {

    overflow-x: clip;

  }

  section {

    will-change: auto !important;

  }

  .container {

    padding: 0 6vw; 

  }

  .navbar {

    padding: 1.5rem 6vw;

  }

  .nav-links {

    display: none; 

  }

  .nav-cta {

    font-size: 0.9rem;

    padding: 0.5rem 1rem;

  }

  .hero {

    min-height: 100vh;

    display: flex;

    align-items: center; 

    justify-content: center;

    padding-top: 0;

  }

  .hero-inner {

    align-items: center !important;

    text-align: center !important;

    margin-top: -8vh !important; 

  }

  .hero-title {

    font-size: clamp(2.5rem, 11vw, 3.2rem); 

    line-height: 1.15;

    margin-bottom: 1.5rem;

    display: flex;

    flex-direction: column; 

    gap: 0.2rem;

  }

  .hero-desc {

    font-size: 1.1rem;

    line-height: 1.6;

    text-align: center;

    max-width: 95%;

  }

  .hero .float-cell {

    display: none; 

  }

  .hero .fc-1, .hero .fc-complex, .hero .fc-4, .hero .fc-3 {

    display: block !important;

    opacity: 0.45 !important;

    pointer-events: none;

    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4)) !important;

  }

  .hero .fc-2, .hero .fc-5 { display: none !important; }

  .fc-1 { width: 38vw; top: 58% !important; bottom: auto !important; left: auto !important; right: 4%; }

  .fc-complex { width: 55vw; top: 10% !important; left: 8% !important; right: auto !important; }

  .fc-4 { width: 26vw; top: 46%; left: 4%; }

  .fc-3 { width: 24vw; top: 43% !important; right: 4% !important; bottom: auto !important; }

  .brands-header, .horizontal-header, .clients-header {

    flex-direction: column !important;

    align-items: flex-start !important;

    gap: 1.5rem !important;

    padding-bottom: 2rem !important;

  }

  .brands-title, .horizontal-title {

    max-width: 100% !important;

  }

  .brands-desc, .horizontal-desc {

    max-width: 100% !important;

    padding-bottom: 0 !important;

  }

  .brands-section {

    min-height: auto !important; 

    display: block !important; 

    padding: 4rem 0 3rem !important;

  }

  .brands-grid {

    grid-template-columns: repeat(2, 1fr) !important;

    gap: 1rem;

  }

  .brand-tile {

    padding: 2rem 1.5rem;

  }

  .brand-tile img {

    max-height: 45px;

  }

  .scroll-hint {

    display: none !important; 

  }

  .horizontal-sticky {

    height: auto !important;

    padding: 3rem 0 1.5rem;

    overflow: visible !important; 

  }

  .horizontal-track {

    flex-direction: column;

    padding: 0 6vw;

    width: 100% !important;

    transform: none !important;

    will-change: auto !important;

    gap: 2rem;

    padding-bottom: 0 !important;

  }

  .horizontal-card {

    width: 100%;

    height: auto;

    grid-template-columns: 1fr;

    margin-right: 0;

    position: sticky;

    border-radius: 28px;

    box-shadow: 0 -20px 40px rgba(0,0,0,0.06);

    transition: transform 0.3s ease;

  }

  .horizontal-card:nth-child(1) { top: 80px; }

  .horizontal-card:nth-child(2) { top: 96px; }

  .horizontal-card:nth-child(3) { top: 112px; }

  .horizontal-card:nth-child(4) { top: 128px; }

  .hc-img {

    height: 220px;

  }

  .hc-content {

    padding: 2rem;

  }

  .hc-content h3 {

    font-size: 1.75rem;

  }

  .hc-index {

    margin-bottom: 1rem;

  }

  .legacy-row {

    grid-template-columns: 1fr;

    gap: 2.5rem;

    margin-bottom: 2rem;

  }

  .legacy-row.reverse .legacy-content,

  .legacy-row.reverse .legacy-image {

    order: 0; 

  }

  .legacy-content h2 {

    font-size: clamp(2.2rem, 8vw, 2.8rem);

  }

  .legacy-section {
    padding: 4vh 0 0 !important;
  }

  .clients-section {

    overflow: visible !important;

  }

  .clients-section .container {
    overflow: visible !important;
  }

  .clients-title {

    font-size: clamp(2.5rem, 10vw, 3.2rem);

  }

  .clients-stats {

    flex-direction: row; 

    gap: 0;

    margin-top: 0;

    justify-content: space-between;

  }

  .clients-stat {

    flex: 1;

    padding: 1.5rem 0.5rem;

    align-items: center; 

    text-align: center;

  }

  .stat-num {

    font-size: clamp(1.6rem, 7vw, 2.2rem);

  }

  .stat-label {

    font-size: 0.62rem;

    letter-spacing: 0.1em;

  }

  .clients-stat-divider {

    display: block; 

    height: 40px;

    width: 1px;

    align-self: center;

  }

  .clients-header {

    padding-top: 5vh !important;

  }

  .clients-logo-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 70vh; /* Room for GMC to stack while footer is visible */
    margin-bottom: -65vh; /* Pulls footer high up to meet the last 2-3 cards */
  }

  .client-logo-item {
    position: sticky;
    min-height: 210px;
    padding: 2.2rem 1.5rem 1.8rem;
    border-radius: 28px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 -12px 30px rgba(0,0,0,0.08); /* Premium subtle top shadow */
    gap: 1rem;
    display: grid;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    will-change: transform, top;
  }

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

  .client-logo-item:nth-child(1) { top: 50px;  z-index: 11; }
  .client-logo-item:nth-child(2) { top: 58px;  z-index: 12; }
  .client-logo-item:nth-child(3) { top: 66px;  z-index: 13; }
  .client-logo-item:nth-child(4) { top: 74px;  z-index: 14; }
  .client-logo-item:nth-child(5) { top: 82px;  z-index: 15; }
  .client-logo-item:nth-child(6) { top: 90px;  z-index: 16; }

  .client-logo-item img {
    max-height: 90px;
    max-width: 160px;
  }

  .client-logo-item.logo-lg img {
    max-height: 100px;
    max-width: 180px;
  }

  .client-logo-item.logo-lg {
    padding: 1.5rem 1.5rem 1rem; 
    gap: 1rem;
  }

  .hero-scroll-indicator {

    bottom: 5rem; 

  }

  .footer-premium {

    padding: 4rem 0 3rem !important;

    min-height: auto !important;

  }

  .footer-premium .container.footer-content-layer {

    width: 100% !important;

    padding: 0 6vw !important;

    justify-content: center !important;

    position: relative !important;

    transform: none !important;

    top: auto !important;

    left: auto !important;

    margin-top: 2rem !important;

    pointer-events: auto !important;

  }

  .footer-contact-card {

    padding: 2.5rem 1.5rem;

    width: 100%;

    max-width: 100%;

  }

  .footer-massive-text {

    position: relative !important;

    bottom: auto !important;

    right: auto !important;

    top: auto !important;

    left: auto !important;

    transform: none !important;

    text-align: center;

    margin-top: 2rem;

    padding-bottom: 2rem;

  }

  .footer-massive-text h1 {

    font-size: 14vw !important;

    white-space: normal !important;

    color: rgba(255, 255, 255, 0.12) !important;

    line-height: 0.9;

  }

  .fcc-items {

    flex-direction: column;

    gap: 1.2rem;

  }

  .fcc-item {

    width: 100%;

    gap: 1rem;

  }

  .fcc-value {

    font-size: 0.95rem; 

  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
  .eco-grid {
    grid-template-columns: 1fr;
  }
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cb-large,
  .cb-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Card scroll arrows — show on mobile, hide on last card */
  .card-scroll-arrow {
    display: flex;
    justify-content: center;
    padding-top: 1.25rem;
    color: rgba(0, 0, 0, 0.22);
  }
  .card-scroll-arrow svg {
    width: 20px;
    height: 20px;
    animation: scrollArrow 2s ease-in-out infinite;
  }
  .horizontal-card:last-child .card-scroll-arrow { display: none; }
}

/* ============================================================
   VERY SMALL SCREENS (iPhone SE, Galaxy A, 320px-390px)
   ============================================================ */
@media (max-width: 390px) {
  .hero-title {
    font-size: clamp(1.9rem, 10vw, 2.4rem);
  }
  .brand-tile {
    padding: 1.2rem 0.8rem;
  }
  .brand-tile img {
    max-height: 36px;
  }
  .hc-content {
    padding: 1.5rem;
  }
  .hc-content h3 {
    font-size: 1.5rem;
  }
  .fcc-header h3 {
    font-size: 2rem;
  }
  .fcc-value {
    white-space: normal;
    word-break: break-word;
  }
  .clients-title {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .footer-massive-text h1 {
    font-size: 18vw !important;
  }
}

/* ============================================================
   REDUCED MOTION (accessibility)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .hsi-dot,
  .card-glow-blob,
  .fcc-badge::before,
  .nav-cta::before,
  .fcc-icon svg,
  .fcc-item:nth-child(1) .fcc-icon svg,
  .fcc-item:nth-child(2) .fcc-icon svg,
  .fcc-item:nth-child(3) .fcc-icon svg,
  .fcc-item:nth-child(4) .fcc-icon svg,
  .nmo-link,
  .nmo-cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .footer-contact-card,
  .brand-tile,
  .client-logo-item,
  .fcc-item,
  .legacy-image img,
  .nav-hamburger span,
  .nav-mobile-overlay {
    transition: none !important;
  }
}
