/* ==========================================================================
   TALKD — Modern Hero Scroll Storytelling & Transparent Header
   ========================================================================== */

/* Fonts loaded directly in index.html via <link rel="stylesheet"> for zero-waterfall performance */

/* --- Design Tokens --- */
:root {
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-renaissance-serif: var(--font-sans); /* Fallback alias: pure sans everywhere */
  
  --color-white: #ffffff;
  --color-black: #000000;
  --color-dark-bg: #07090e;
  
  --color-orange: #ff5e36;
  --color-magenta: #e02874;
  --gradient-cta: linear-gradient(90deg, #ff5e36 0%, #e02874 100%);
  --gradient-cta-hover: linear-gradient(90deg, #ff491c 0%, #c81861 100%);
  
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Global --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
  height: 100%;
  background-color: var(--color-dark-bg);
  color: var(--color-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-dark-bg);
  color: var(--color-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
}

/* Image Performance & Zero-Jitter Rendering */
img {
  max-width: 100%;
  height: auto;
  image-rendering: auto;
}

img[loading="lazy"] {
  content-visibility: auto;
}

/* --- Completely Transparent Header --- */
.talkd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  background: transparent;
  pointer-events: auto;
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  box-sizing: border-box;
}

.header-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 28px;
  width: auto;
  filter: brightness(1.2);
  transition: filter 0.35s ease;
}

.header-nav-group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-item-link {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.35s ease, text-shadow 0.35s ease;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}

.nav-item-link:hover {
  color: #ffffff;
}

.nav-item-link .asterisk {
  color: #ff5e36;
  font-size: 0.85rem;
  margin-left: 1px;
}

.nav-icon-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  transition: color 0.35s ease, transform 0.2s ease;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.6));
}

.nav-icon-btn:hover {
  color: #ffffff;
  transform: scale(1.08);
}

/* ==========================================================================
   TALKD Global Locations Mega Menu (Globe Dropdown)
   ========================================================================== */
.globe-menu-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Sleek Theme-Matching Globe Trigger Button */
.globe-trigger-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 101;
  transform: none !important;
}

.globe-trigger-btn:hover,
.globe-trigger-btn.is-active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transform: none !important; /* Strictly NO tilt or scale */
}

.globe-svg-icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  transition: opacity 0.2s ease;
  transform: none !important;
}

/* Strictly NO tilt/rotation on hover or active states */
.globe-trigger-btn:hover .globe-svg-icon,
.globe-trigger-btn.is-active .globe-svg-icon {
  transform: none !important;
}

/* Mega Menu Dropdown Panel (TALKD Signature Dark Obsidian Theme) */
.globe-dropdown-panel {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(7, 9, 14, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s ease;
  z-index: 99;
  padding: 0 48px;
  box-sizing: border-box;
}

/* Seamless cursor bridge between navbar and dropdown */
.globe-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: transparent;
}

.globe-dropdown-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.globe-dropdown-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 38px 0 44px;
  display: flex;
  align-items: center;
  gap: 52px;
  box-sizing: border-box;
}

/* Left Headquarters Building Feature Photo */
.globe-feature-photo-wrap {
  flex-shrink: 0;
  width: 240px;
  height: 195px;
  border-radius: 0px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.55);
  background-color: #121216;
  position: relative;
}

.globe-feature-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.globe-feature-photo-wrap:hover .globe-feature-photo {
  transform: scale(1.05);
}

/* Right: 3 Global Locations Deck */
.globe-locations-deck {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.globe-location-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.25s ease;
}

.globe-location-item:hover {
  transform: translateY(-2px);
}

.globe-loc-icon-box {
  width: 52px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.globe-loc-svg {
  max-width: 52px;
  max-height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.globe-location-item:hover .globe-loc-svg {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(255, 94, 54, 0.5));
}

.globe-loc-city {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
  line-height: 1.25;
}

.globe-loc-address {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.52;
  color: rgba(220, 230, 245, 0.72);
  margin-bottom: 16px;
  font-weight: 400;
}

.globe-loc-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff5e36;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.globe-loc-map-link:hover {
  color: #ff2d78;
  transform: translateX(2px);
}

.globe-arrow-icn {
  stroke: currentColor;
  transition: transform 0.25s ease;
}

.globe-loc-map-link:hover .globe-arrow-icn {
  transform: translate(2px, -2px);
}

/* Mobile locations accordion inside mobile drawer */
.mobile-locations-sublist {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0 12px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-locations-sublist.is-open {
  display: flex;
}

.mobile-loc-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-size: 0.88rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.mobile-loc-chip:hover,
.mobile-loc-chip:active {
  background: rgba(255, 94, 54, 0.12);
  border-color: rgba(255, 94, 54, 0.4);
}

.mobile-chip-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.mobile-chip-text {
  font-weight: 500;
}

/* Services Mega Menu Panel */
.services-dropdown-panel {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(7, 9, 14, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.28s ease;
  z-index: 99;
  padding: 0 48px;
  box-sizing: border-box;
}

.services-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: transparent;
}

.services-dropdown-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.services-dropdown-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 34px 0 38px;
  box-sizing: border-box;
}

.services-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.services-menu-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.services-menu-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
}

.services-menu-icon-wrap {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.services-menu-svg {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.services-menu-info {
  display: flex;
  flex-direction: column;
}

.services-menu-title {
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.services-menu-card:hover .services-menu-title {
  color: #ff5e36;
}

.services-menu-desc {
  color: rgba(220, 230, 245, 0.65);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
}

/* Case Study Secondary Link Button */
.btn-talkd-outline-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.25s ease, color 0.25s ease;
}

.btn-talkd-outline-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  color: #ffffff;
}

.case-study-cta-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Responsive adjustments for tablet & mobile */
@media (max-width: 1024px) {
  .globe-dropdown-panel {
    padding: 0 28px;
  }

  .globe-dropdown-container {
    padding: 30px 0 34px;
    gap: 36px;
  }

  .globe-feature-photo-wrap {
    width: 200px;
    height: 160px;
  }

  .globe-locations-deck {
    gap: 28px;
  }
}

@media (max-width: 860px) {
  .globe-dropdown-panel {
    top: 70px;
    padding: 0 16px;
    max-height: 80vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .globe-dropdown-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 0 32px;
    gap: 24px;
  }

  .globe-feature-photo-wrap {
    width: 100%;
    height: 170px;
  }

  .globe-locations-deck {
    grid-template-columns: 1fr;
    gap: 22px;
    width: 100%;
  }

  .globe-location-item {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .globe-location-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

.btn-contact-nav {
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.35s ease;
}

.hamburger-menu-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: none; /* Hidden on web/desktop; only visible on mobile */
  align-items: center;
  justify-content: center;
  padding: 4px;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.6));
  transition: color 0.35s ease;
}

/* ==========================================================================
   Header Light Theme (Inverted Colors for Light Backgrounds)
   ========================================================================== */
.talkd-header.theme-light {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.talkd-header.theme-dark-blur {
  background: rgba(7, 7, 9, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
}

/* Over the footer: Keep header transparent so artwork shines through, with crisp luminous white navbar elements */
.talkd-header.theme-footer-white {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.talkd-header.theme-footer-white .brand-logo-img {
  filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
}

.talkd-header.theme-footer-white .nav-item-link {
  color: #ffffff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7), 0 2px 16px rgba(0, 0, 0, 0.4) !important;
}

.talkd-header.theme-footer-white .nav-item-link:hover {
  color: #ffffff !important;
  opacity: 0.85;
}

.talkd-header.theme-footer-white .nav-icon-btn {
  color: #ffffff !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
}

.talkd-header.theme-footer-white .nav-icon-btn:hover {
  color: #ffffff !important;
}

.talkd-header.theme-footer-white .globe-trigger-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  transform: none !important;
}

.talkd-header.theme-footer-white .globe-trigger-btn:hover,
.talkd-header.theme-footer-white .globe-trigger-btn.is-active {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: none !important;
}

.talkd-header.theme-footer-white .hamburger-menu-btn {
  color: #ffffff !important;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6)) !important;
}

.talkd-header.theme-footer-white .btn-contact-nav {
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
}

.talkd-header.theme-footer-white .btn-contact-nav:hover {
  background-color: #f2f2f2 !important;
  color: #000000 !important;
  transform: none !important;
  border-color: #ffffff !important;
}

.talkd-header.theme-light .brand-logo-img {
  filter: brightness(0) !important;
}

.talkd-header.theme-light .nav-item-link {
  color: #000000 !important;
  text-shadow: none !important;
}

.talkd-header.theme-light .nav-item-link:hover {
  color: #ff5e36 !important;
}

.talkd-header.theme-light .nav-icon-btn {
  color: #000000 !important;
  filter: none !important;
}

.talkd-header.theme-light .nav-icon-btn:hover {
  color: #ff5e36 !important;
}

.talkd-header.theme-light .globe-trigger-btn {
  background: rgba(0, 0, 0, 0.06) !important;
  border-color: rgba(0, 0, 0, 0.14) !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.talkd-header.theme-light .globe-trigger-btn:hover,
.talkd-header.theme-light .globe-trigger-btn.is-active {
  background: rgba(0, 0, 0, 0.12) !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  color: #ff5e36 !important;
}

.talkd-header.theme-light .hamburger-menu-btn {
  color: #000000 !important;
  filter: none !important;
}

/* Inverted Button: Normal Black Button with White Text */
.talkd-header.theme-light .btn-contact-nav {
  background-color: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.talkd-header.theme-light .btn-contact-nav:hover {
  background-color: #1a1a1a !important;
  transform: none !important;
  border-color: transparent !important;
}

/* --- Hero Section: Pinned Multi-Scroll Track --- */
.hero-scroll-container {
  position: relative;
  width: 100%;
  height: 600vh; /* Smooth sequential track with dedicated About Us hold and rising Services reveal */
  background: var(--color-dark-bg);
}

/* Pinned Sticky Hero Viewport */
.hero-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Place in the lower-middle zone below faces & hands */
  align-items: center;
  padding-bottom: 14vh; /* Original position for Stages 1, 2, 3 */
  z-index: 10;
  background-color: var(--color-dark-bg);
}

/* Configurable fingertip interaction point */
:root {
  --reveal-x: 50.8%;
  --reveal-y: 44.2%;
  --reveal-radius: 0px;
}

/* --- IMAGE B: Sits underneath IMAGE A --- */
.image-layer-b {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

/* Sheer atmospheric contrast overlay for IMAGE B: Star map artwork is completely visible and vibrant */
.image-layer-b-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(5, 7, 12, 0.35) 0%, rgba(5, 7, 12, 0.15) 60%, transparent 100%);
}

/* --- IMAGE A: Sits on top of IMAGE B, receives the animated CSS hole mask --- */
.image-layer-a {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  /* Hardware-accelerated CSS hole mask revealing IMAGE B underneath */
  -webkit-mask-image: radial-gradient(
    circle at var(--reveal-x) var(--reveal-y),
    transparent 0px,
    transparent var(--reveal-radius),
    black calc(var(--reveal-radius) + 1.5px)
  );
  mask-image: radial-gradient(
    circle at var(--reveal-x) var(--reveal-y),
    transparent 0px,
    transparent var(--reveal-radius),
    black calc(var(--reveal-radius) + 1.5px)
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  will-change: -webkit-mask-image, mask-image;
}

#hero-canvas {
  display: none !important;
}

.hero-desktop-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  pointer-events: none;
}

.hero-mobile-video,
.hero-mobile-canvas {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.hero-mobile-video {
  opacity: 1;
}

.hero-mobile-canvas {
  opacity: 0;
}

.hero-mobile-overlay {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(8, 9, 13, 0.45) 0%,
    rgba(8, 9, 13, 0.15) 30%,
    rgba(8, 9, 13, 0.65) 70%,
    rgba(8, 9, 13, 0.94) 100%
  );
}

.hero-mobile-break {
  display: none;
}

/* Revealed About Us content inside IMAGE B */
.burn-revealed-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  z-index: 2;
  pointer-events: auto;
  text-align: center;
}

