::-webkit-scrollbar {
width: 6px;
}

/* Keep feature-flagged homepage blocks out of layout while hidden */
[data-wwh-when-reviews][hidden] {
  display: none !important;
}

::-webkit-scrollbar-track {
background: #000;
border-left: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
background: rgba(0, 255, 255, 0.2);
}
::-webkit-scrollbar-thumb:hover {
background: rgba(0, 255, 255, 0.5);
}
.vertical-streaks {
background-image: linear-gradient(90deg, transparent 99%, rgba(0, 255, 255, 0.03) 100%);
background-size: 10vw 100%;
}
.crt-scanlines {
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.2));
background-size: 100% 4px;
}
@keyframes scan-horizontal {
0% { transform: translateX(-100%); }
100% { transform: translateX(200%); }
}
.animate-scan-line {
animation: scan-horizontal 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes hero-rise {
0% { opacity: 0; transform: translate3d(0, 24px, 0); }
100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
.animate-hero-rise {
animation: hero-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.animate-float {
animation: float 5s ease-in-out 1.2s infinite;
}
.reveal-on-scroll {
opacity: 0;
transform: translate3d(0, 28px, 0);
transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
transition-delay: var(--reveal-delay, 0ms);
will-change: transform, opacity;
}
.reveal-on-scroll.in-view {
opacity: 1;
transform: translate3d(0, 0, 0);
}
.kinetic-heading {
opacity: 0;
filter: blur(8px);
transform: translate3d(0, 26px, 0) scale(0.98);
transition: opacity 900ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
will-change: transform, opacity, filter;
}
.kinetic-heading.in-view {
opacity: 1;
filter: blur(0);
transform: translate3d(0, 0, 0) scale(1);
}
#scroll-progress {
transform-origin: left center;
transform: scaleX(0);
transition: transform 120ms linear;
}
.magnetic-card {
--mx: 0px;
--my: 0px;
}
.magnetic-card.reveal-on-scroll {
transform: translate3d(0, 28px, 0);
}
.magnetic-card.reveal-on-scroll.in-view {
transform: translate3d(0, 0, 0);
}
.js-parallax {
will-change: transform;
}
/* Existing hero readability shade — scoped so it does not darken the team/banner */
.home-hero-readability-shade {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34), transparent);
}
@media (max-width: 1023px) {
  .home-hero-readability-shade {
    /* Keep copy readable at the top; leave the lower team/banner zone clear */
    inset: 0 0 auto 0;
    height: 55%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.16) 60%, transparent 100%);
  }
}

/* Subtle homepage lift (~8% brighter atmosphere / effects) */
body[data-page="home"] > .crt-scanlines {
  opacity: 0.28;
}
body[data-page="home"] > .vertical-streaks {
  background-image: linear-gradient(90deg, transparent 99%, rgba(0, 255, 255, 0.055) 100%);
}
body[data-page="home"] #home > [data-us-project] {
  filter: brightness(1.08) contrast(1.04) saturate(1.06);
}
body[data-page="home"] #home .hero-visual-img {
  filter: brightness(1.06) contrast(1.03) saturate(1.04);
}
body[data-page="home"] #home .hero-team-banner {
  background: rgba(8, 16, 24, 0.88);
  border-color: rgba(34, 211, 238, 0.62);
  box-shadow: 0 0 28px rgba(34, 211, 238, 0.08);
}
body[data-page="home"] #worthy-reviews {
  background-image: linear-gradient(to bottom, rgba(8, 51, 68, 0.32), rgba(23, 23, 23, 0.92), #0a0a0a);
}

