/* ============================================================
   BIKEBEAR CLONE â€” styles.css (Exact Match Rebuild)
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --main-color: #1abc9c;
  --black: #212121;
  --white: #ffffff;
  --dark: #111111;
  --gray-text: #888888;
  --font-head: 'Barlow Condensed', 'Barlow', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.87, 0, 0.13, 1);
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--main-color);
  color: var(--black);
  overflow-x: hidden;
  cursor: none;
}

/* Smooth scroll handled by Lenis */
html.lenis {
  height: auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: none;
  font-family: inherit;
}

em {
  font-style: italic;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--main-color);
}

::-webkit-scrollbar-thumb {
  background: var(--black);
  border-radius: 10px;
}

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.ll-bike {
  color: var(--white);
}

.ll-bear {
  color: var(--main-color);
}

.loader-bar-wrap {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto 14px;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--main-color);
  border-radius: 10px;
  transition: width 0.1s ease;
}

.loader-percent {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #666;
  letter-spacing: 0.1em;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s, border-color 0.35s;
  will-change: transform;
  overflow: hidden;
}

.cursor-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  opacity: 0;
  color: var(--white);
  white-space: nowrap;
  transition: opacity 0.2s;
  pointer-events: none;
}

/* Cursor states */
body.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
}

body.cursor-hover .cursor-ring {
  width: 70px;
  height: 70px;
  border-color: var(--black);
}

body.cursor-view .cursor-ring {
  width: 90px;
  height: 90px;
  background: var(--black);
  border-color: var(--black);
}

body.cursor-view .cursor-text {
  opacity: 1;
  color: var(--main-color);
}

body.cursor-view .cursor-dot {
  opacity: 0;
}

/* On dark backgrounds */
.intro .cursor-dot,
.work .cursor-dot {
  mix-blend-mode: difference;
}

/* ============================================================
   PILL BUTTON
   ============================================================ */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 30px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease-out), color 0.35s, transform 0.25s;
  cursor: none;
  width: 221px;
}

.pill-btn--dark {
  border: 2px solid var(--black);
  color: var(--black);
  background: transparent;
}

.pill-btn--dark:hover {
  background: var(--black);
  color: var(--main-color);
  transform: scale(1.04);
}

.pill-btn--light {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.pill-btn--light:hover {
  background: var(--main-color);
  color: var(--black);
  border-color: var(--main-color);
  transform: scale(1.04);
}

/* ============================================================
   SECTION TAG
   ============================================================ */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff7;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.section-tag--light {
  color: #555;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  transition: padding 0.4s var(--ease-out), background 0.4s;
}

.header.scrolled {
  background: var(--main-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 48px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.nav-open {
  background: transparent !important;
  box-shadow: none !important;
}

.header-logo {
  position: relative;
  z-index: 600;
}

.logo-link {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  display: flex;
}

.logo-bike {
  color: var(--black);
}

.logo-bear {
  color: var(--black);
}

/* changes to main-color on dark bg via JS */

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 600;
}

/* Menu Button */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 2px solid var(--black);
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  cursor: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.menu-btn:hover {
  background: var(--black);
  color: var(--main-color);
}

.menu-btn:hover .menu-line {
  background: var(--main-color);
}

.menu-btn-inner {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 22px;
}

.menu-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.4s var(--ease-inout), opacity 0.3s, background 0.3s, width 0.3s;
}

.menu-label {
  transition: opacity 0.3s;
}

/* Open state */
.header.nav-open .menu-btn {
  border-color: var(--black);
  background: transparent;
  color: var(--black);
}

.header.nav-open .menu-line {
  background: var(--black);
}

.header.nav-open .menu-line.top {
  transform: translateY(7px) rotate(45deg);
}

.header.nav-open .menu-line.mid {
  opacity: 0;
  transform: scaleX(0);
}

.header.nav-open .menu-line.bot {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   NAV OVERLAY
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 490;
  visibility: hidden;
  pointer-events: none;
}

.nav-bg {
  position: absolute;
  inset: 0;
  background: var(--white);
  border: 6px solid var(--main-color);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.7s var(--ease-inout);
  will-change: transform;
}

.nav-overlay.open {
  visibility: visible;
  pointer-events: all;
}

.nav-overlay.open .nav-bg {
  transform: scaleY(1);
}

.nav-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 120px 60px 60px;
  gap: 40px;
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
  align-items: center;
}