/* Hero Revealed Word: Clean Modern Light Sans */
.about-hero-word {
  font-family: var(--font-sans);
  font-size: clamp(3.2rem, 6.8vw, 5.6rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 24px 0;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95), 0 2px 14px rgba(0, 0, 0, 0.8);
}

.about-hero-word .italic-serif {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: inherit;
}

/* --- Centralized Sequential Text Stages --- */
.hero-sequence-container {
  position: relative;
  z-index: 15;
  width: 100%;
  max-width: 1120px;
  height: 320px; /* Bounded height in the lower-middle area */
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

/* Lenis Smooth Scroll Integration */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Individual Stage Animation (Driven by GSAP) */
.sequence-stage {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

/* Bold Modern Typography for Stages 1, 2, 3 (Creativity, Storytelling, Technology) */
.sequence-single-word {
  font-family: var(--font-sans);
  font-size: clamp(3.8rem, 8.5vw, 6.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95), 0 2px 14px rgba(0, 0, 0, 0.8);
}

.sequence-single-word .italic-serif {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: inherit;
}

/* Final Stage 4: Only Stage 4 is shifted down towards the bottom */
#stage-final {
  bottom: -9.5vh;
}

/* Matches .about-headline font size */
.sequence-final-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 12px rgba(0, 0, 0, 0.8);
}

.sequence-final-headline .italic-serif {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: inherit;
}

.hero-pillar-word,
.hero-word-line {
  display: inline;
  margin-right: 0.28em;
}

.hero-word-line:last-child {
  margin-right: 0;
}

/* Matches .about-subtext font size */
.sequence-description {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.26rem);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 860px;
  margin: 0 auto 16px auto;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
}

.sequence-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

/* --- Modern Normal Black & White Buttons with Cursor-Aware Gradient Expansion --- */
.btn-talkd {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transform: none !important;
  transition: border-color 0.3s ease;
}

/* Button text and icons stay elevated above the expanding gradient circle */
.btn-talkd > * {
  position: relative;
  z-index: 2;
  transition: color 0.45s ease, stroke 0.45s ease;
}

/* Cursor-Aware Expanding Radial Gradient:
   Blooms steadily from a visible small circle right under the cursor to fill the button */
.btn-talkd::before {
  content: '';
  position: absolute;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--gradient-cta);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.btn-talkd:hover::before {
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-talkd:hover {
  transform: none !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

.btn-talkd:hover > * {
  color: #ffffff !important;
}

.btn-talkd .btn-arrow-icon {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.btn-talkd:hover svg,
.btn-talkd:hover .btn-arrow-icon {
  color: #ffffff !important;
  stroke: #ffffff !important;
  transform: translateX(6px) !important;
}

/* Normal White Button */
.btn-talkd-white {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.btn-talkd-white:hover {
  transform: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-talkd-white:active {
  transform: none !important;
}

/* Normal Black Button */
.btn-talkd-black {
  background-color: #0a0c10;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.btn-talkd-black:hover {
  transform: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.btn-talkd-black:active {
  transform: none !important;
}

/* Hero CTA Button: Let's Talk */
.btn-lets-talk {
  padding: 15px 38px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn-lets-talk .btn-arrow-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.btn-lets-talk:hover .btn-arrow-icon {
  transform: translateX(6px) !important;
}

/* General / Legacy class fallbacks */
.italic-serif {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: inherit;
}

.btn-plaque-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Fast Initial Loader */
/* ==========================================================================
   TALKD Universal Hero Entry & Navbar Merging Loader
   ========================================================================== */
#talkd-logo-loader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  background: transparent;
}

#talkd-logo-loader.is-hidden {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.talkd-loader-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ff5e36 0%, #ff2d78 48%, #b21bb5 100%);
  will-change: opacity;
  z-index: 1;
}

.talkd-loader-logo-chamber {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(280px, 32vw, 420px);
  max-width: 90vw;
  height: auto;
  will-change: transform, opacity;
  transform-origin: center center;
}

.talkd-loader-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
}

/* Hairline Construction Guides */
.guide-line {
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 0.85px;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
}

.guide-line-dashed {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 0.8px;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.guide-tick {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.2px;
  vector-effect: non-scaling-stroke;
}

/* Stroke Contour Paths (Line Drawing) */
.logo-stroke-path {
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

.logo-fill-layer {
  fill: #ffffff;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
}

@media (prefers-reduced-motion: reduce) {
  #talkd-logo-loader {
    display: none !important;
  }
}

/* ==========================================================================
   ABOUT US STATEMENT (Revealed in Hero Aperture)
   ========================================================================== */

/* Primary Statement Wrapper & Headline */
.about-statement-wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-headline {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: #ffffff;
  max-width: 960px;
  margin: 0 auto 18px auto;
  text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.95), 0 2px 14px rgba(0, 0, 0, 0.8);
}

.about-headline .highlight-brand {
  background: var(--gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  text-shadow: none;
}

.about-headline .italic-serif {
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: inherit;
}

.about-narrative {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.45vw, 1.32rem);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.84);
  max-width: 820px;
  margin: 0 auto;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 4px 28px rgba(0, 0, 0, 0.85);
}

/* Fallback Narrative Subtext */
.about-subtext {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.26rem);
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.84);
  max-width: 860px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95);
}

