/* ==========================================================================
   HOMEPAGE STYLESHEET (css/home.css)
   Visual Inspiration: Nutriholic Diet (Deep Forest Emerald, Warm Terracotta/Coral,
   Refined Typography Hierarchy, Layered Cards, Polished Spacing)
   ========================================================================== */

/* --------------------------------------------------------------------------
   HERO SECTION: DUAL-ASPECT VIDEO REEL
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   HERO SECTION: DUAL-ASPECT PREMIUM VIDEO REEL
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   HERO SECTION: FULL-WIDTH CINEMATIC VIDEO REEL
   -------------------------------------------------------------------------- */

.home-hero-section.full-width-hero {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  background: #07251F;
}

/* Background video fills entire hero behind transparent header with 0 gap */
.hero-fullwidth-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.hero-media-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: #07251F;
  border: none;
  box-shadow: none;
}

.hero-bg-video,
.hero-bg-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  pointer-events: none;
}

/* Cinematic Dark Vignette & Readability Gradient */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.18) 35%, rgba(0,0,0,0.25) 70%, rgba(7,37,31,0.92) 100%);
}

/* Centered Typography & Play Action matching Figma design */
.hero-content-cinema {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 920px;
  padding: 130px 24px 60px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content-cinema h1 {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(30px, 4.5vw, 54px);
  font-weight: 800;
  line-height: 1.16;
  color: #FFFFFF;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}

.hero-content-cinema .hero-aspect-heading {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(26px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}

.hero-content-cinema p {
  font-size: clamp(15px, 1.9vw, 19px);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 400;
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

/* Centered White Circle Play/Sound Button */
.hero-play-circle-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  box-shadow: 0 0 36px rgba(0, 208, 156, 0.65), 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-play-circle-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 0 50px rgba(0, 208, 156, 0.9), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.hero-play-circle-btn svg {
  width: 28px;
  height: 28px;
  fill: #00D09C;
  margin-left: 4px;
}

.hero-media-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(7, 37, 31, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  pointer-events: none;
}

.hero-video-controls-bottom {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 4;
}

.hero-sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(7, 37, 31, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-sound-toggle-btn:hover {
  background: rgba(0, 208, 156, 0.9);
  color: #07251F;
  border-color: #00D09C;
  transform: translateY(-2px);
}

.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s ease;
}

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

/* --------------------------------------------------------------------------
   SECTION: "WE BUILD IDEAS THAT WORK..." (INTERACTIVE TABS)
   -------------------------------------------------------------------------- */

.home-services-section {
  padding: 90px 0 70px;
}

.services-header {
  margin-bottom: 48px;
}

.services-layout {
  display: grid;
  grid-template-columns: 370px 1fr;
  gap: 40px;
  align-items: stretch;
}

.services-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.service-tab-btn .tab-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  color: var(--color-primary);
  transition: all 0.25s ease;
}

.service-tab-btn .tab-title {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  flex: 1;
}

.service-tab-btn:hover {
  background: #FFFFFF;
  border-color: var(--color-accent, #00C8B3);
  color: var(--color-accent-hover, #00B09D);
  text-decoration: none;
  transform: translateX(4px);
}

.service-tab-btn:visited {
  color: var(--text-secondary);
  text-decoration: none;
}

.service-tab-btn.active {
  background: var(--color-accent, #00C8B3) !important;
  border-color: var(--color-accent, #00C8B3) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 200, 179, 0.35);
  transform: translateX(6px);
}

.service-tab-btn.active:visited {
  color: #FFFFFF !important;
}

.service-tab-btn.active .tab-icon {
  background: #FFFFFF !important;
  color: var(--color-accent, #00C8B3) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.service-display-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  transition: all 0.35s ease;
  height: 100%;
  min-height: auto;
  max-height: none;
  align-items: stretch;
}

.service-card-media {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
  max-height: none;
  background: #0C3E34;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.service-display-card:hover .service-card-img {
  transform: scale(1.03);
}

.service-card-body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  background: #FFFFFF;
}

.service-card-body p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-primary);
  border-left: 3px solid var(--color-accent, #00C8B3);
  padding-left: 18px;
}

.service-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent, #00C8B3) !important;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 4px 14px rgba(0, 200, 179, 0.35);
  transition: all 0.25s ease;
  align-self: flex-start;
  text-decoration: none;
}

.service-card-cta:hover {
  background: var(--color-accent-hover, #00B09D) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 200, 179, 0.45);
}

/* --------------------------------------------------------------------------
   SECTION: "BRANDS WE'RE PROUD TO WORK WITH"
   -------------------------------------------------------------------------- */

.home-brands-section {
  padding: 70px 0 90px;
  text-align: center;
}

.brands-title {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.brands-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
}

.brands-pill-container {
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 208, 156, 0.28);
  border-radius: 999px;
  max-width: 960px;
  width: 92%;
  margin: 0 auto;
  height: 68px;
  padding: 0;
  box-shadow: 0 12px 36px rgba(0, 208, 156, 0.08), 0 2px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
  user-select: none;
  /* Smooth horizontal fade at curved pill edges */
  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%);
}

.brands-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  flex-shrink: 0;
  animation: brandsScrollMarquee 26s linear infinite;
  will-change: transform;
}

.brands-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  animation: brandsScrollMarquee 26s linear infinite;
  will-change: transform;
}

.brands-pill-container:hover .brands-marquee-track,
.brands-pill-container:hover .brands-marquee-group {
  animation-play-state: paused;
}

@keyframes brandsScrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brand-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 34px;
  flex: 0 0 auto;
  cursor: default;
  transition: transform 0.25s ease;
}

.brand-item:hover {
  transform: translateY(-2px) scale(1.05);
}

.brand-item .brand-logo-img {
  max-height: 36px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none !important;
  opacity: 0.95;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-item:hover .brand-logo-img {
  filter: none !important;
  opacity: 1 !important;
}

.brand-item-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   SECTION: "IDEAS THAT MADE IT WORK.." (FULL-IMAGE OVERLAY CARDS STACK)
   -------------------------------------------------------------------------- */

.home-case-studies-section {
  position: relative;
  width: 100%;
  padding: 0;
  background: #f7f8fa;
}

.case-studies-header-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 100px 24px 48px;
}

.case-studies-header-block .kicker-badge {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.case-studies-header-block .section-title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111827;
  margin: 0 0 16px;
}

.case-studies-header-block .section-title em {
  font-style: italic;
  font-weight: 400;
}

.case-studies-header-block .section-subtitle {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif);
  color: #64748b;
  font-size: clamp(0.95rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto;
}

/* Full-image overlay cards stack */
.overlay-stack {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

.overlay-card {
  position: sticky;
  top: 92px;
  height: min(72vh, 680px);
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.28);
  isolation: isolate;
  transform: translateZ(0);
  margin-bottom: 18vh;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  will-change: transform, filter;
}

.overlay-card:hover {
  box-shadow: 0 36px 90px -25px rgba(0, 0, 0, 0.38);
}

.overlay-card:last-child {
  margin-bottom: 0;
}

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

.overlay-media {
  z-index: -2;
  overflow: hidden;
}

.overlay-media img {
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 1s ease;
  will-change: transform;
}

.overlay-card.is-visible .overlay-media img {
  transform: scale(1);
}

/* Darken the side where the text sits, while keeping the photo visible */
.overlay-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0.1) 32%,
      rgba(0, 0, 0, 0.38) 58%,
      rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.16), transparent 45%);
}