.nav-overlay.open .nav-content {
  opacity: 1;
}

/* Nav links */
.nav-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.nav-item {
  overflow: hidden;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 44px;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--black);
  position: relative;
  transition: color 0.3s;
  overflow: hidden;
  min-width: 60%;
}

.nav-link::before {
  content: attr(data-num);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: #bbb;
  letter-spacing: 0.05em;
  min-width: 22px;
  flex-shrink: 0;
}

.nav-link-inner {
  display: block;
  position: relative;
  transition: transform 0.45s var(--ease-out);
  transform: translateY(0);
}

.nav-link:hover .nav-link-inner {
  transform: translateX(12px);
}

.nav-link:hover::before {
  background-color: var(--main-color);
  font-size: 38px;
  font-weight: 900;
  border-radius: 50%;
  color: var(--black);
  min-width: 60px;
  text-align: center;
  transition: 0.4s all linear;
}

.nav-link:hover {
  color: var(--main-color);
}

.nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 100px;
  width: calc(100% - 100px);
  height: 2px;
  background: var(--main-color);
  transform: scaleX(1);
  transition: 0.4s linear all;
}

/* nav-item reveal stagger */
.nav-item {
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s ease;
}

.nav-overlay.open .nav-item:nth-child(1) {
  transition-delay: 0.35s;
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.open .nav-item:nth-child(2) {
  transition-delay: 0.40s;
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.open .nav-item:nth-child(3) {
  transition-delay: 0.45s;
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.open .nav-item:nth-child(4) {
  transition-delay: 0.50s;
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.open .nav-item:nth-child(5) {
  transition-delay: 0.55s;
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.open .nav-item:nth-child(6) {
  transition-delay: 0.60s;
  transform: translateY(0);
  opacity: 1;
}

.nav-footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: auto;
  padding-top: 32px;
  opacity: 0;
  transition: opacity 0.4s ease 0.6s;
}

.nav-overlay.open .nav-footer-links {
  opacity: 1;
}

.nav-footer-links a {
  color: #777;
  transition: color 0.3s;
}

.nav-footer-links a:hover {
  color: var(--black);
}

.nav-socials {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  opacity: 0;
  transition: opacity 0.4s ease 0.65s;
}

.nav-overlay.open .nav-socials {
  opacity: 1;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #444;
  border: 1.5px solid #ccc;
  border-radius: 50%;
  transition: all 0.3s;
}

.nav-social:hover {
  background: var(--black);
  color: var(--main-color);
  border-color: var(--black);
}

/* ============================================================
   FOOTER SOCIALS
   ============================================================ */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
}

.footer-social:hover {
  border-color: var(--main-color);
  color: var(--main-color);
  transform: translateY(-2px);
}

/* Nav badge */
.nav-right {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  justify-content: center;
  min-width: 260px;
  width: 100%;
}

.nav-badge {
  opacity: 0;
  transform: scale(0.85) rotate(-8deg);
  transition: opacity 0.5s ease 0.5s, transform 0.5s var(--ease-out) 0.5s;
  cursor: none;
}

.nav-overlay.open .nav-badge {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.nav-badge-circle {
  position: relative;
  width: clamp(240px, 20vw, 290px);
  height: clamp(240px, 20vw, 290px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--main-color);
  transition: transform 0.4s var(--ease-out);
}

.nav-badge-circle:hover {
  transform: rotate(15deg) scale(1.05);
}

.badge-rotate-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 15s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.nav-badge-bear {
  width: 55%;
  height: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-badge-bear img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.hero-text-row {
  width: 100%;
  text-align: center;
  overflow: hidden;
  line-height: 0.9;
}

.hero-word {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(5rem, 14vw, 15rem);
  text-transform: uppercase;
  color: var(--black);
  line-height: 0.88;
  letter-spacing: -0.03em;
  display: block;

  /* GSAP will animate from below */
  will-change: transform, opacity;
}

.hero-center-row {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 12px 0;
  gap: 16px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--black);
  border-radius: 100px;
  padding: 7px 22px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
}

.hero-bear-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bear {
  width: clamp(740px, 100vw, 540px);
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 2;
  transform: translateY(60px);
  opacity: 0;
  animation: none;
  /* GSAP handles this */
  will-change: transform, opacity;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.2));
}

/* Hero ticker */
.hero-ticker-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 2px solid var(--black);
  overflow: hidden;
  z-index: 5;
}

.ticker-inner {
  overflow: hidden;
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.ticker-track span {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--main-color);
  padding-right: 0;
}

/* ============================================================
   MARQUEE ANIMATIONS
   ============================================================ */
@keyframes toleft {
  0% {
    transform: translate(0%);
  }

  100% {
    transform: translate(-50%);
  }
}

@keyframes toright {
  0% {
    transform: translate(-50%);
  }

  100% {
    transform: translate(0%);
  }
}

@keyframes toleft-slow {
  0% {
    transform: translate(0%);
  }

  100% {
    transform: translate(-50%);
  }
}

.toleft {
  animation: toleft 28s linear infinite;
}

.toright {
  animation: toright 28s linear infinite;
}

.toleft-slow {
  animation: toleft-slow 50s linear infinite;
  animation-fill-mode: both;
}

/* Pause on hover */
.ticker-inner:hover .toleft,
.ticker-inner:hover .toright,
.ticker-inner:hover .toleft-slow {
  animation-play-state: paused;
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  overflow: hidden;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  padding: 16px 0;
  background: var(--main-color);
}

.strip-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
}