.about-accent-pill {
  color: #ffffff;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}



/* --- Responsive Media Queries --- */
/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .talkd-header {
    padding: 0 28px;
  }
  
  .nav-links-list {
    gap: 20px;
  }
  
  /* Mobile / Portrait Tablet Video Hero: Video & Canvas playback */
  #hero-canvas,
  .hero-desktop-video {
    display: none !important;
  }

  .hero-mobile-video,
  .hero-mobile-canvas {
    display: block !important;
  }

  .hero-mobile-overlay {
    display: block !important;
  }

  /* Hide individual stepped word stages on mobile/portrait tablet */
  #stage-creativity,
  #stage-storytelling,
  #stage-technology {
    display: none !important;
  }

  /* Mobile Hero Scroll Track: 310vh ensures full circle reveal and reading hold before Services curtain rolls up */
  .hero-scroll-container {
    height: 310vh !important;
  }

  .hero-sticky-viewport {
    padding-bottom: 11vh !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
  }

  .hero-sequence-container {
    position: relative;
    z-index: 15;
    width: 100%;
    max-width: 460px !important;
    height: auto !important;
    min-height: auto !important;
    margin: 0 !important;
    padding: 0 24px !important;
    display: flex !important;
    align-items: flex-end;
    justify-content: flex-start !important;
    pointer-events: auto !important;
  }

  /* Full Hero Narrative (Creativity. Storytelling. Technology. + description + CTA) */
  #stage-final {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    pointer-events: auto;
  }

  .sequence-final-headline {
    font-family: var(--font-sans) !important;
    font-size: clamp(2.1rem, 7.8vw, 2.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
    margin: 0 0 14px 0 !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.95) !important;
    text-align: left !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
  }

  .sequence-final-headline .hero-word-line {
    display: block !important;
    margin-right: 0 !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  .sequence-description {
    font-family: var(--font-sans) !important;
    font-size: clamp(0.86rem, 2.7vw, 0.95rem) !important;
    font-weight: 400 !important;
    line-height: 1.55 !important;
    letter-spacing: -0.01em !important;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 330px !important;
    margin: 0 0 22px 0 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85) !important;
    text-align: left !important;
  }

  .sequence-cta-wrap {
    display: flex !important;
    justify-content: flex-start !important;
    width: 100%;
  }

  .btn-lets-talk {
    padding: 12px 28px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    background: #ffffff !important;
    color: #0b0718 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 90vw !important;
    margin: 0 !important;
  }

  .image-layer-b {
    justify-content: flex-start !important;
    padding: 0 24px !important;
  }

  /* Revealed About Us on mobile/portrait tablet */
  .burn-revealed-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    max-width: 360px !important;
    margin: 0 !important;
    width: 100% !important;
  }

  .about-hero-word {
    font-family: var(--font-sans) !important;
    font-size: clamp(2.4rem, 8vw, 3.2rem) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
    margin-bottom: 14px !important;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.9) !important;
    text-align: left !important;
  }

  .about-statement-wrap {
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  .about-statement-wrap .about-headline {
    font-family: var(--font-sans) !important;
    font-size: clamp(1.25rem, 4.4vw, 1.6rem) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.025em !important;
    color: #ffffff !important;
    max-width: 340px !important;
    margin: 0 0 16px 0 !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85) !important;
    text-align: left !important;
  }

  .about-statement-wrap .about-headline .highlight-brand {
    color: #ff5a2d !important;
    background: linear-gradient(135deg, #ff7a45, #ff3b30) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-weight: 700 !important;
  }

  .about-statement-wrap .about-narrative {
    font-family: var(--font-sans) !important;
    font-size: clamp(0.85rem, 2.6vw, 0.95rem) !important;
    font-weight: 400 !important;
    line-height: 1.58 !important;
    letter-spacing: -0.01em !important;
    color: rgba(255, 255, 255, 0.86) !important;
    max-width: 330px !important;
    margin: 0 !important;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85) !important;
    text-align: left !important;
  }

  .desktop-break {
    display: none;
  }

  .about-section {
    padding: 120px 32px 140px;
  }

  .about-three-worlds-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-accent-pill {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .talkd-header {
    padding: 0 16px !important;
    height: 64px !important;
  }

  .brand-link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .brand-logo-img {
    height: 22px !important;
    width: auto !important;
    max-width: 96px !important;
    object-fit: contain;
  }

  .header-nav-group {
    gap: 10px !important;
  }

  .nav-links-list {
    display: none !important;
  }

  .nav-icon-btn {
    display: none !important;
  }

  .hamburger-menu-btn {
    display: flex !important; /* Visible on mobile */
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
  }

  .hamburger-menu-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.32);
  }

  .btn-contact-nav {
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
  }
}

/* ==========================================================================
   Mobile Navigation Drawer (Fullscreen / Off-canvas)
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  z-index: 1000;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-nav-drawer.is-open .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: rgba(7, 9, 14, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 16px));
  transform: translateY(-16px);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav-drawer.is-open .mobile-nav-panel {
  transform: translateY(0);
}

.mobile-nav-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mobile-drawer-logo {
  height: 24px;
  width: auto;
  filter: brightness(1.2);
}

.mobile-nav-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-nav-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
}

.mobile-nav-body {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 20px;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 2px 0;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mobile-locations-toggle-btn {
  justify-content: space-between;
}

.mobile-chevron-icon {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.mobile-locations-toggle-btn.is-active .mobile-chevron-icon,
.mobile-locations-toggle-btn[aria-expanded="true"] .mobile-chevron-icon {
  transform: rotate(180deg);
  color: #ff5e36;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: #ff5e36;
  transform: translateX(4px);
}

.mobile-nav-idx {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.mobile-nav-link .asterisk {
  color: #ff5e36;
  margin-left: 2px;
}

.mobile-nav-cta-wrap {
  margin-top: 8px;
  padding-bottom: 4px;
}

.mobile-nav-cta {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #ffffff;
  color: #07090e;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.15);
}

.mobile-nav-footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.mobile-parent-agency {
  font-size: 0.8rem;
  color: rgba(220, 230, 242, 0.65);
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
}

.mobile-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.25s ease;
}

.mobile-social-icon:hover {
  background: #ffffff;
  color: #07090e;
  transform: translateY(-2px);
}

/* ==========================================================================
   LIGHT SECTION: SERVICES & CAPABILITIES
   Curved sheet rising above About Us with 4 arched cards
   ========================================================================== */
.services-light-section {
  position: relative;
  z-index: 50;
  width: 100%;
  background-color: #ffffff;
  color: #1a1238;
  margin-top: -100vh;
  padding: 90px 48px 140px;
  overflow: visible;
  box-shadow: none;
  border: none;
  outline: none;
}

/* Sculptural Curved top divider: 3px overlap completely eliminates subpixel seams */
.light-section-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(80px, 8.82vw, 135px);
  transform: translateY(calc(-100% + 3px));
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

.light-section-curve svg {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
}

/* Subtle ambient background vector curves */
.services-bg-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.services-bg-decor svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2-Column Section Layout */
.services-layout-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 52px;
}

/* Left Column: Copy & CTA */
.services-left-col {
  flex: 0 0 380px;
  max-width: 440px;
  text-align: left;
}

/* Reusing about-headline in white Services section */
.services-light-section .about-headline {
  color: #0b0c10;
  text-shadow: none;
  text-align: left;
  margin: 0 0 18px 0;
  max-width: 100%;
}

/* Reusing about-narrative in white Services section */
.services-light-section .about-narrative {
  color: #4a475a;
  text-shadow: none;
  text-align: left;
  margin: 0 0 34px 0;
  max-width: 100%;
  line-height: 1.6;
}

.services-cta-wrap {
  display: flex;
}

/* Right Column: Cards Track */
.services-cards-track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end; /* Staggers cards against bottom baseline to create undulating top arches */
}

/* Mobile Carousel Hidden by default on Desktop */
.services-mobile-carousel {
  display: none;
}

/* Arched Pill Cards */
.service-arch-card {
  position: relative;
  border-radius: 999px 999px 28px 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: box-shadow 0.65s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.45s ease;
  cursor: pointer;
  isolation: isolate;
  transform: none;
}

.service-arch-card:hover {
  transform: none !important;
}

/* Universal high-contrast multi-stop scrim to guarantee 100% legibility on all cards */
.service-arch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.3) 18%,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0.2) 55%,
    rgba(0, 0, 0, 0.85) 82%,
    rgba(0, 0, 0, 0.95) 100%
  );
  transition: background 0.4s ease, opacity 0.4s ease;
}

.service-arch-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.68) 0%,
    rgba(0, 0, 0, 0.35) 18%,
    rgba(0, 0, 0, 0.08) 35%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0.9) 82%,
    rgba(0, 0, 0, 0.98) 100%
  );
}

/* Alternating "Chota-Bada-Chota-Bada" Heights with Strict Bottom Baseline Alignment */
.services-cards-track {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: end; /* All card bottoms sit flush on the exact same baseline */
}

/* 01: Chota (Short - 505px) */
.service-arch-card.card-peach {
  height: 505px;
  background-image: url('../images/services/service-1.webp');
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px -8px rgba(0, 0, 0, 0.32), 0 6px 18px -4px rgba(0, 0, 0, 0.18);
}

.service-arch-card.card-peach:hover {
  box-shadow: 0 36px 72px -10px rgba(0, 0, 0, 0.48), 0 16px 36px -6px rgba(255, 120, 60, 0.38), 0 0 36px rgba(255, 130, 80, 0.32) !important;
  border-color: rgba(255, 175, 145, 0.85) !important;
}

/* 02: Bada (Tall - 565px) */
.service-arch-card.card-concrete {
  height: 565px;
  background-image: url('../images/services/service-2.webp');
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px -8px rgba(0, 0, 0, 0.32), 0 6px 18px -4px rgba(0, 0, 0, 0.18);
}

.service-arch-card.card-concrete:hover {
  box-shadow: 0 36px 72px -10px rgba(0, 0, 0, 0.48), 0 16px 36px -6px rgba(120, 160, 220, 0.38), 0 0 36px rgba(140, 180, 230, 0.32) !important;
  border-color: rgba(185, 205, 230, 0.9) !important;
}

/* 03: Chota (Short - 505px) */
.service-arch-card.card-lilac {
  height: 505px;
  background-image: url('../images/services/service-3.webp');
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 46px -8px rgba(0, 0, 0, 0.32), 0 6px 18px -4px rgba(0, 0, 0, 0.18);
}

.service-arch-card.card-lilac:hover {
  box-shadow: 0 36px 72px -10px rgba(0, 0, 0, 0.48), 0 16px 36px -6px rgba(170, 120, 245, 0.38), 0 0 36px rgba(180, 130, 255, 0.32) !important;
  border-color: rgba(200, 175, 245, 0.85) !important;
}

/* 04: Bada (Tall - 565px) */
.service-arch-card.card-obsidian {
  height: 565px;
  background-image: url('../images/services/service-4.webp');
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 54px -8px rgba(0, 0, 0, 0.38), 0 8px 20px -4px rgba(0, 0, 0, 0.22);
}