.overlay-content {
  position: absolute;
  top: 50%;
  right: clamp(28px, 6.5vw, 95px);
  width: min(46%, 520px);
  transform: translate3d(38px, -50%, 0);
  opacity: 0;
  transition:
    opacity 0.8s ease 0.15s,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  color: #ffffff;
  z-index: 2;
}

.overlay-card.is-visible .overlay-content {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}

.overlay-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif);
  font-size: clamp(10px, 0.85vw, 12px);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.overlay-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-wrap: balance;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
}

.overlay-copy {
  max-width: 470px;
  margin-top: 20px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.88rem, 1.1vw, 1.02rem);
  line-height: 1.7;
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif);
}

.overlay-actions {
  margin-top: 28px;
}

.overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: 9999px;
  background-color: #F8FAF9;
  color: #07251F;
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.overlay-btn:hover {
  background-color: #FFFFFF;
  color: #00C8B3;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
}

.overlay-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.overlay-btn:hover svg {
  transform: translateX(2px);
}

.overlay-badge {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.overlay-badge-avatar {
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.overlay-badge-text {
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif);
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.01em;
}

.overlay-number {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Plus Jakarta Sans', var(--font-sans, sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.overlay-footer-cta {
  text-align: center;
  padding: 16px 24px 60px;
}

.overlay-footer-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .overlay-card {
    height: 72vh;
    min-height: 540px;
  }

  .overlay-content {
    width: min(60%, 500px);
    right: 42px;
  }
}

