/* ============================================================
   Social 101 — V2 Fun & Quirky Design System
   Gilroy + Outfit | Playful, bold, friendly
   ============================================================ */

@import url('https://fonts.cdnfonts.com/css/gilroy-free');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Core palette — Brown + Orange + Navy + Beige */
  --brown: #5C3317;
  --brown-light: #8B5E3C;
  --orange: #C4531A;
  --orange-light: #DF7545;
  --orange-pale: #FBF0E8;
  --navy: #1C2B4A;
  --navy-light: #2E4272;
  --beige: #F2EAD8;
  --beige-mid: #E5D9C3;
  --beige-dark: #C8B89A;
  --dark: #0F0A06;
  --dark2: #1E130C;
  --mid: #6B5244;
  --muted: #9A8070;
  --light: #FAF6EE;
  --white: #FFFEF9;
  --border: #E8DCC8;

  /* Typography */
  --font-head: 'Gilroy-ExtraBold', 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;

  /* Sizing */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 100px;

  /* Easing */
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
}

/* ============================================================
   Lucide Icon helpers
   ============================================================ */
.lucide {
  width: 20px; height: 20px;
  stroke-width: 1.75;
  flex-shrink: 0;
  display: block;
}
.icon-sm .lucide { width: 16px; height: 16px; }
.icon-md .lucide { width: 24px; height: 24px; }
.icon-lg .lucide { width: 32px; height: 32px; }
.icon-xl .lucide { width: 44px; height: 44px; stroke-width: 1.5; }
.icon-2xl .lucide { width: 56px; height: 56px; stroke-width: 1.25; }

/* Icon container box */
.icon-box {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
}
.icon-box-sm {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box-orange { background: rgba(196,83,26,0.1); color: var(--orange); }
.icon-box-white { background: rgba(255,255,255,0.15); color: white; }
.icon-box-dark { background: rgba(15,10,6,0.08); color: var(--dark); }
.icon-box-yellow { background: rgba(92,51,23,0.08); color: var(--brown); }

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: none; }

/* ============================================================
   Custom Cursor
   ============================================================ */
#cursor {
  position: fixed; top: 0; left: 0;
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--bounce), height 0.2s var(--bounce), background 0.2s;
  will-change: transform;
}
#cursor-follower {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--bounce), height 0.3s var(--bounce), opacity 0.3s;
  will-change: transform;
  opacity: 0.5;
}
body:hover #cursor-follower { opacity: 1; }
#cursor.expanded { width: 60px; height: 60px; background: var(--beige-dark); }
@media (hover: none), (pointer: coarse) { #cursor, #cursor-follower { display: none !important; } }
#cursor.expanded + #cursor-follower { opacity: 0; }

/* ============================================================
   Page Transition
   ============================================================ */
#page-transition {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 99990;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-in);
  pointer-events: none;
}
#page-transition.out {
  transform: scaleY(1);
  transform-origin: bottom;
}
#page-transition.in {
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 0.5s var(--ease-out);
}
#page-transition.done {
  transform: scaleY(0);
  transform-origin: top;
}

/* ============================================================
   Loader
   ============================================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 99995;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.5s, transform 0.6s var(--ease-in);
}
#loader.hidden { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.loader-logo {
  font-family: var(--font-head);
  font-size: 2rem;
  color: white;
  letter-spacing: -0.03em;
}
.loader-logo span { color: var(--orange); }
.loader-bar {
  width: 160px; height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  overflow: hidden;
}
.loader-bar-inner {
  height: 100%; width: 0;
  background: var(--orange);
  border-radius: 100px;
  transition: width 0.4s var(--ease-out);
}

/* ============================================================
   Progress Bar
   ============================================================ */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; will-change: transform;
  background: var(--orange);
  z-index: 9999;
  border-radius: 0 3px 3px 0;
}

/* ============================================================
   Navigation
   ============================================================ */
nav {
  position: fixed; top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.94);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 10px 16px 10px 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: all 0.4s var(--ease-out);
  white-space: nowrap;
}
nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-right: 8px;
}
.nav-logo span { color: var(--orange); }
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--mid);
  padding: 7px 14px;
  border-radius: var(--r-full);
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active { background: var(--light); color: var(--dark); }
.nav-cta {
  background: var(--orange);
  color: white;
  font-size: 0.82rem; font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--r-full);
  border: 2px solid var(--orange);
  transition: all 0.3s var(--bounce);
  margin-left: 6px;
  display: flex; align-items: center; gap: 6px;
}
.nav-cta:hover {
  background: white;
  color: var(--orange);
  transform: scale(1.04);
}
.nav-menu-btn {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 8px;
  cursor: none;
}
.nav-menu-btn span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: white;
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-close {
  position: absolute; top: 28px; right: 28px;
  background: none; border: none; color: white;
  font-size: 1.5rem; cursor: none;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container {
  max-width: 1200px; margin: 0 auto;
  padding: 0 40px;
}
.section { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.section-sm { padding: 60px 40px; max-width: 1200px; margin: 0 auto; }

/* ============================================================
   Reveal Animations
   ============================================================ */
[data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.9); }
[data-reveal].visible {
  opacity: 1; transform: none;
}
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }
[data-delay="6"] { transition-delay: 0.6s; }