.service-arch-card.card-obsidian:hover {
  box-shadow: 0 38px 76px -10px rgba(0, 0, 0, 0.52), 0 16px 36px -6px rgba(140, 60, 240, 0.38), 0 0 38px rgba(150, 70, 250, 0.35) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

/* Numerals placed inside the top dome - Frosted Glass (No Stroke, No Hover Interaction) */
.arch-card-num {
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
  font-family: var(--font-sans) !important;
  font-size: 4.8rem !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  letter-spacing: -0.04em !important;
  text-align: center !important;
  padding-top: 26px !important;
  margin: 0 !important;
  user-select: none !important;

  /* Smooth Frosted Glass Translucency */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.3) 100%
  ) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;

  /* No Stroke */
  -webkit-text-stroke: 0 !important;

  /* Soft Glass Depth Shadow */
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.45)) !important;

  /* No Hover Movement */
  transform: none !important;
  transition: none !important;
}

/* Spacer where media was, keep hidden so center artwork remains prominent */
.arch-card-media {
  display: none !important;
}

/* Card Content: Title & Subtitle */
.arch-card-content {
  text-align: left;
  padding: 0 24px;
  margin-top: auto;
  margin-bottom: 4px;
  position: relative !important;
  z-index: 2 !important;
}

.arch-card-title {
  font-family: var(--font-sans);
  font-size: 1.38rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 1) !important;
}

.arch-card-subtitle {
  font-family: var(--font-sans);
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95) !important;
}

/* Footer & Circle Arrow Button */
.arch-card-footer {
  padding: 16px 24px 28px;
  display: flex;
  justify-content: flex-start;
  position: relative !important;
  z-index: 2 !important;
}

.arch-card-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none;
  isolation: isolate;
  transform: none !important;
}

.arch-arrow-track {
  position: relative;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.arch-arrow-track .arrow-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  will-change: transform, opacity;
}

.arch-arrow-track .arrow-main {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.arch-arrow-track .arrow-clone {
  transform: translateX(-34px);
  opacity: 0;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.arch-card-arrow:hover,
.service-arch-card:hover .arch-card-arrow {
  background: #ffffff !important;
  color: #0b0718 !important;
  border-color: #ffffff !important;
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  transform: none !important;
}

/* On hover: main arrow exits forward (right) out of circle, clone enters from left into center */
.service-arch-card:hover .arch-arrow-track .arrow-main,
.arch-card-arrow:hover .arch-arrow-track .arrow-main {
  transform: translateX(34px);
  opacity: 0;
}

.service-arch-card:hover .arch-arrow-track .arrow-clone,
.arch-card-arrow:hover .arch-arrow-track .arrow-clone {
  transform: translateX(0);
  opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .services-layout-container {
    gap: 32px;
  }

  .services-left-col {
    flex: 0 0 280px;
  }

  .services-cards-track {
    gap: 12px;
  }

  /* Responsive Chota-Bada-Chota-Bada (460px, 520px, 460px, 520px) */
  .service-arch-card.card-peach {
    height: 460px;
  }
  .service-arch-card.card-concrete {
    height: 520px;
  }
  .service-arch-card.card-lilac {
    height: 460px;
  }
  .service-arch-card.card-obsidian {
    height: 520px;
  }

  .arch-card-num {
    font-size: 3.6rem;
    padding-top: 20px;
  }

  .arch-card-content {
    padding: 0 16px;
  }

  .arch-card-footer {
    padding: 12px 16px 22px;
  }

  .arch-card-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 992px) {
  .talkd-header {
    padding: 0 28px;
  }

  /* Keep overflow visible so the top curved divider is fully visible */
  .services-light-section {
    padding: 80px 24px 110px;
    overflow: visible !important;
  }

  .light-section-curve {
    display: block !important;
    overflow: visible !important;
  }

  .services-layout-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    width: 100%;
    overflow: visible;
  }

  .services-left-col {
    flex: 1 1 100%;
    max-width: 580px;
    padding: 0;
  }

  .services-light-section .about-headline {
    font-size: clamp(1.75rem, 5.8vw, 2.35rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 12px !important;
  }

  .services-light-section .about-narrative {
    font-size: clamp(0.92rem, 2.8vw, 1.05rem) !important;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
    max-width: 92% !important;
  }

  .services-cta-wrap .btn-talkd {
    padding: 12px 28px !important;
    font-size: 0.88rem !important;
  }

  /* Mobile: Hide desktop 4-card grid, show React Bits 3D Carousel */
  .services-cards-track {
    display: none !important;
  }

  .services-mobile-carousel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 10px auto 0 !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 5 !important;
  }

  /* React Bits Carousel Container */
  .services-mobile-carousel .carousel-container {
    position: relative;
    overflow: hidden;
    width: 300px;
    max-width: calc(100vw - 32px);
    border: 1px solid #555;
    border-radius: 0px;
    padding: 16px;
    background-color: #1B1722;
    box-shadow: 0 20px 48px -12px rgba(18, 15, 24, 0.4);
    --outer-r: 24px;
    --p-distance: 12px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .services-mobile-carousel .carousel-track {
    display: flex;
    height: 380px;
    perspective: 1000px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    transform-style: preserve-3d;
  }

  .services-mobile-carousel .carousel-item {
    position: relative;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    height: 100%;
    border: 1px solid #555;
    border-radius: 0px;
    background-color: #1B1722;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    cursor: grab;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
    box-sizing: border-box;
  }

  .services-mobile-carousel .carousel-item:active {
    cursor: grabbing;
  }

  /* Gradient scrim so text remains crystal legible on photography */
  .services-mobile-carousel .carousel-item-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(18, 15, 24, 0.4) 0%,
      rgba(18, 15, 24, 0.15) 35%,
      rgba(18, 15, 24, 0.65) 65%,
      rgba(18, 15, 24, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
  }

  .services-mobile-carousel .carousel-item-header {
    margin-bottom: 16px;
    padding: 20px;
    padding-top: 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
  }

  .services-mobile-carousel .carousel-icon-container {
    display: flex;
    height: 28px;
    width: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }

  .services-mobile-carousel .carousel-icon {
    height: 16px;
    width: 16px;
    color: #120F17;
  }

  .services-mobile-carousel .carousel-item-num {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 800;
    color: #120F17;
    letter-spacing: -0.01em;
    line-height: 1;
  }

  .services-mobile-carousel .carousel-item-content {
    padding: 20px;
    padding-bottom: 16px;
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
  }

  .services-mobile-carousel .carousel-item-title {
    margin-bottom: 4px;
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }

  .services-mobile-carousel .carousel-item-description {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  }

  .services-mobile-carousel .carousel-item-footer {
    padding: 0 20px 20px;
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
  }

  .services-mobile-carousel .carousel-item-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }

  .services-mobile-carousel .carousel-item-arrow:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.28);
  }

  /* React Bits Indicators */
  .services-mobile-carousel .carousel-indicators-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .services-mobile-carousel .carousel-indicators {
    margin-top: 16px;
    display: flex;
    width: 150px;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
    box-sizing: border-box;
  }

  .services-mobile-carousel .carousel-indicator {
    height: 8px;
    width: 8px;
    border: none;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 150ms ease, transform 150ms ease;
    outline: none;
    background-color: #555;
  }

  .services-mobile-carousel .carousel-indicator:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  .services-mobile-carousel .carousel-indicator.active {
    background-color: #fff;
    transform: scale(1.2);
  }

  .services-mobile-carousel .carousel-indicator.inactive {
    background-color: #555;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .services-light-section {
    padding: 70px 20px 90px;
    overflow: visible !important;
  }

  .services-layout-container {
    gap: 28px;
  }
}

/* ==========================================================================
   WHAT'S UNIQUE DARK SECTION
   ========================================================================== */
.unique-dark-section {
  position: relative;
  z-index: 60;
  width: 100%;
  background-color: #070709;
  color: #ffffff;
  padding: 120px 48px 150px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.unique-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Reusing .about-headline in unique dark section */
.unique-dark-section .about-headline {
  text-align: left;
  max-width: 100%;
  margin: 0 0 52px 0;
  color: #ffffff;
  text-shadow: none;
}

/* 3-Column Alternating Grid with Outer & Inner Dividers */
.unique-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
  overflow: hidden;
}

.unique-col {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: background-color 0.45s ease;
  cursor: pointer;
}

.unique-col:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.unique-col:hover {
  background-color: rgba(255, 255, 255, 0.025);
}

/* Text Block */
.unique-col-content {
  display: flex;
  flex-direction: column;
}

.unique-col-num {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  display: block;
  transition: color 0.4s ease;
}

.unique-col:hover .unique-col-num {
  color: rgba(255, 255, 255, 0.9);
}

/* Reusing .arch-card-title inside unique dark section */
.unique-col .arch-card-title {
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  color: #ffffff !important;
  margin: 0 0 12px 0 !important;
  text-shadow: none !important;
}

/* Reusing .about-narrative inside unique dark section */
.unique-col .about-narrative {
  font-size: 0.98rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.68) !important;
  margin: 0 !important;
  max-width: 100% !important;
  text-align: left !important;
  text-shadow: none !important;
  letter-spacing: 0 !important;
  transition: color 0.4s ease;
}

.unique-col:hover .about-narrative {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Image Wrappers: Full Prominent Square Images */
.unique-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background-color: #121216;
}

.unique-col-1 .unique-img-wrap,
.unique-col-3 .unique-img-wrap {
  margin-top: 36px;
}

.unique-col-2 .unique-img-wrap {
  margin-bottom: 36px;
}

/* Images: Grayscale by default, ultra-slow cinematic zoom & rich color bloom on hover */
.unique-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05) brightness(0.9);
  opacity: 0.85;
  transform: scale(1);
  transition: transform 2.2s cubic-bezier(0.25, 1, 0.5, 1), filter 0.85s ease, opacity 0.85s ease;
  will-change: transform, filter, opacity;
}