@media (max-width: 767px) {
  .case-studies-header-block {
    padding: 70px 18px 36px;
  }

  .overlay-stack {
    padding: 0 16px 80px;
  }

  .overlay-card {
    top: 78px;
    height: 76vh;
    min-height: 560px;
    border-radius: 24px;
    margin-bottom: 12vh;
  }

  .overlay-shade {
    background:
      linear-gradient(0deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.52) 42%,
        rgba(0, 0, 0, 0.08) 75%,
        rgba(0, 0, 0, 0.02) 100%);
  }

  .overlay-content {
    left: 22px;
    right: 22px;
    bottom: 30px;
    top: auto;
    width: auto;
    transform: translate3d(0, 28px, 0);
  }

  .overlay-card.is-visible .overlay-content {
    transform: translate3d(0, 0, 0);
  }

  .overlay-title {
    font-size: clamp(1.75rem, 7.5vw, 2.6rem);
    line-height: 1.08;
  }

  .overlay-copy {
    margin-top: 12px;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .overlay-badge {
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    max-width: calc(100% - 96px);
    box-sizing: border-box;
  }

  .overlay-badge-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 11px;
  }

  .overlay-actions {
    margin-top: 18px;
  }

  .overlay-btn {
    padding: 11px 22px;
    font-size: 13px;
  }

  .overlay-number {
    left: auto;
    right: 16px;
    bottom: auto;
    top: 16px;
    font-size: 10px;
    padding: 4px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .overlay-media img,
  .overlay-content {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   SECTION: "TEAM THAT WORKING TO MAKE IT."
   -------------------------------------------------------------------------- */

.home-team-section {
  padding: 100px 0 110px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.team-header {
  margin-bottom: 54px;
}

/* =========================
   TEAM CONTAINER (MATCHING REFERENCE)
========================= */

.team-wrapper {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
  overflow: visible;
}

.team {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  min-height: 280px;
}

/* =========================
   MEMBER CARD
========================= */

.member {
  position: relative;

  /* Closed state */
  width: 114px;
  height: 280px;
  flex: 0 0 114px;

  border-radius: 60px;
  overflow: hidden;
  cursor: pointer;

  transition:
    width 0.55s cubic-bezier(.22, .61, .36, 1),
    flex-basis 0.55s cubic-bezier(.22, .61, .36, 1),
    border-radius 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.45s ease;

  background: #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* HOVER / EXPANDED STATE */
.member:hover,
.member.expanded {
  width: 500px;
  flex-basis: 500px;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.16);
}

/* IMAGE */
.member-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    width 0.55s cubic-bezier(.22, .61, .36, 1),
    filter 0.4s ease;
}

.member:hover .member-image,
.member.expanded .member-image {
  width: 52%;
  filter: brightness(0.85);
}

/* Dark gradient over image */
.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0.1) 60%);
  pointer-events: none;
  transition: background 0.4s ease;
}