/* ============================================================
   Typography helpers
   ============================================================ */
.label-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}
.section-eyebrow {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 12px;
}
h1, h2, h3, h4, h5 { font-family: var(--font-head); letter-spacing: -0.02em; }
.display-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.display-title .accent { color: var(--orange); }
.display-title .italic { font-style: italic; }
.display-title .wavy {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: var(--beige-dark);
  text-underline-offset: 6px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--dark);
}
.body-lg { font-size: 1.1rem; line-height: 1.75; color: var(--mid); font-weight: 400; }
.body-md { font-size: 0.95rem; line-height: 1.7; color: var(--mid); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r-full);
  border: 2px solid transparent;
  cursor: none;
  transition: all 0.3s var(--bounce);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange); color: white; border-color: var(--orange);
}
.btn-primary:hover {
  background: white; color: var(--orange);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 32px rgba(196,83,26,0.3);
}
.btn-outline {
  background: transparent; color: var(--dark); border-color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark); color: white;
  transform: translateY(-3px);
}
.btn-ghost {
  background: var(--light); color: var(--dark); border-color: var(--light);
}
.btn-ghost:hover { background: var(--dark); color: white; }
.btn-lg { padding: 18px 36px; font-size: 1rem; }
.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-icon { width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 50%; }

/* ============================================================
   Fun sticker / badge elements
   ============================================================ */
.sticker {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--beige);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: var(--r-full);
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.15);
}
.sticker-orange { background: var(--orange); color: white; }
.sticker-pink { background: var(--brown); color: white; transform: rotate(1.5deg); }
.sticker-purple { background: var(--navy); color: white; transform: rotate(-1deg); }

.fun-badge {
  position: absolute;
  background: var(--beige);
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 0.7rem;
  padding: 8px 12px;
  border-radius: 12px;
  transform: rotate(6deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,0.12);
  pointer-events: none;
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee-wrap {
  overflow: hidden;
  background: var(--dark);
  padding: 18px 0;
  border-top: 2px solid rgba(255,255,255,0.08);
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; gap: 20px;
  padding: 0 30px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.marquee-item span { color: var(--orange); font-size: 1.1rem; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Card styles
   ============================================================ */
.card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  transition: all 0.4s var(--bounce);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
  border-color: var(--orange);
}
.card-fun {
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--bounce);
}
.card-fun:hover { transform: translateY(-8px) rotate(-0.5deg); }

.emoji-icon {
  font-size: 2rem;
  width: 60px; height: 60px;
  background: var(--orange-pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s var(--bounce);
}
.card:hover .emoji-icon { transform: scale(1.15) rotate(5deg); }

/* ============================================================
   Stats
   ============================================================ */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stat-box {
  background: white;
  padding: 40px 32px;
  text-align: center;
  transition: background 0.3s;
}
.stat-box:hover { background: var(--orange-pale); }
.stat-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   Forms
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label {
  display: block;
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  transition: all 0.25s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(255,69,0,0.08);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-select { appearance: none; cursor: none; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--dark);
  color: white;
  padding: 80px 60px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  display: inline-block;
}
.footer-logo span { color: var(--orange); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-col h5 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }
.footer-col ul li { font-size: 0.88rem; color: rgba(255,255,255,0.4); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  transition: all 0.3s var(--bounce);
}
.social-btn:hover { background: var(--orange); color: white; transform: scale(1.15); }

/* ============================================================
   Accordion
   ============================================================ */
.accordion-item {
  border-bottom: 1.5px solid var(--border);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--dark);
  cursor: none;
  text-align: left;
  gap: 20px;
}
.accordion-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: transform 0.3s var(--bounce), background 0.3s;
}
.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  background: var(--orange);
  color: white;
}
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.accordion-body-inner {
  padding: 0 0 28px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--mid);
}

/* ============================================================
   Page Hero
   ============================================================ */