.unique-col:hover .unique-img-wrap img,
.unique-img-wrap:hover img {
  filter: grayscale(0%) contrast(1) brightness(1);
  opacity: 1;
  transform: scale(1.09);
  transition: transform 4.5s cubic-bezier(0.2, 0.9, 0.3, 1), filter 0.85s ease, opacity 0.85s ease;
}

/* Responsive Styles for Unique Section: Compact Side-by-Side Split Cards */
@media (max-width: 1024px) {
  .unique-dark-section {
    padding: 80px 24px 100px;
  }

  .unique-dark-section .about-headline {
    margin-bottom: 32px;
    font-size: clamp(1.75rem, 5.8vw, 2.35rem) !important;
    line-height: 1.2 !important;
  }

  .unique-grid {
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    overflow: hidden !important;
  }

  .unique-col {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 22px 20px !important;
    gap: 18px !important;
    border-right: none !important;
    background-color: transparent !important;
    transition: background-color 0.25s ease !important;
  }

  .unique-col:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .unique-col:active,
  .unique-col:hover {
    background-color: rgba(255, 255, 255, 0.04) !important;
  }

  .unique-col-content {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .unique-col-num {
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.04em !important;
    line-height: 1 !important;
  }

  .unique-col .arch-card-title {
    font-size: clamp(1.1rem, 3.8vw, 1.28rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.015em !important;
    margin: 0 0 6px 0 !important;
    color: #ffffff !important;
  }

  .unique-col .about-narrative {
    font-size: clamp(0.82rem, 2.7vw, 0.9rem) !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.68) !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .unique-img-wrap,
  .unique-col-1 .unique-img-wrap,
  .unique-col-2 .unique-img-wrap,
  .unique-col-3 .unique-img-wrap {
    order: 2 !important;
    flex: 0 0 clamp(84px, 24vw, 110px) !important;
    width: clamp(84px, 24vw, 110px) !important;
    height: clamp(84px, 24vw, 110px) !important;
    aspect-ratio: 1 / 1 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    overflow: hidden !important;
    background-color: #121216 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  }

  .unique-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(15%) contrast(1.05) brightness(0.95) !important;
    opacity: 0.95 !important;
    border-radius: inherit !important;
    transform: scale(1) !important;
  }
}

@media (max-width: 480px) {
  .unique-dark-section {
    padding: 64px 18px 84px;
  }

  .unique-col {
    padding: 18px 16px !important;
    gap: 14px !important;
  }

  .unique-img-wrap,
  .unique-col-1 .unique-img-wrap,
  .unique-col-2 .unique-img-wrap,
  .unique-col-3 .unique-img-wrap {
    flex: 0 0 84px !important;
    width: 84px !important;
    height: 84px !important;
    border-radius: 0px !important;
  }
}

/* ==========================================================================
   TESTIMONIALS / CLIENT SHOWCASE SECTION
   Matching exact reference design with 5-card fanned perspective arc
   ========================================================================== */

.testimonials-light-section {
  position: relative;
  background-color: #ffffff;
  color: #0b0718;
  z-index: 70; /* Elevated above .unique-dark-section (z-index: 60) so curve renders on top */
  padding: 36px 24px 70px;
  overflow: visible;
}

/* Sculptural Curved Top Divider (assets/images/Curve.svg without shadow) */
.testimonials-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(65px, 7vw, 115px);
  transform: translateY(calc(-100% + 2px));
  pointer-events: none;
  overflow: visible;
  z-index: 5;
  filter: none !important;
  box-shadow: none !important;
}

.testimonials-curve svg {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  filter: none !important;
  box-shadow: none !important;
}

.testimonials-curve path {
  fill: #ffffff !important;
  filter: none !important;
}

/* Ambient Radial Glow & Vector Curves */
.testimonials-bg-decor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.testimonials-radial-glow {
  position: absolute;
  top: 36%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(142, 45, 226, 0.08) 0%, rgba(255, 94, 54, 0.045) 45%, rgba(255, 255, 255, 0) 72%);
  filter: blur(65px);
  pointer-events: none;
}

.testimonials-wave-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.testimonials-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonials-header {
  margin-top: 0;
  margin-bottom: 40px;
  text-align: center;
  width: 100%;
}

.testimonials-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4.4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.15;
  color: #1a0836;
  text-align: center;
  letter-spacing: -0.015em;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: none;
}

.testimonials-headline-row {
  display: block;
  text-align: center;
  width: 100%;
}

.testimonials-headline .highlight-brand {
  background: linear-gradient(135deg, #ff5e36 0%, #a824e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Arched / Fanned Cards Deck */
.testimonials-deck-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 16px;
  perspective: 1200px;
  overflow: visible;
}

.testimonials-deck {
  position: relative;
  width: 100%;
  max-width: 1140px;
  height: clamp(300px, 28vw, 350px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.testimonial-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(170px, 15vw, 215px);
  aspect-ratio: 247 / 340;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
  transform-origin: center bottom;
  will-change: transform, opacity;
  outline: none !important;
}

.testimonial-card:focus,
.testimonial-card:focus-visible {
  outline: none !important;
}

.testimonial-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 30px -8px rgba(28, 5, 54, 0.22);
  background-color: #1a0836;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.testimonial-card-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Card Bottom Overlay: Name & Role on the card itself (lifted cleanly above the quote badge) */
.testimonial-card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 14px 32px;
  background: linear-gradient(to top, rgba(16, 5, 32, 0.94) 0%, rgba(16, 5, 32, 0.6) 60%, transparent 100%);
  text-align: left;
  pointer-events: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonial-card.is-active .testimonial-card-caption {
  padding-bottom: 34px;
}

.testimonial-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 2px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.testimonial-card-role {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Active Center Card Highlight */
.testimonial-card.is-active {
  cursor: default;
}

.testimonial-card .testimonial-card-inner {
  border: 2.5px solid #ffffff;
  box-shadow: 0 26px 65px -10px rgba(28, 5, 54, 0.42),
              0 8px 24px -4px rgba(0, 0, 0, 0.16);
}

.testimonial-card:not(.is-active):hover .testimonial-card-inner {
  box-shadow: 0 18px 40px -8px rgba(28, 5, 54, 0.32);
}

/* Floating White Quote Badge on Active Card */
.testimonial-quote-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(28, 5, 54, 0.22),
              0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  color: #1a0836;
}

.testimonial-quote-badge svg {
  display: block;
  width: 20px;
  height: 16px;
}

/* Testimonial Quote & Author Info Box Below */
.testimonial-content-wrap {
  max-width: 680px;
  width: 100%;
  margin: 22px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.testimonial-quote-box {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: #322e44;
  line-height: 1.58;
  max-width: 620px;
  margin: 0 auto 14px;
  font-weight: 400;
  text-align: center;
  letter-spacing: -0.01em;
}

.testimonial-accent-bar {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #ff5e36 0%, #8e2de2 100%);
  border-radius: 3px;
  margin: 0 auto 12px;
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a0836;
  margin-bottom: 3px;
  text-align: center;
}

.testimonial-author-role {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #827e94;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Navigation Controls (Prev, Dots, Next) */
.testimonial-nav-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.testimonial-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 10, 61, 0.12);
  background: #ffffff;
  color: #1a0836;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial-nav-btn:hover {
  border-color: #1a0836;
  background: #1a0836;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(28, 10, 61, 0.2);
}

.testimonial-nav-btn:active {
  transform: scale(0.96);
}

.testimonial-nav-btn:focus,
.testimonial-nav-btn:focus-visible {
  outline: none !important;
}

.testimonial-pagination-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.testimonial-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dcd7e6;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.testimonial-dot:focus,
.testimonial-dot:focus-visible {
  outline: none !important;
}

.testimonial-dot.active {
  background: #1a0836;
  transform: scale(1.28);
}

.testimonial-dot:hover:not(.active) {
  background: #a824e8;
}

/* ==========================================================================
   DARK CLIENTS SECTION (DAVIDS AND GOLIATHS)
   White monochrome logos, 3 alternating infinite marquee rows, and cursor hover preview
   ========================================================================== */

.clients-dark-section {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 50% 15%, rgba(60, 0, 124, 0.18) 0%, rgba(7, 7, 9, 1) 75%), #070709;
  color: #ffffff;
  padding: 100px 0 120px;
  overflow: hidden;
  z-index: 80;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.clients-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.clients-header {
  text-align: center;
  margin-bottom: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clients-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e0dcf4;
  margin-bottom: 20px;
}

.clients-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1.15;
  color: #ffffff;
  text-align: center;
  margin: 0 auto;
  letter-spacing: -0.015em;
  text-shadow: none;
}

.clients-headline-line {
  display: block;
}

.clients-headline .color-set-orange {
  background: linear-gradient(135deg, #ff7a45 0%, #ff5238 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.clients-headline .color-set-darkpink {
  background: linear-gradient(135deg, #ff2d78 0%, #c429d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.clients-marquee-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 38px;
  margin-top: 10px;
}

.clients-row-block {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.clients-category-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 14px;
  text-align: center;
}

.clients-marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
  position: relative;
  padding: 10px 0;
  margin: 0;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  will-change: transform;
}

/* Row 1 & 3: Move to LEFT */
.clients-marquee-row.row-left .marquee-track {
  animation: marquee-scroll-left 34s linear infinite;
}

/* Row 2: Move to RIGHT */
.clients-marquee-row.row-right .marquee-track {
  animation: marquee-scroll-right 32s linear infinite;
}

@keyframes marquee-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-scroll-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* In-Place Popout Client Logo Items (bochfernsh style) */
.client-logo-item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-width: 165px;
  height: 76px;
  cursor: pointer;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.client-logo-item:hover {
  background-color: transparent;
  z-index: 100;
}

.client-logo-img {
  height: clamp(32px, 3vw, 44px);
  width: auto;
  max-width: 155px;
  object-fit: contain;
  opacity: 0.74;
  transition: opacity 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1);
  pointer-events: none;
  transform-origin: center center;
}

.client-logo-item:hover .client-logo-img {
  opacity: 0;
  transform: scale(0.7);
}

/* Popout Showcase Image Card (in place of the logo) */
.client-popout-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 205px;
  height: 92px;
  border-radius: 5px;
  overflow: hidden;
  background: #000000;
  border: none;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.95);
  opacity: 0;
  pointer-events: none;
  z-index: 120;
  transition: opacity 0.28s cubic-bezier(0.2, 0.9, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1.25, 0.35, 1);
  will-change: transform, opacity;
}