.member:hover .image-overlay,
.member.expanded .image-overlay {
  background: linear-gradient(to right, rgba(0,0,0,.2) 0%, rgba(0,0,0,.02) 100%);
}

/* CLOSED CARD TEXT */
.mini-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  text-align: center;
  color: white;
  padding: 0 8px;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.3s ease;
}

.mini-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.mini-role {
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.2;
  opacity: .92;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}

.linkedin-mini {
  margin-top: 10px;
  width: 20px;
  height: 20px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #0E4438;
  font-size: 11px;
  font-weight: 800;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Hide pill text when expanded */
.member:hover .mini-info,
.member.expanded .mini-info {
  opacity: 0;
  transform: translateY(10px);
}

/* EXPANDED INFORMATION */
.expanded-info {
  position: absolute;
  left: 52%;
  top: 0;
  width: 48%;
  height: 100%;
  padding: 28px 24px;
  background: white;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition:
    opacity 0.3s ease 0.18s,
    transform 0.45s ease 0.12s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  overflow-y: auto;
}

.member:hover .expanded-info,
.member.expanded .expanded-info {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.expanded-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0E4438;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}

.linkedin-large {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #00D09C;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.linkedin-large:hover {
  background: #0E4438;
  transform: scale(1.1);
}

.expanded-role {
  color: #555;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.description {
  color: #222;
  font-size: 12.5px;
  line-height: 1.45;
}

/* MOBILE ADAPTATION */
@media (max-width: 900px) {
  .team {
    gap: 12px;
    overflow-x: auto;
    padding: 15px 10px 30px;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .member {
    width: 100px;
    flex: 0 0 100px;
  }
  .member:hover,
  .member.expanded {
    width: 380px;
    flex: 0 0 380px;
  }
}

/* --------------------------------------------------------------------------
   SECTION: "QUESTIONS WE'RE OFTEN ASKED." (FAQ)
   -------------------------------------------------------------------------- */

.home-faq-section {
  padding: 90px 0 110px;
}

.faq-header {
  margin-bottom: 54px;
  text-align: center;
}

.faq-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 52px;
  align-items: flex-start;
}

.faq-portrait-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 5;
  background: #E8EFEA;
}

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

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item-header {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  user-select: none;
}

.faq-item-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color 0.25s ease;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item.active {
  border-left: 4px solid var(--color-accent);
  border-color: var(--border-warm);
  box-shadow: 0 10px 28px rgba(18, 95, 80, 0.08);
}

.faq-accordion-item.active .faq-item-title {
  color: var(--color-primary-dark);
}

.faq-accordion-item.active .faq-toggle-icon {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #FFFFFF;
  transform: rotate(45deg);
}