/* Home hero cutout: sit on dark UnicornStudio atmosphere with soft cyan presence */
.hero-visual-wrap {
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-visual-wrap {
    align-items: flex-end;
  }
}
.hero-visual-img {
  opacity: 1;
  filter: none;
  /* Knock out the baked-black plate in the PNG so it doesn't read as a dark slab/shadow */
  mix-blend-mode: lighten;
  /* Soften the hard mid-thigh crop so the banner can cut the legs cleanly */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, 0.75) 82%,
    rgba(0, 0, 0, 0.25) 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 68%,
    rgba(0, 0, 0, 0.75) 82%,
    rgba(0, 0, 0, 0.25) 93%,
    transparent 100%
  );
}
.hero-team-banner {
  position: relative;
  z-index: 12;
  /* Stretch with the team image so feet aren't left hanging past the box */
  width: 100%;
  max-width: none;
  /* Pull up so the box edge crops the legs — no floating gap */
  margin: -1.85rem 0 0;
  padding: 14px 20px 15px;
  background: rgba(4, 10, 16, 0.94);
  border: 1px solid rgba(30, 220, 255, 0.5);
  box-shadow: none;
  text-align: center;
}
@media (min-width: 1024px) {
  .hero-team-banner {
    /* Nudge ~1–1.5cm left + slight stretch to cover the left foot */
    width: calc(100% + 1.15rem);
    margin-left: -1.15rem;
    margin-right: 0;
  }
}
@media (min-width: 1280px) {
  .hero-team-banner {
    width: calc(100% + 1.5rem);
    margin-left: -1.5rem;
  }
}
.hero-team-banner-accent {
  display: block;
  width: 1.75rem;
  height: 2px;
  margin: 0 auto 0.55rem;
  background: linear-gradient(90deg, transparent, #d4af37 20%, #f0d78c 50%, #d4af37 80%, transparent);
}
.hero-team-banner-title {
  margin: 0;
  font-family: Orbitron, sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
}
.hero-team-banner-services {
  margin: 0.4rem 0 0;
  padding: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.4;
}
.hero-marquee-wrap {
padding: clamp(0.4rem, 1vw, 0.75rem) 0;
}
.hero-marquee-shell {
position: relative;
left: 0;
right: 0;
height: clamp(2.15rem, 4vw, 2.85rem);
overflow: hidden;
pointer-events: none;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(242, 245, 244, 0.94));
border-top: 1px solid rgba(255, 255, 255, 0.65);
border-bottom: 1px solid rgba(255, 255, 255, 0.7);
box-shadow:
0 10px 28px rgba(0, 0, 0, 0.22),
0 0 0 1px rgba(15, 23, 42, 0.15) inset;
}
.hero-marquee-shell--below {
margin: 0;
}
.hero-marquee-shell::before,
.hero-marquee-shell::after {
content: "";
position: absolute;
top: 0;
bottom: 0;
width: clamp(2rem, 5vw, 4.25rem);
z-index: 2;
}
.hero-marquee-shell::before {
left: 0;
background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
}
.hero-marquee-shell::after {
right: 0;
background: linear-gradient(270deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0));
}
.hero-marquee-track {
display: flex;
width: max-content;
height: 100%;
align-items: center;
animation: hero-marquee-scroll 24s linear infinite;
}
.hero-marquee-row {
display: flex;
align-items: center;
gap: clamp(1.2rem, 2.4vw, 2.6rem);
padding-right: clamp(1.2rem, 2.4vw, 2.6rem);
white-space: nowrap;
}
.hero-marquee-row span {
position: relative;
display: inline-flex;
align-items: center;
font-family: "Orbitron", sans-serif;
font-size: clamp(0.58rem, 0.95vw, 0.82rem);
font-weight: 600;
letter-spacing: 0.16em;
text-transform: uppercase;
color: rgba(24, 28, 35, 0.92);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}
.hero-marquee-row span:not(:last-child)::after {
content: "//";
position: relative;
margin-left: clamp(1.2rem, 2.4vw, 2.6rem);
color: rgba(63, 85, 107, 0.78);
}
@keyframes hero-marquee-scroll {
0% { transform: translate3d(0, 0, 0); }
100% { transform: translate3d(-50%, 0, 0); }
}
.category-strip {
display: grid;
grid-template-columns: 1fr;
}
.category-slide-card {
position: relative;
overflow: hidden;
min-height: 480px;
background: #0a0a0a;
border-top: 1px solid rgba(255, 255, 255, 0.08);
transition: transform 500ms ease;
}
.category-slide-card:first-child {
border-top: 0;
}
.category-slide-card:hover {
transform: translateY(-4px);
}
.category-slide-card img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.category-slide-card:hover img {
transform: scale(1.05);
}
.category-slide-shade {
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.22) 45%, rgba(0, 0, 0, 0.04));
pointer-events: none;
}
.category-slide-copy {
position: absolute;
bottom: 0;
left: 0;
padding: 2rem;
z-index: 2;
pointer-events: none;
}
.category-slide-label {
display: block;
font-family: "Orbitron", sans-serif;
font-size: 0.65rem;
letter-spacing: 0.28em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.64);
margin-bottom: 0.7rem;
}
.category-slide-title {
font-family: "Orbitron", sans-serif;
font-size: clamp(2rem, 4vw, 3.35rem);
font-weight: 600;
line-height: 0.92;
letter-spacing: -0.04em;
text-transform: uppercase;
color: #fff;
text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.category-slide-panel {
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 62%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: 2rem;
background: linear-gradient(180deg, rgba(3, 7, 18, 0.52), rgba(5, 10, 20, 0.82));
backdrop-filter: blur(14px);
border-left: 1px solid rgba(34, 211, 238, 0.2);
transform: translateX(100%);
transition: transform 500ms ease-out;
z-index: 3;
}
.category-slide-card:hover .category-slide-panel {
transform: translateX(0);
}
.category-slide-line {
width: 0;
height: 1px;
background: rgba(34, 211, 238, 0.5);
margin-bottom: 1.5rem;
transition: width 700ms ease 180ms;
}
.category-slide-card:hover .category-slide-line {
width: 100%;
}
.category-slide-description,
.category-slide-cta {
opacity: 0;
transition: opacity 400ms ease;
}
.category-slide-description {
font-size: 0.8rem;
line-height: 1.7;
color: rgba(255, 255, 255, 0.82);
transition-delay: 250ms;
}
.category-slide-cta {
display: inline-flex;
align-items: center;
gap: 0.5rem;
margin-top: 1.1rem;
font-family: "Orbitron", sans-serif;
font-size: 0.72rem;
letter-spacing: 0.22em;
text-transform: uppercase;
color: rgb(34 211 238);
transition-delay: 380ms;
}
.category-slide-card:hover .category-slide-description,
.category-slide-card:hover .category-slide-cta {
opacity: 1;
}
.light-hub-section {
background: linear-gradient(180deg, #f7f9f7 0%, #eef3f0 100%) !important;
color: #1f2522;
border-bottom-color: rgba(45, 50, 47, 0.08) !important;
}
.light-hub-section .text-white {
color: #1f2522 !important;
}
.light-hub-section .text-neutral-300,
.light-hub-section .text-neutral-400 {
color: rgba(45, 50, 47, 0.72) !important;
}
.light-hub-section .text-neutral-500,
.light-hub-section .text-neutral-600,
.light-hub-section .text-white\/50,
.light-hub-section .text-white\/30 {
color: rgba(45, 50, 47, 0.55) !important;
}
.light-hub-section .text-cyan-400,
.light-hub-section .text-cyan-500 {
color: #3F556B !important;
}
.light-hub-section .border-white\/10,
.light-hub-section .border-white\/5,
.light-hub-section .border-cyan-500\/50,
.light-hub-section .border-cyan-500\/30 {
border-color: rgba(45, 50, 47, 0.12) !important;
}
.light-hub-section .bg-black,
.light-hub-section .bg-black\/40,
.light-hub-section .bg-black\/80,
.light-hub-section .bg-neutral-950\/30,
.light-hub-section .bg-neutral-950\/40,
.light-hub-section .bg-neutral-950\/50,
.light-hub-section .bg-neutral-950\/60 {
background: rgba(255, 255, 255, 0.78) !important;
box-shadow: 0 12px 30px rgba(20, 32, 26, 0.04);
}
.light-hub-section .bg-white\/10 {
background: rgba(45, 50, 47, 0.06) !important;
}
.light-hub-section .bg-white\/5 {
background: rgba(45, 50, 47, 0.03) !important;
}
.light-hub-section .hover\:bg-neutral-950:hover,
.light-hub-section .magnetic-card:hover {
background: rgba(255, 255, 255, 0.96) !important;
}
.light-hub-section .hover\:bg-white\/10:hover,
.light-hub-section .hover\:bg-white\/5:hover {
background: rgba(45, 50, 47, 0.06) !important;
}
.light-hub-section .group:hover .hover\:text-cyan-400,
.light-hub-section .group:hover .text-cyan-400 {
color: #3F556B !important;
}
.hub-section-soft,
.hub-section-contrast,
.hub-section-frost {
position: relative;
isolation: isolate;
}
.hub-section-soft {
background: linear-gradient(180deg, #f8faf8 0%, #edf3ef 100%) !important;
}
.hub-section-contrast {
background: linear-gradient(180deg, #eef4f1 0%, #e4ece8 100%) !important;
}
.hub-section-frost {
background: linear-gradient(180deg, #f7faf9 0%, #e9eff2 100%) !important;
}
.hub-section-soft::before,
.hub-section-contrast::before,
.hub-section-frost::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background:
linear-gradient(90deg, rgba(63, 85, 107, 0.12), rgba(63, 85, 107, 0) 18%),
linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 28%);
opacity: 0.85;
}
.hub-panel {
background: rgba(255, 255, 255, 0.9) !important;
border: 1px solid rgba(45, 50, 47, 0.12) !important;
box-shadow: 0 18px 42px rgba(20, 32, 26, 0.06);
}
/* Trust & transparency cards on homepage — dark panels only (.hub-stat-panel unused elsewhere) */
#trust-integrity .trust-integrity-card {
  background: rgba(10, 10, 10, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(103, 232, 255, 0.04), 0 12px 40px rgba(0, 0, 0, 0.35);
}
#trust-integrity .trust-integrity-card:hover {
  border-color: rgba(103, 232, 255, 0.35) !important;
  box-shadow:
    inset 0 1px 0 rgba(103, 232, 255, 0.08),
    0 0 0 1px rgba(103, 232, 255, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.4);
}
@media (prefers-reduced-motion: reduce) {
  #trust-integrity .trust-integrity-card:hover {
    box-shadow:
      inset 0 1px 0 rgba(103, 232, 255, 0.04),
      0 12px 40px rgba(0, 0, 0, 0.35);
  }
}
@media (min-width: 768px) {
.category-strip {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.category-slide-card:nth-child(2) {
border-top: 0;
}
.category-slide-card:nth-child(even) {
border-left: 1px solid rgba(255, 255, 255, 0.08);
}
}
@media (min-width: 1024px) {
.category-strip {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.category-slide-card {
min-height: 72vh;
border-top: 0;
}
.category-slide-card + .category-slide-card {
border-left: 1px solid rgba(255, 255, 255, 0.08);
}
}
/* Testimonials carousel - dark cards for contrast */
#testimonials .testimonial-card {
  background: rgba(10, 10, 12, 0.95) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #fff;
}
#testimonials .testimonial-card .testimonial-name { color: #fff; }
#testimonials .testimonial-card .testimonial-role { color: rgba(34, 211, 238, 0.9); }
#testimonials .testimonial-card .testimonial-quote { color: rgba(255, 255, 255, 0.75); }
#testimonials .testimonial-card .testimonial-meta { color: rgba(255, 255, 255, 0.5); }

.testimonials-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 1rem;
}
.testimonials-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.testimonial-card {
  flex: 0 0 auto;
  width: min(340px, 85vw);
  min-width: 280px;
}
.testimonials-nav {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.testimonials-nav button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.testimonials-nav button:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.15);
  color: rgb(34, 211, 238);
}