.client-logo-item:hover .client-popout-card {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.02);
  pointer-events: auto;
}

.client-popout-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  transform: scale(1.07); /* slight inner image zoom crops out any slice border edges */
  transform-origin: center center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .testimonials-light-section {
    padding: 60px 20px 80px;
  }

  .testimonials-deck {
    height: 320px;
  }

  .clients-dark-section {
    padding: 80px 0 100px;
  }

  .clients-container {
    padding: 0 24px;
  }

  .clients-header {
    margin-bottom: 42px;
    text-align: center;
    width: 100%;
  }

  .clients-headline {
    font-size: clamp(1.68rem, 5vw, 2.5rem) !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .clients-headline-line {
    display: block !important;
  }

  .marquee-track {
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .testimonials-light-section {
    padding: 38px 16px 54px;
    overflow-x: clip !important;
    max-width: 100vw;
  }

  .testimonials-container {
    max-width: 100%;
    overflow-x: clip;
  }

  .testimonials-header {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    text-align: center !important;
    width: 100% !important;
  }

  .testimonials-headline {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 10px !important;
  }

  .testimonials-headline-row {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
  }

  .testimonials-deck-wrap {
    overflow: hidden !important;
    width: 100%;
    max-width: 100%;
    padding: 6px 0 16px;
  }

  .testimonials-deck {
    height: 275px;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
  }

  .testimonial-card {
    width: 142px !important;
    border-radius: 12px;
  }

  .testimonial-card .testimonial-card-inner {
    border-radius: 12px;
    padding-bottom: 0 !important;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 20px -4px rgba(28, 5, 54, 0.14),
                0 3px 8px -2px rgba(0, 0, 0, 0.06) !important;
  }

  .testimonial-card.is-active .testimonial-card-inner {
    border: 2.5px solid #ffffff;
    box-shadow: 0 12px 26px -4px rgba(28, 5, 54, 0.18),
                0 4px 10px -2px rgba(0, 0, 0, 0.08) !important;
  }

  .testimonial-card:not(.is-active) .testimonial-card-inner {
    box-shadow: 0 6px 16px -4px rgba(28, 5, 54, 0.10),
                0 2px 6px -2px rgba(0, 0, 0, 0.04) !important;
  }

  /* 1. Remove names/captions inside the cards on mobile */
  .testimonial-card-caption {
    display: none !important;
  }

  /* Quote badge on active card - soft, clean elevation */
  .testimonial-quote-badge {
    width: 36px;
    height: 36px;
    bottom: -18px;
    box-shadow: 0 4px 12px rgba(28, 5, 54, 0.12),
                0 1px 4px rgba(0, 0, 0, 0.06) !important;
  }

  .testimonial-card:not(.is-active) .testimonial-quote-badge {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* 2. Move author name and role above the testimonial quote text */
  .testimonial-quote-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
  }

  .testimonial-author-name {
    order: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a0836;
    margin-bottom: 2px;
    text-align: center;
  }

  .testimonial-author-role {
    order: 2;
    font-size: 0.88rem;
    color: #827e94;
    margin-bottom: 12px;
    text-align: center;
  }

  .testimonial-accent-bar {
    order: 3;
    margin: 0 auto 14px;
  }

  .testimonial-quote {
    order: 4;
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0 auto 12px;
    max-width: 92%;
    text-align: center;
  }

  .clients-dark-section {
    padding: 68px 0 88px;
  }

  .clients-container {
    padding: 0 18px;
  }

  .clients-header {
    margin-bottom: 28px;
    text-align: center;
    width: 100%;
  }

  .clients-headline {
    font-size: clamp(1.55rem, 5.5vw, 1.75rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    padding: 0 4px !important;
  }

  .clients-headline-line {
    display: block !important;
    white-space: normal !important;
  }

  .clients-category-title {
    font-size: 0.72rem !important;
    letter-spacing: 0.16em !important;
    margin-bottom: 12px !important;
  }

  .clients-marquee-wrapper {
    gap: 26px !important;
  }
}

@media (max-width: 350px) {
  .clients-headline-line {
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .testimonials-light-section {
    overflow-x: clip !important;
    padding: 30px 14px 46px;
  }

  .testimonials-header {
    margin-bottom: 20px !important;
  }

  .testimonials-headline {
    font-size: clamp(1.55rem, 5.8vw, 1.75rem) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
    padding: 0 6px !important;
  }

  .testimonials-deck-wrap {
    overflow: hidden !important;
    padding: 4px 0 14px;
  }

  .testimonials-deck {
    height: 260px;
    max-width: 100%;
    overflow: hidden !important;
  }

  .testimonial-card {
    width: 135px !important;
    border-radius: 12px;
  }

  .testimonial-card .testimonial-card-inner {
    border-radius: 12px;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 16px -4px rgba(28, 5, 54, 0.12),
                0 2px 6px -2px rgba(0, 0, 0, 0.05) !important;
  }

  .testimonial-card.is-active .testimonial-card-inner {
    border: 2.5px solid #ffffff;
    box-shadow: 0 10px 22px -4px rgba(28, 5, 54, 0.16),
                0 3px 8px -2px rgba(0, 0, 0, 0.06) !important;
  }

  .testimonial-card:not(.is-active) .testimonial-card-inner {
    box-shadow: 0 5px 12px -4px rgba(28, 5, 54, 0.08),
                0 2px 5px -2px rgba(0, 0, 0, 0.04) !important;
  }

  .testimonial-quote-badge {
    width: 34px;
    height: 34px;
    bottom: -17px;
    box-shadow: 0 3px 10px rgba(28, 5, 54, 0.10),
                0 1px 3px rgba(0, 0, 0, 0.05) !important;
  }

  .testimonial-quote-badge svg {
    width: 16px;
    height: 13px;
  }

  .testimonial-author-name {
    font-size: 1.18rem;
  }

  .testimonial-author-role {
    font-size: 0.84rem;
  }

  .testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.5;
  }


  .marquee-track {
    gap: 28px;
  }

  .client-logo-item {
    padding: 12px 18px;
  }
}

/* ==========================================================================
   CASE STUDIES PINNED HORIZONTAL SCROLL SECTION (Jio-bp, Xoriant, L&T)
   ========================================================================== */

.case-studies-pinned-section {
  position: relative;
  width: 100%;
  height: 480vh; /* Scroll distance for 4 case study stages */
  background: #08090d;
  z-index: 80;
}

.case-studies-sticky-wrap {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Background Cross-Fade Layers */
.case-studies-bg-layers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.case-study-bg-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  will-change: opacity, transform;
  transition: opacity 0.7s ease, transform 0.8s ease;
}

.case-study-bg-item.is-active {
  opacity: 1;
  transform: scale(1);
}

.case-studies-scrim-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 60% 55% at 12% 28%, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 75%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Foreground Inner Container */
.case-studies-inner-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 64px 48px 28px;
  box-sizing: border-box;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Top Header Deck (Cross-fades per study) */
.case-studies-header-deck {
  position: relative;
  width: 100%;
  min-height: 150px;
  margin-top: 10px;
}

.case-study-header-item {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.case-study-header-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.case-study-logo-wrap {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.case-study-client-logo {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.case-study-title {
  font-family: var(--font-sans);
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 20px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.case-study-title strong {
  font-weight: 700;
}

.case-study-cta-wrap {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.case-study-btn {
  padding: 12px 28px;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* Cards Viewport & Stacked 3-Card Decks (All 3 cards appear at once) */
.case-studies-cards-viewport {
  position: relative;
  width: 100%;
  min-height: 215px;
  margin: auto 0 24px;
}

.case-studies-cards-track {
  position: relative;
  width: 100%;
  min-height: 215px;
}

.case-study-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.case-study-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Card Top Fill Progress Line */
.card-fill-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  z-index: 4;
}

.card-fill-bar {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff5e36 0%, #ff2d78 60%, #b21bb5 100%);
  box-shadow: 0 0 10px rgba(255, 45, 120, 0.7);
  transition: width 0.25s ease;
}

/* Glassmorphic Card Styling — Sharp, Rectangular, Architectural */
.case-study-card {
  position: relative;
  background: rgba(8, 10, 14, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0; /* Exact sharp rectangle per reference mockup */
  padding: 24px 26px 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 205px;
  height: 205px;
  box-sizing: border-box;
  opacity: 0.5;
  transform: translateY(0);
  transition: opacity 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.case-study-card:hover {
  opacity: 1;
  background: rgba(12, 15, 22, 0.88);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
}

/* When Card is Filled/Active on Scroll */
.case-study-card.is-filled {
  opacity: 1;
  background: rgba(10, 12, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.65),
              0 0 24px rgba(255, 45, 120, 0.16),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.case-study-card.is-filled .card-meta-num {
  color: #ffffff;
}

.case-study-card.is-filled .card-meta-tag {
  color: rgba(255, 255, 255, 0.9);
}

.case-study-card.is-filled .case-study-card-title {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.25);
}

.case-study-card.is-filled .case-study-card-desc {
  color: #ffffff;
}

.case-study-card.is-filled .card-watermark-number {
  color: rgba(255, 255, 255, 0.14);
}

/* Card Top Meta Row (01 on left, Category Kicker on right) */
.case-study-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  width: 100%;
}

.card-meta-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.card-meta-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

/* Headings for Card 2 & 3 */
.case-study-card-title {
  font-family: var(--font-sans);
  font-size: 1.42rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

/* Descriptions */
.case-study-card-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 82%;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

/* Watermark Number in Bottom-Right Corner */
.card-watermark-number {
  position: absolute;
  right: 18px;
  bottom: 4px;
  font-family: var(--font-sans);
  font-size: 5.4rem;
  font-weight: 200;
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: -0.04em;
}

/* Bottom Nav Bar with Step Indicators & Arrow Controls */
.case-studies-bottom-nav {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 16px;
}

.case-studies-steps-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.case-study-step-btn {
  background: transparent;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.case-study-step-btn .step-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  margin-right: 8px;
  color: inherit;
}

.case-study-step-btn .step-label {
  color: inherit;
}

.case-study-step-btn.is-active {
  color: #ffffff;
}

.step-progress-bar {
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
  overflow: hidden;
}

.step-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff5e36 0%, #ff2d78 100%);
  box-shadow: 0 0 10px rgba(255, 45, 120, 0.5);
  transition: width 0.35s ease;
}

.case-study-step-btn.is-active .step-progress-fill {
  width: 100%;
}

.case-studies-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.case-study-arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.case-study-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.case-study-arrow-btn.active-arrow,
.case-study-arrow-btn:hover {
  border-color: #ff2d78;
  color: #ff2d78;
  box-shadow: 0 0 14px rgba(255, 45, 120, 0.35);
}

@media (max-width: 992px) {
  .case-studies-pinned-section {
    height: auto !important;
    background: #08090d !important;
    overflow: hidden !important;
    position: relative !important;
  }

  .case-studies-sticky-wrap {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    min-height: 82vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    background: #08090d !important;
    overflow: hidden !important;
  }

  /* Image pinned at top with black top blend and black bottom blend */
  .case-studies-bg-layers {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 56vh !important;
    min-height: 340px !important;
    max-height: 500px !important;
    z-index: 1 !important;
    overflow: hidden !important;
  }

  /* Blended black at top of image */
  .case-studies-bg-layers::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 38% !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background: linear-gradient(
      to bottom,
      #08090d 0%,
      rgba(8, 9, 13, 0.95) 20%,
      rgba(8, 9, 13, 0.6) 55%,
      transparent 100%
    ) !important;
  }

  /* Blended black at bottom of image */
  .case-studies-bg-layers::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 58% !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background: linear-gradient(
      to top,
      #08090d 0%,
      rgba(8, 9, 13, 0.98) 35%,
      rgba(8, 9, 13, 0.72) 65%,
      transparent 100%
    ) !important;
  }

  .case-study-bg-item {
    background-position: center top !important;
    background-size: cover !important;
  }

  /* Scrim overlay muted on mobile in favor of top/bottom blend */
  .case-studies-scrim-overlay {
    display: none !important;
  }

  /* Hide the cards on mobile as requested */
  .case-studies-cards-viewport {
    display: none !important;
  }

  /* Foreground container positioned over the blended black bottom */
  .case-studies-inner-container {
    position: relative !important;
    z-index: 5 !important;
    padding: 38vh 24px 28px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .case-studies-header-deck {
    position: relative !important;
    width: 100% !important;
    min-height: 185px !important;
    margin-top: 0 !important;
  }

  .case-study-header-item {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: auto !important;
  }

  .case-study-logo-wrap {
    margin-bottom: 12px !important;
  }

  .case-study-client-logo {
    height: 28px !important;
    max-width: 140px !important;
  }

  .case-study-title {
    font-size: clamp(1.55rem, 5.8vw, 1.75rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin: 0 0 14px 0 !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8) !important;
  }

  .case-study-cta-wrap {
    margin-top: 4px !important;
    display: flex !important;
  }

  .case-study-btn {
    padding: 12px 26px !important;
    font-size: 0.88rem !important;
  }

  /* Bottom nav: compact pills and prev/next arrows */
  .case-studies-bottom-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-top: 22px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  }

  .case-studies-steps-list {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .case-studies-steps-list::-webkit-scrollbar {
    display: none !important;
  }

  .case-study-step-btn {
    padding: 6px 12px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
  }

  .case-study-step-btn.is-active {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
  }

  .case-study-step-btn .step-label {
    display: none !important;
  }

  .case-study-step-btn .step-num {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    margin-right: 0 !important;
    color: inherit !important;
  }

  .case-study-step-btn .step-progress-bar {
    display: none !important;
  }

  .case-studies-arrows {
    display: flex !important;
    gap: 10px !important;
    margin-left: 12px !important;
  }

  .case-study-arrow-btn {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
  }
}

/* ==========================================================================
   CAREERS GRADIENT SECTION (16:9 FULL BACKGROUND MAGNETLINES)
   ========================================================================== */

.careers-gradient-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 580px;
  background: linear-gradient(135deg, #ff5e36 0%, #ff2d78 48%, #b21bb5 100%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 85;
}

/* Subtle atmospheric mesh over the brand gradient */
.careers-gradient-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
              radial-gradient(circle at 18% 85%, rgba(0, 0, 0, 0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

/* Full 16:9 Background MagnetLines Canvas */
.careers-magnet-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.careers-magnet-bg .magnetLines-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.careers-magnet-bg .magnetLines-container canvas {
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.careers-magnet-bg .magnetLines-container span {
  display: block;
  transform-origin: center center;
  will-change: transform;
  transform: rotate(var(--rotate, -10deg));
  border-radius: 999px;
  opacity: 0.52;
}

/* Foreground Content Overlay */
.careers-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.careers-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 580px;
  flex-shrink: 0;
}

.careers-badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
}

.careers-headline {
  font-family: var(--font-sans);
  font-size: clamp(3.2rem, 6.8vw, 5.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.careers-desc {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  max-width: 530px;
  margin: 0 0 36px;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
}

.careers-cta-wrap {
  display: flex;
  align-items: center;
}

/* Apply Now inherits website's standard .btn-talkd .btn-talkd-white cursor-aware gradient */
.careers-apply-btn {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Floating Interactive Tech & Design Cloud */
.careers-tech-stage {
  position: relative;
  width: 700px;
  max-width: 53%;
  height: 530px;
  flex-shrink: 0;
  pointer-events: auto;
}

.tech-float-pill {
  position: absolute;
  z-index: 4;
  cursor: default;
  user-select: none;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.tech-float-pill-inner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 32px -8px rgba(0, 0, 0, 0.24),
              inset 0 1px 1.5px rgba(255, 255, 255, 0.5);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.35s ease;
  will-change: transform;
}

.tech-float-pill:hover .tech-float-pill-inner {
  transform: scale(1.08) translateY(-4px) !important;
  background: rgba(255, 255, 255, 0.32);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 22px 42px -6px rgba(0, 0, 0, 0.35),
              0 0 24px rgba(255, 255, 255, 0.35),
              inset 0 1px 2px rgba(255, 255, 255, 0.7);
}

.tech-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.tech-pill-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.tech-pill-title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.tech-pill-subtitle {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Individual Pill Stage Positioning - Staggered Balanced Constellation */
.tech-pill-figma {
  top: 5%;
  left: 4%;
}

.tech-pill-analytics {
  top: 4%;
  left: 45%;
}

.tech-pill-github {
  top: 8%;
  right: 4%;
}

.tech-pill-claude {
  top: 26%;
  left: 22%;
}

.tech-pill-docker {
  top: 28%;
  right: 6%;
}

.tech-pill-ts {
  top: 48%;
  left: 4%;
}

.tech-pill-react {
  top: 49%;
  left: 46%;
}

.tech-pill-nextjs {
  top: 51%;
  right: 2%;
}

.tech-pill-ai {
  top: 71%;
  left: 22%;
}

.tech-pill-framer {
  top: 75%;
  right: 8%;
}

@media (max-width: 992px) {
  /* Square section on mobile with pure vibrant gradient */
  .careers-gradient-section {
    aspect-ratio: 1 / 1 !important;
    width: 100% !important;
    min-height: auto !important;
    max-height: clamp(360px, 100vw, 460px) !important;
    padding: 24px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #ff5e36 0%, #ff2d78 48%, #b21bb5 100%) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Remove background magnet lines on mobile */
  .careers-magnet-bg {
    display: none !important;
  }

  /* Remove floating tech and design badges on mobile */
  .careers-tech-stage {
    display: none !important;
  }

  /* Centered content showing only headline, narrative and button */
  .careers-container {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0 !important;
  }

  .careers-content {
    align-items: center !important;
    text-align: center !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  .careers-headline {
    font-size: clamp(1.9rem, 7vw, 2.45rem) !important;
    font-weight: 500 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
    margin: 0 0 14px 0 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22) !important;
  }

  .careers-desc {
    font-size: clamp(0.82rem, 2.9vw, 0.92rem) !important;
    line-height: 1.48 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 285px !important;
    margin: 0 0 22px 0 !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15) !important;
  }

  .careers-cta-wrap {
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .careers-apply-btn {
    padding: 12px 28px !important;
    font-size: 0.92rem !important;
  }
}

/* ==========================================================================
   CONVERSE CONTACT SECTION (Luminous Interactive Wave Flows)
   ========================================================================== */

.converse-contact-section {
  position: relative;
  width: 100%;
  min-height: 420px;
  background-color: #03040a;
  color: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 110px;
  z-index: 80;
  box-sizing: border-box;
}

/* Seamless bottom fade into footer */
.converse-contact-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(
    to bottom,
    rgba(3, 4, 10, 0) 0%,
    rgba(3, 4, 10, 0.75) 60%,
    #03040a 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Background Flowy Waves Layer */
.converse-waves-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.converse-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Ambient glow backdrop overlay behind centered text */
.converse-ambient-glow {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 750px;
  height: 360px;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(255, 94, 54, 0.08) 0%, rgba(224, 40, 116, 0.04) 50%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

/* Content Container - Centered */
.converse-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.converse-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.converse-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff5e36;
  margin-bottom: 22px;
}

/* Centered high-impact headline */
.converse-headline {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.3rem, 4.2vw, 3.8rem) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin: 0 auto 36px auto !important;
  letter-spacing: -0.015em !important;
  text-shadow: none !important;
  max-width: 900px;
}

.converse-break {
  display: block;
}

.converse-headline .highlight-orange {
  background: linear-gradient(135deg, #ff7a45 0%, #ff5238 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.converse-headline .highlight-pink {
  background: linear-gradient(135deg, #ff2d78 0%, #d81db0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 500;
}

.converse-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* White button inheriting website's standard .btn-talkd.btn-talkd-white style */
.converse-btn-talk {
  padding: 14px 34px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  background-color: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45) !important;
}

.converse-btn-talk:hover {
  color: #ffffff !important;
  border-color: transparent !important;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .converse-contact-section {
    padding: 80px 0 90px;
    min-height: 360px;
  }
  .converse-container {
    padding: 0 32px;
  }
  .converse-content {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .converse-contact-section {
    padding: 65px 0 75px;
    min-height: auto;
  }
  .converse-container {
    padding: 0 20px;
  }
  .converse-content {
    max-width: 100%;
  }
  .converse-headline {
    margin-bottom: 28px !important;
  }
  .converse-btn-talk {
    padding: 13px 28px !important;
    font-size: 0.9rem !important;
  }
}

/* ==========================================================================
   TALKD CELESTIAL LANDSCAPE FOOTER (16:9 Aspect Ratio Cinematic Canvas)
   ========================================================================== */

.talkd-footer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 580px;
  background-color: #03040a;
  color: #ffffff;
  font-family: var(--font-sans);
  overflow: hidden;
  z-index: 70;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Renaissance Landscape 16:9 Canvas Background */
.footer-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  background-color: #03040a;
}

/* Atmospheric Top Fade: Seamlessly dissolves darkness from the Converse section into the landscape */
.footer-bg-canvas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    #03040a 0%,
    rgba(3, 4, 10, 0.95) 15%,
    rgba(3, 4, 10, 0.72) 35%,
    rgba(3, 4, 10, 0.35) 60%,
    rgba(3, 4, 10, 0.08) 85%,
    transparent 100%
  );
}

/* Atmospheric Bottom Fade: Ensures newsletter & footer columns have pristine contrast */
.footer-bg-canvas::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(3, 4, 10, 0.95) 0%,
    rgba(3, 4, 10, 0.65) 45%,
    transparent 100%
  );
}

.footer-bg-img,
.footer-bg-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.footer-bg-video-mobile {
  display: none !important;
}

/* Interactive Content Layer positioned over the lower midnight region */
.footer-content-overlay {
  position: relative;
  width: 100%;
  z-index: 2;
  box-sizing: border-box;
  padding-bottom: 2.8vw;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* 4-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 28px 44px;
  align-items: start;
}

.footer-col-connected {
  padding-right: 20px;
}

/* Philosophical Heading (replaces newsletter input per design) */
.footer-philosophical-heading {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.15vw, 2.2rem);
  line-height: 1.32;
  letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.94);
  margin: 0 0 24px 0;
  max-width: 380px;
}

.footer-privacy-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-privacy-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.015em;
}

.footer-col-desc {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  line-height: 1.5;
  color: rgba(220, 230, 242, 0.75);
  margin: 0 0 18px 0;
  max-width: 320px;
}

/* Newsletter Input Pill */
.footer-newsletter-form {
  position: relative;
  margin-bottom: 18px;
}

.footer-input-pill {
  display: flex;
  align-items: center;
  background: rgba(7, 9, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px 4px 3px 18px;
  max-width: 320px;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background-color 0.35s ease;
}

.footer-input-pill:focus-within {
  border-color: rgba(255, 94, 54, 0.85);
  box-shadow: 0 0 20px rgba(255, 94, 54, 0.35), 0 0 35px rgba(224, 40, 116, 0.2);
  background: rgba(7, 9, 14, 0.92);
}

.footer-email-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  padding: 8px 6px 8px 0;
  min-width: 0;
}

.footer-email-input::placeholder {
  color: rgba(220, 230, 242, 0.5);
  font-family: var(--font-sans);
}

/* Circular TALKD Brand Gradient Submit Button */
.footer-submit-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #ff5e36 0%, #ff2d78 48%, #b21bb5 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, filter 0.28s ease;
  padding: 0;
  outline: none;
  box-shadow: 0 2px 14px rgba(255, 94, 54, 0.45);
  isolation: isolate;
}

.footer-submit-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.12);
  box-shadow: 0 4px 22px rgba(255, 45, 120, 0.65), 0 0 28px rgba(255, 94, 54, 0.45);
}

.footer-submit-btn:active {
  transform: scale(0.96);
}

/* Sliding Arrow Track (identical to the Services card arrow animation) */
.footer-arrow-track {
  position: relative;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.footer-arrow-track .footer-arrow-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  color: #ffffff;
  will-change: transform, opacity;
}

.footer-arrow-track .footer-arrow-main {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.footer-arrow-track .footer-arrow-clone {
  transform: translateX(-30px);
  opacity: 0;
  transition: transform 0.52s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

/* On hover: main arrow exits forward (right) out of circle, clone enters from left into center */
.footer-submit-btn:hover .footer-arrow-track .footer-arrow-main,
.footer-input-pill:hover .footer-submit-btn .footer-arrow-track .footer-arrow-main {
  transform: translateX(30px);
  opacity: 0;
}

.footer-submit-btn:hover .footer-arrow-track .footer-arrow-clone,
.footer-input-pill:hover .footer-submit-btn .footer-arrow-track .footer-arrow-clone {
  transform: translateX(0);
  opacity: 1;
}

.footer-form-feedback {
  font-size: 0.82rem;
  margin-top: 6px;
  min-height: 18px;
  color: #ff5e36;
  transition: opacity 0.3s ease;
}

/* Social Icons */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.footer-social-link:hover {
  color: #ff5e36;
  transform: translateY(-2px);
  filter: drop-shadow(0 2px 8px rgba(255, 94, 54, 0.5));
}

/* Services, About Us, Insights Columns */
.footer-col-accent {
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #ff5e36 0%, #ff2d78 100%);
  border-radius: 2px;
  margin: 8px 0 16px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link {
  color: rgba(220, 230, 242, 0.72);
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 0.95vw, 0.95rem);
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Center Brand Divider with Vector TALKD Logo */
.footer-divider-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: clamp(24px, 3.5vw, 44px) auto clamp(16px, 2.2vw, 26px);
}

.footer-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 94, 54, 0.1) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(224, 40, 116, 0.1) 100%);
}

.footer-divider-clean .footer-divider-line {
  background: rgba(255, 255, 255, 0.18);
}

.footer-divider-star {
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 0 6px rgba(255, 94, 54, 0.5));
  transition: transform 0.35s ease;
}

.footer-divider-row:hover .footer-divider-star {
  transform: rotate(45deg);
}

.footer-brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-brand-logo-link:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(255, 94, 54, 0.5));
}