.faq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 26px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-accordion-item.active .faq-item-body {
  max-height: 220px;
  padding: 0 26px 22px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (HOMEPAGE)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .services-layout {
    grid-template-columns: 1fr;
  }
  .case-studies-preview-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-portrait-wrapper {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .home-hero-section.full-width-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
    margin: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #07251F;
  }
  .home-hero-section:not(.full-width-hero) {
    padding: 20px 0 40px;
    min-height: auto;
    margin-top: 0;
  }
  .hero-header-container {
    padding: 0 18px;
    margin-bottom: 22px;
  }
  .hero-fullwidth-video-wrap {
    position: absolute;
    inset: 0;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
  }
  .hero-video-banner {
    padding: 34px 18px 24px;
    border-radius: var(--radius-lg);
  }
  .hero-video-header {
    margin-bottom: 20px;
  }
  .hero-video-header h1,
  .hero-video-header h2 {
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 10px;
  }
  .hero-video-header p {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 0;
  }
  .hero-badge-pill {
    padding: 6px 14px;
    font-size: 11px;
    margin-bottom: 14px;
  }
  .hero-media-wrapper {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    border-left: none;
    border-right: none;
    max-height: none;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  }
  .full-width-hero .hero-media-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .services-layout {
    gap: 24px;
  }
  .service-display-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    min-height: auto;
    max-height: none;
  }
  .service-card-media {
    width: 100%;
    height: 250px;
    min-height: 250px;
    max-height: 250px;
  }
  .service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .service-card-body {
    padding: 28px 22px;
  }
  .service-card-body p {
    font-size: 17px;
  }
  .home-brands-section {
    padding: 50px 0 60px;
  }
  .brands-title {
    font-size: 32px;
    margin-bottom: 22px;
  }
  .brands-pill-container {
    height: 58px;
    padding: 0;
    justify-content: flex-start;
  }
  .brand-item {
    font-size: 18px;
  }
  .case-studies-preview-grid {
    gap: 20px;
  }
  .case-study-hero-card {
    border-radius: var(--radius-lg);
  }
  .cs-card-title {
    font-size: 24px;
  }
  .case-study-compact-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }
  .compact-card-media {
    height: 170px;
  }
  .home-team-section {
    padding: 60px 0 70px;
  }
  .home-faq-section {
    padding: 60px 0 80px;
  }
}

/* ==========================================================================
   TEAM COMMUNITY CLOUD SECTION (FIGMA DESIGN)
   ========================================================================== */
.figma-team-cloud-section {
  position: relative;
  width: 100%;
  background: #f7f9fa;
  padding: 100px 0 80px;
  overflow: hidden;
}

.figma-team-cloud-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-cloud-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.team-cloud-kicker {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 14px;
}

.team-cloud-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(36px, 4.6vw, 60px) !important;
  font-weight: 400 !important;
  color: #1a1a1a !important;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
}

.team-cloud-title .team-cursive {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  margin-right: 6px;
}

.team-cloud-scroll-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0 40px;
}

.team-cloud-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.team-cloud-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: max-content;
  margin: 0 auto;
  padding: 0 40px;
}

.team-cloud-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-shrink: 0;
}

/* Row horizontal staggering for the floating cloud aesthetic matching Figma */
.team-cloud-row:nth-child(1) {
  transform: translateX(-20px);
}
.team-cloud-row:nth-child(2) {
  transform: translateX(10px);
}
.team-cloud-row:nth-child(3) {
  transform: translateX(-35px);
}
.team-cloud-row:nth-child(4) {
  transform: translateX(25px);
}
.team-cloud-row:nth-child(5) {
  transform: translateX(-15px);
}

/* White Pill Person Card */
.team-cloud-pill {
  background: #ffffff;
  border-radius: 9999px;
  padding: 5px 22px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: default;
  user-select: none;
  flex-shrink: 0;
}

.team-cloud-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.team-cloud-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.team-cloud-name {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Vibrant Teal Join Us Circle Button */
.team-cloud-join-btn {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 50%;
  background: #00D09C;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.15;
  box-shadow: 0 4px 15px rgba(0, 208, 156, 0.32);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.team-cloud-join-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 208, 156, 0.5);
}

/* Scroll To Top Round Arrow Button (Bottom Right) */
.team-cloud-scrolltop-wrap {
  position: absolute;
  bottom: 24px;
  right: 36px;
  z-index: 10;
}

.team-cloud-scrolltop {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.team-cloud-scrolltop:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .figma-team-cloud-section {
    padding: 70px 0 60px;
  }
  .team-cloud-header {
    margin-bottom: 35px;
  }
  .team-cloud-rows {
    gap: 12px;
    padding: 0 20px;
  }
  .team-cloud-row {
    gap: 12px;
  }
  .team-cloud-join-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 9px;
  }
  .team-cloud-pill {
    padding: 4px 16px 4px 5px;
    gap: 10px;
  }
  .team-cloud-avatar {
    width: 40px;
    height: 40px;
  }
  .team-cloud-name {
    font-size: 13.5px;
  }
  .team-cloud-scrolltop-wrap {
    bottom: 16px;
    right: 20px;
  }