.strip-track span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--black);
}

.strip-main-color {
  background: var(--main-color);
}

/* ============================================================
   INTRO / DNA
   ============================================================ */
.intro {
  background: var(--black);
  color: var(--white);
  padding: clamp(100px, 15vw, 180px) clamp(30px, 8vw, 100px);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

@media all and (max-width:768px) {
  .intro-content .intro-sub {
    max-width: 100%;
  }

  .intro-content .intro-body {
    margin-bottom: 0;
  }

  .intro-content {
    flex-direction: column;
  }
}

.intro-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
  overflow: hidden;
}

.intro-tag span {
  display: block;
  transform: translateY(30px);
  opacity: 0;
  color: #fff7;
}

.intro-tag::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #555;
  flex-shrink: 0;
}

.intro-body {
  margin-bottom: 60px;
  width: 100%;
}

.intro-line {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: var(--white);
  display: block;
  overflow: hidden;
  /* Each line is revealed by GSAP */
  transform: translateY(120%);
  will-change: transform;
}

.intro-line.italic {
  font-style: italic;
  color: #ccc;
}

.intro-line.main-color {
  color: var(--main-color);
}

.intro-sub {
  text-align: justify;
  max-width: 45%;
}

.intro-sub p {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  color: #777;
  margin-bottom: 28px;
}

.intro-sub em {
  color: #aaa;
}

.intro-bear-bg {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: clamp(280px, 35vw, 550px);
  opacity: 20%;
  pointer-events: none;
  filter: invert(1);
}

.intro-bear-bg img {
  width: 100%;
}

/* ============================================================
   PAWSIBLE
   ============================================================ */
.pawsible {
  background: var(--main-color);
  padding: clamp(100px, 14vw, 160px) clamp(30px, 8vw, 100px);
  display: flex;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.pawsible-circle-col {
  flex-shrink: 0;
}

.pawsible-orbit {
  position: relative;
  width: clamp(390px, 50vw, 390px);
  height: clamp(390px, 50vw, 390px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}

.orbit-bear {
  width: 55%;
  height: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-bear img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pawsible-text-col {
  flex: 1;
}

.pawsible-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 48px;
}

.paw-line {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3rem, 5vw, 5.5rem);
  text-transform: uppercase;
  line-height: 1.0;
  letter-spacing: -0.02em;
  overflow: hidden;
  /* Each line is revealed by GSAP from below */
  transform: translateY(110%);
  will-change: transform;
}

.paw-accent {
  -webkit-text-stroke: 2.5px var(--black);
  color: transparent;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--black);
  border-top: 2px solid var(--main-color);
  padding: clamp(80px, 12vw, 140px) clamp(30px, 8vw, 100px);
}

.services-top {
  margin-bottom: 48px;
}

.services-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--main-color);
}

.services-title em {
  font-style: italic;
}

.services-list {
  border-top: 2px solid var(--black);
}

.service-row {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  gap: 20px;
  padding: 28px 16px;
  border-bottom: 2px solid var(--main-color);
  position: relative;
  cursor: none;
  transition: background 0.4s var(--ease-out), padding-left 0.4s var(--ease-out);
  overflow: hidden;
}