.footer-talkd-logo {
  height: clamp(24px, 2.2vw, 30px);
  width: auto;
  display: block;
}

/* Bottom Copyright Row */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: clamp(0.78rem, 0.88vw, 0.88rem);
  color: rgba(220, 230, 242, 0.55);
  font-family: var(--font-sans);
}

.footer-copyright-text,
.footer-tagline-text {
  margin: 0;
  font-size: inherit;
}

.footer-parent-agency {
  color: rgba(220, 230, 242, 0.78);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-tagline-text {
  letter-spacing: 0.01em;
}

/* Responsive Breakpoints for Tablet & Mobile */
@media (max-width: 992px) {
  .footer-bg-video-desktop {
    display: none !important;
  }
  .footer-bg-video-mobile {
    display: block !important;
    object-position: center center !important;
  }
  .talkd-footer {
    aspect-ratio: auto;
    min-height: auto;
  }
  .footer-content-overlay {
    padding-top: 260px;
    padding-bottom: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-col-connected {
    grid-column: 1 / -1;
    padding-right: 0;
    max-width: 440px;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 0 20px;
  }
  .footer-content-overlay {
    padding-top: 200px;
    padding-bottom: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-input-pill {
    max-width: 100%;
  }
  .footer-divider-row {
    margin: 28px auto 16px;
    gap: 10px;
  }
  .footer-divider-star {
    width: 12px;
    height: 12px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