.page-hero {
  padding: 160px 60px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  transition: all 0.6s var(--ease-out) 0.2s;
}
.page-hero-label.visible { opacity: 1; transform: translateY(0); }
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--dark);
  opacity: 0; transform: translateY(30px);
  transition: all 0.8s var(--ease-out) 0.35s;
}
.page-hero-title.visible { opacity: 1; transform: translateY(0); }
.page-hero-title .accent { color: var(--orange); }
.page-hero-title .italic { font-style: italic; }
.page-hero-sub {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--mid);
  max-width: 600px;
  margin-top: 24px;
  opacity: 0; transform: translateY(20px);
  transition: all 0.7s var(--ease-out) 0.5s;
}
.page-hero-sub.visible { opacity: 1; transform: translateY(0); }
.page-hero-divider {
  height: 1.5px;
  background: linear-gradient(90deg, var(--orange), transparent);
  margin-top: 60px;
  opacity: 0.25;
}

/* ============================================================
   Wobbly tag / chip
   ============================================================ */
.tag {
  display: inline-flex; align-items: center;
  background: var(--light);
  color: var(--mid);
  font-size: 0.78rem; font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
  transition: all 0.3s var(--bounce);
}
.tag:hover { background: var(--orange-pale); color: var(--orange); transform: scale(1.05); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .section, .section-sm { padding-left: 24px; padding-right: 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  footer { padding: 60px 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { max-width: calc(100vw - 32px); }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .page-hero { padding: 140px 24px 60px; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Logo images (header / footer / loader) — no layout shift
   ============================================================ */
.nav-logo.has-logo-img, .footer-logo.has-logo-img, .loader-logo-link.has-logo-img {
  display: inline-flex; align-items: center; line-height: 0;
}
.nav-logo img, .footer-logo img, .loader-logo img {
  display: block; width: auto; height: auto; max-width: none;
}
.nav-logo img { height: 44px; max-width: 160px; object-fit: contain; }
.footer-logo.has-logo-img { margin-bottom: 20px; }
.footer-logo img { height: 72px; max-width: 220px; object-fit: contain; }
.loader-logo img { height: 80px; max-width: 260px; object-fit: contain; }
.loader-logo-link { color: inherit; }
@media (max-width: 640px) {
  .nav-logo img { height: 36px; max-width: 120px; }
  .footer-logo img { height: 60px; }
}

/* ============================================================
   Client logo carousel
   - every logo sits in an identical tile
   - normal: soft grayscale   |  hover: original colours
   (to show original colours always, set --client-idle-filter: none)
   ============================================================ */
.client-carousel {
  --client-tile-w: 220px;
  --client-tile-h: 110px;
  --client-gap: 20px;
  --client-row-gap: 15px;
  --client-idle-filter: grayscale(1) contrast(1.05);
  --client-idle-opacity: 0.6;
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.client-carousel.is-dragging { cursor: grabbing; }
.client-track {
  display: flex; align-items: center;
  gap: var(--client-gap);
  width: max-content;
  margin-bottom: var(--client-row-gap);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout style;
}
.client-track:last-child { margin-bottom: 0; }
.client-logo {
  flex: 0 0 var(--client-tile-w);
  width: var(--client-tile-w); height: var(--client-tile-h);
  display: flex; align-items: center; justify-content: center;
  padding: 10px 14px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  transition: border-color .3s, transform .3s var(--bounce);
  contain: layout paint;
}
.client-logo img {
  display: block;
  max-width: 100%; max-height: 100%;
  width: 100%; height: 100%;
  object-fit: contain;
  filter: var(--client-idle-filter);
  opacity: var(--client-idle-opacity);
  transition: filter .35s ease, opacity .35s ease, transform .35s var(--ease-out);
  pointer-events: none;
}
.client-logo:hover { border-color: var(--orange-light); transform: translateY(-3px); }
.client-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
/* touch screens have no hover: show original colours */
@media (hover: none) {
  .client-carousel { --client-idle-filter: none; --client-idle-opacity: 1; }
}
.client-logo--text span {
  font-family: var(--font-head); font-size: .95rem; color: var(--mid);
  text-align: center; line-height: 1.25; transition: color .3s;
}
.client-logo--text:hover span { color: var(--orange); }
@media (max-width: 960px) {
  .client-carousel { --client-tile-w: 184px; --client-tile-h: 92px; --client-gap: 14px; }
}
@media (max-width: 640px) {
  .client-carousel { --client-tile-w: 150px; --client-tile-h: 76px; --client-gap: 10px; --client-row-gap: 10px; }
  .client-logo { padding: 8px 10px; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .client-logo, .client-logo img { transition: none; }
}