.service-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--main-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-inout);
  z-index: 0;
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-row:hover .service-num,
.service-row:hover .service-name,
.service-row:hover .service-arrow {
  color: var(--black);
}

.service-num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
  transition: color 0.35s;
}

.service-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.2rem, 3vw, 3.2rem);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: color 0.35s, transform 0.4s var(--ease-out);
  color: var(--main-color);
  width: 100%;
}

.service-row:hover .service-name {
  transform: translateX(8px);
}

.service-arrow {
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease-out), color 0.35s;
  color: var(--main-color);
}

.service-row:hover .service-arrow {
  transform: rotate(45deg) scale(1.3);
}

/* Hover image that follows cursor */
.service-hover-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  z-index: 600;
  transform: scale(0.7) rotate(-6deg);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
}

.service-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.05);
}

.service-row:hover .service-hover-img {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients {
  background: var(--main-color);
  border-top: 2px solid var(--black);
  padding: clamp(80px, 12vw, 120px) 0;
}

.clients .section-tag {
  color: var(--black);
}

.clients-top {
  padding: 0 clamp(30px, 8vw, 100px);
  margin-bottom: 52px;
}

.clients-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.clients-title em {
  font-style: italic;
}

.clients-ticker-wrap {
  overflow: hidden;
}

.clients-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  gap: 0;
}

.client-pill {
  display: inline-block;
  width: 100%;
  height: 100px;
  line-height: 100px;
  padding: 24px;
  border-radius: 100px;
  margin-right: 16px;
  background: var(--white);
  transition: background 0.3s, color 0.3s;
  cursor: none;
  white-space: nowrap;
}

.client-pill img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.client-pill:hover {
  background: var(--black);
}

.client-pill:hover img {
  filter: invert(1);
}

/* ============================================================
   WORK / PROJECTS
   ============================================================ */
.work {
  background: var(--dark);
  padding: clamp(80px, 12vw, 140px) clamp(30px, 8vw, 100px);
}

.work-header {
  margin-bottom: 56px;
}

.work-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3rem, 5.5vw, 6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.work-title em {
  color: var(--main-color);
  font-style: italic;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.work-card {
  border-radius: 18px;
  overflow: hidden;
  cursor: none;
  background: #1a1a1a;
  transform: translateY(60px);
  opacity: 0;
  will-change: transform, opacity;
  transition: box-shadow 0.4s;
}

.work-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.work-card-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work-card-img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease-out);
}

.work-card:hover .work-card-img {
  transform: scale(1.06);
}

.work-card-overlay-img {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 120px;
  height: 120px;
  transform: translateY(20px) rotate(-8deg);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s;
  pointer-events: none;
}

.work-card-overlay-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.work-card:hover .work-card-overlay-img {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}

.work-card-meta {
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: #1c1c1c;
  border-top: 1px solid #2a2a2a;
  flex-direction: column;
  gap: 16px;
}

.work-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff7;
  border: 1px solid #333;
  border-radius: 100px;
  padding: 4px 14px;
}

.work-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  color: var(--white);
  text-transform: capitalize;
}

.work-cta {
  display: flex;
  justify-content: center;
}

/* ============================================================
   ABOUT NUMBERS
   ============================================================ */
.about-nums {
  background: var(--dark);
  border-top: 1px solid #2a2a2a;
  padding: clamp(80px, 12vw, 130px) clamp(30px, 8vw, 100px);
}

.about-nums-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(3.5rem, 7vw, 8rem);
  line-height: 1;
  color: var(--main-color);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.1vw, 0.9rem);
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--main-color);
  border-top: 2px solid var(--black);
  overflow: hidden;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: clamp(100px, 15vw, 160px) clamp(30px, 8vw, 100px) clamp(60px, 8vw, 100px);
  align-items: center;
}

.footer-hello {
  display: flex;
  flex-direction: column;
  line-height: 0.82;
}

.fh-solid,
.fh-outline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(6rem, 14vw, 16rem);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  display: block;
  will-change: transform;
}

.fh-solid {
  color: var(--black);
}

.fh-outline {
  color: transparent;
  -webkit-text-stroke: 3px var(--black);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-contact-info>p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  color: #444;
}