/* Homepage social proof carousel */
.wwh-sp-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.wwh-sp-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: wwh-sp-marquee 52s linear infinite;
}
.wwh-sp-wrap:hover .wwh-sp-track {
  animation-play-state: paused;
}
@keyframes wwh-sp-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
.hero-marquee-track {
animation: none !important;
transform: translate3d(0, 0, 0) !important;
}
.hero-marquee-shell {
display: flex;
align-items: center;
justify-content: center;
}
.hero-marquee-row + .hero-marquee-row {
display: none;
}
.wwh-sp-wrap {
  mask-image: none;
  -webkit-mask-image: none;
}
.wwh-sp-track {
  animation: none !important;
}
.animate-hero-rise,
.animate-scan-line,
.animate-float,
.reveal-on-scroll,
.kinetic-heading,
.category-slide-card,
.category-slide-card img,
.category-slide-panel,
.category-slide-line,
.category-slide-description,
.category-slide-cta {
animation: none !important;
transition: none !important;
opacity: 1 !important;
transform: none !important;
filter: none !important;
}
}

/* Home hero — desktop + mobile (desktop matches previous h-screen / centered) */
.home-hero {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  align-items: center;
  padding-bottom: 0;
}

.home-hero-eyebrow {
  display: none;
}

@media (min-width: 1024px) {
  /*
   * Raise left copy ~96px. Under lg:items-end, margin-top is ignored for
   * placement; margin-bottom shifts the border box upward instead.
   */
  body[data-page="home"] .home-hero-copy {
    margin-top: 0;
    margin-bottom: 6rem; /* 96px */
  }

  /*
   * Stable FAB safe zone (CSS only): space under the hero row so fixed
   * Ask + WhatsApp sit below the banner with no JS layout shifts.
   * Stack: bottom inset + WA 56px + 14px gap + ask ~48px + 16px clearance.
   */
  body[data-page="home"] .home-hero-inner {
    padding-bottom: calc(
      max(1.5rem, env(safe-area-inset-bottom, 0px))
      + 3.5rem
      + 0.875rem
      + 3rem
      + 1rem
    );
  }

  /*
   * Right-side control rail: keep team/banner clear of the fixed Ask pill
   * (inner already has lg:px-16 / 4rem). ≥16px horizontal clearance.
   */
  body[data-page="home"] .hero-visual-wrap {
    margin-right: 11.75rem;
  }

  .home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.25rem; /* 20px to headline */
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    filter: none;
    font-family: Orbitron, sans-serif;
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(34, 211, 238, 0.82);
    line-height: 1.2;
  }

  .home-hero-eyebrow-line {
    display: block;
    width: 1.75rem;
    height: 1px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, 0.35));
  }
}

@media (max-width: 759px) {
  body[data-page="home"] {
    font-size: 15.5px;
  }

  .home-hero {
    height: auto !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    align-items: flex-start !important;
    padding-bottom: max(6.5rem, calc(env(safe-area-inset-bottom, 0px) + 5.75rem)) !important;
  }

  body[data-page="home"] #home > .home-hero-inner {
    /* After nav spacer: ~88–110px from header bottom to headline */
    padding-top: 5.75rem !important;
    padding-bottom: 0.5rem;
  }

  body[data-page="home"] #home .hero-team-banner {
    width: calc(100% + 0.75rem);
    margin-left: -0.35rem;
    margin-top: -1.35rem;
    padding: 12px 16px 13px;
  }

  body[data-page="home"] #home .hero-team-banner-title {
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
  }

  body[data-page="home"] #home .hero-team-banner-services {
    font-size: 0.875rem;
    margin-top: 0.45rem;
  }
}