/* ==========================================================================
   HOMEPAGE REVIEWS / CLIENT STORIES (FIGMA ACCURATE CAPSULE DESIGN)
   ========================================================================== */
.home-reviews-section,
.figma-testimonials-section {
  display: none !important; /* Temporarily hidden per request, remove to unhide */
  padding: 80px 0;
  position: relative;
  background: #FAFCFB;
  overflow: hidden;
}

.testimonials-header {
  margin-bottom: 36px;
  text-align: left;
}

.testimonials-header .kicker-tag {
  color: #5A6B66;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.testimonials-header .section-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 600;
  color: #111A18;
  letter-spacing: -0.02em;
}

.testimonials-header .section-title em {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic;
  font-weight: 700;
  color: #00D09C;
  margin-right: 6px;
}

.testimonials-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.testimonials-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 42px 0 36px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y pinch-zoom;
}

.testimonials-carousel-viewport:active {
  cursor: grabbing;
}

.testimonials-cards-track {
  display: flex;
  gap: 32px;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.figma-testimonial-card {
  flex: 0 0 calc((100% - 32px) / 2);
  width: calc((100% - 32px) / 2);
  max-width: calc((100% - 32px) / 2);
  min-width: 0;
  box-sizing: border-box;
  height: 165px;
  display: flex;
  align-items: stretch;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.card-logo-part {
  width: 130px;
  background: #FFFFFF;
  border-radius: 16px 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-right: none;
}

.client-logo-img {
  max-width: 84px;
  max-height: 70px;
  object-fit: contain;
  display: block;
}

.client-capsule-photo {
  position: absolute;
  top: 50%;
  left: 92px;
  transform: translateY(-50%);
  width: 98px;
  height: 220px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  z-index: 10;
}

.client-capsule-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-quote-part {
  flex: 1;
  background: #00C49F;
  color: #07251F;
  padding: 24px 24px 20px 72px;
  border-radius: 0 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-quote-part .quote-text {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #07251F;
  font-weight: 500;
  margin: 0;
}

.card-quote-part .client-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #07251F;
  margin-top: 14px;
}

.card-quote-part .client-name {
  font-weight: 700;
  color: #07251F;
}

.card-quote-part .client-sep {
  opacity: 0.5;
  color: #07251F;
}

.card-quote-part .client-role {
  font-style: italic;
  opacity: 0.85;
  font-size: 10.5px;
  color: #07251F;
}

/* Controls below cards, right-aligned */
.testimonials-nav-controls.right-aligned {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 18px;
  padding-right: 12px;
}

.t-chevron-btn {
  background: transparent;
  border: none;
  color: #00C49F;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.t-chevron-btn:hover {
  transform: scale(1.15);
  opacity: 0.85;
}

.t-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E5E7EB;
  cursor: pointer;
  transition: all 0.3s ease;
}

.t-dot.active {
  background: #00C49F;
  width: 10px;
  height: 10px;
}

@media (max-width: 900px) {
  .figma-testimonial-card {
    flex: 0 0 100%;
    min-width: 320px;
  }
}

@media (max-width: 580px) {
  .figma-testimonial-card {
    min-width: 280px;
    height: auto;
    flex-direction: column;
  }
  .card-logo-part {
    width: 100%;
    border-radius: 16px 16px 0 0;
    border-right: 1px solid rgba(0,0,0,0.04);
    border-bottom: none;
  }
  .client-capsule-photo {
    position: static;
    transform: none;
    width: 90px;
    height: 160px;
    margin: -30px auto 10px;
  }
  .card-quote-part {
    border-radius: 0 0 16px 16px;
    padding: 20px;
  }
}