/* â”€â”€ Contact details grid â”€â”€ */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 3px solid var(--main-color);
  padding-left: 20px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 81%;
}

.contact-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--black);
  transition: color 0.3s;
}

a.contact-value:hover {
  color: var(--main-color);
}

/* â”€â”€ Contact social pills â”€â”€ */
.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-social {
  display: inline-flex;
  align-items: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
  background-color: #0001;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  text-align: center;
  justify-content: center;
}

.contact-social:hover {
  background: var(--black);
  color: var(--main-color);
  border-color: var(--black);
  transform: translateY(-2px);
}

.footer-email {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.6rem);
  border-bottom: 2px solid var(--black);
  padding-bottom: 4px;
  display: inline-block;
  transition: opacity 0.3s;
  word-break: break-all;
}

.footer-email:hover {
  opacity: 0.55;
}

.footer-cta-btn {
  margin-top: 8px;
}

.footer-marquee {
  overflow: hidden;
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  background: var(--black);
  padding: 14px 0;
}

.footer-marquee .ticker-track span {
  color: var(--main-color);
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
}

.footer-bottom {
  padding: 22px clamp(30px, 8vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 2px solid var(--black);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: -0.02em;
}

.footer-logo-text .main-color {
  color: var(--main-color);
  -webkit-text-stroke: 1px var(--black);
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--main-color);
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--black);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-nums-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .header {
    padding: 20px 28px;
  }

  .header.scrolled {
    padding: 14px 28px;
  }

  .nav-content {
    grid-template-columns: 1fr;
    padding: 100px 28px 40px;
  }

  .nav-right {
    display: none;
  }

  .pawsible {
    flex-direction: column;
    gap: 40px;
    min-height: auto;
    padding: 80px 30px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .fh-solid,
  .fh-outline {
    font-size: clamp(4rem, 18vw, 8rem);
  }
}

@media (max-width: 600px) {
  .hero-word {
    font-size: clamp(3.5rem, 18vw, 7rem);
  }

  .about-nums-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .nav-main-link {
    font-size: 1.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   GSAP / ANIMATION HELPERS
   ============================================================ */
.gsap-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Line mask for text reveal */
.line-mask {
  overflow: hidden;
  display: block;
}

/* ============================================================
   ANIMATION ENHANCEMENT SUPPORT
   ============================================================ */

/* 3-D tilt on work cards */
.work-grid {
  perspective: 1200px;
}

.work-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.4s ease;
}

.work-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Clip-path reveal start state (GSAP overrides this) */
.work-card {
  clip-path: inset(0% 0 0 0);
}

/* Work card image Ken Burns base */
.work-card-img {
  overflow: hidden;
  will-change: transform;
}

/* Orbit SVG correct transform origin */
.orbit-svg {
  transform-box: fill-box;
  transform-origin: center center;
}

/* Magnetic button â€” contain layout shifts */
.pill-btn,
.menu-btn {
  will-change: transform;
}

/* Char-split spans â€” prevent layout reflow */
.services-title span,
.work-title span,
.clients-title span {
  will-change: transform, opacity;
}

/* Floating bear */
.hero-bear {
  will-change: transform;
}

/* Footer hello words smooth slide */
.fh-solid,
.fh-outline {
  will-change: transform;
}

/* ============================================================
   COLOR SWITCHER WIDGET
   ============================================================ */
.color-switcher {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.color-switcher-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--black);
  color: var(--main-color);
  border: 2px solid var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  transition: transform 0.3s var(--ease-out), background 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.color-switcher-btn:hover {
  transform: rotate(30deg) scale(1.1);
}

.color-switcher-btn svg {
  transition: transform 0.4s var(--ease-out);
}

.color-switcher.open .color-switcher-btn svg {
  transform: rotate(180deg);
}

/* Panel */
.color-switcher-panel {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  transform-origin: bottom right;
}

.color-switcher.open .color-switcher-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.color-switcher-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #aaa;
  text-align: center;
}

/* Swatches */
.color-switcher-panel {
  max-width: 228px;
  /* 6 Ã— (30px swatch + 10px gap) â€“ 10px */
}

.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  max-width: 220px;
}

.color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: none;
  transition: transform 0.25s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-swatch:hover {
  transform: scale(1.2);
}

.color-swatch.active {
  border-color: var(--black);
  transform: scale(1.15);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}