/* ==========================================================
   1. Global Settings & Scrollbars
   ========================================================== */
   ::-webkit-scrollbar {
    width: 4px;
    display: none;
  }
  textarea::-webkit-scrollbar {
    display: block;
    width: 6px;
  }
  textarea::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
  }
  
  /* ==========================================================
     2. SVG Text Line Animation Setup
     ========================================================== */
  .text-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s ease-in-out forwards, filling 3s ease-in forwards;
  }
  .text-line text {
    fill: transparent;
  }
  @keyframes dash {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes filling {
    0%, 60% {
      fill: transparent;
    }
    100% {
      fill: var(--primary-color);
    }
  }
  
  /* ==========================================================
     3. General Animations & Intersections
     ========================================================== */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(.16, 1, .3, 1), transform 0.8s cubic-bezier(.16, 1, .3, 1);
    will-change: opacity, transform;
  }
  .faded-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
  
  /* ==========================================================
     4. Masonry Stagger Logic (3 Cols Mobile / 5 Cols Desktop)
     ========================================================== */
  /* .stagger-wrapper:nth-child(n) {
    transform: none;
  }
  .stagger-wrapper:nth-child(3n+1) {
    transform: translateY(-1rem);
  }
  .stagger-wrapper:nth-child(3n+2) {
    transform: translateY(1rem);
  }
  .stagger-wrapper:nth-child(3n+3) {
    transform: translateY(-1rem);
  }
  
  @media (min-width: 768px) {
    .stagger-wrapper:nth-child(3n+1),
    .stagger-wrapper:nth-child(3n+2),
    .stagger-wrapper:nth-child(3n+3) {
      transform: none;
    }
    .stagger-wrapper:nth-child(5n+1) {
      transform: translateY(-3rem);
    }
    .stagger-wrapper:nth-child(5n+2) {
      transform: translateY(-1rem);
    }
    .stagger-wrapper:nth-child(5n+3) {
      transform: translateY(2rem);
    }
    .stagger-wrapper:nth-child(5n+4) {
      transform: translateY(-1rem);
    }
    .stagger-wrapper:nth-child(5n+5) {
      transform: translateY(-3rem);
    }
  } */
  
  /* ==========================================================
     5. Interactive Cursor Pool (GPU Accelerated)
     ========================================================== */
  #interactive-area {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    cursor: none;
    background: #050505;
    isolation: isolate;
    z-index: 20;
  }
  
  #cursor-pool {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
  }
  
  .cursor-image {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(110px, 12vw, 170px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 2px solid white;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.65) rotate(var(--rotate, 0deg));
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    will-change: transform, opacity;
    animation: cursorTrail 900ms cubic-bezier(.16, 1, .3, 1) forwards;
  }
  
  @keyframes cursorTrail {
    0% {
      opacity: 0;
      transform: translate(-50%, -50%) scale(0.55) rotate(var(--rotate, 0deg));
    }
    12% {
      opacity: 1;
    }
    45% {
      opacity: 1;
      transform: translate(-50%, -50%) scale(1) rotate(var(--rotate, 0deg));
    }
    100% {
      opacity: 0;
      transform: translate(-50%, -65%) scale(0.78) rotate(var(--rotate, 0deg));
    }
  }
  
  .center-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 2;
    font-size: 24px;
    letter-spacing: 2px;
    pointer-events: none;
    user-select: none;
  }
  
  @media (max-width: 767px) {
    #interactive-area {
      cursor: auto;
    }
    .center-logo {
      font-size: 16px;
      text-align: center;
    }
    .cursor-image {
      width: 105px;
    }
  }
  
  /* ==========================================================
     6. Toolkit / Services Section & Card Layouts
     ========================================================== */
  #scroll-section {
    box-sizing: border-box;
    height: 100svh;
    min-height: calc(550px + 9rem);
    padding-top: 7rem;
    padding-bottom: 2rem;
  }

  .service-card {
    min-width: 450px;
  }
  .card-odd {
    height: 450px;
  }
  .card-even {
    height: 550px;
  }
  
  .heading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 20;
    margin-bottom: -50px;
    text-align: center;
    width: 100%;
  }
  
  .heading-container h2 {
    position: relative;
    z-index: 10;
    line-height: 1.1;
  }
  
  .overlap-sub {
    background: #EC4D20;
    color: white;
    width: max-content;
    max-width: 95%;
    padding: 5px 14px;
    margin-top: -80px;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: rotate(-3deg);
    font-weight: 600;
    z-index: 50;
    box-shadow: 0 10px 25px rgba(236, 77, 32, 0.4);
    text-align: center;
    position: relative;
  }
  
  .scroll-container::-webkit-scrollbar {
    display: none;
  }
  

  /* ==========================================================
     8. Testimonials Pagination
     ========================================================== */
  .swiper-pagination-bullet {
    background: #52525b !important;
    opacity: 1;
  }
  .swiper-pagination-bullet-active {
    background: #ec4d20 !important;
    width: 24px;
    border-radius: 4px;
    transition: width 0.3s ease;
  }
  
  /* ==========================================================
     9. Section Isolation & Stacking Order Layering
     ========================================================== */
  #selected-work {
    position: relative;
    z-index: 10;
  }
  #interactive-area {
    position: relative;
    z-index: 20;
  }
  #process {
    position: relative;
    z-index: 30;
    background-color: #050505;
  }
  #achievements-section {
    position: relative;
    z-index: 40;
  }

  @media (max-width: 1023px) {
    #process {
      height: auto !important;
      min-height: auto !important;
      padding: 5rem 1.5rem !important;
    }
    #process-cards-wrapper {
      position: relative !important;
      height: auto !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 1.5rem !important;
    }
    #process-cards-wrapper .process-card {
      position: relative !important;
      inset: auto !important;
      height: auto !important;
      min-height: 240px !important;
    }
  }

  .faq-toggle.active,
  .faq-toggle.active .text-white,
  .faq-toggle.active .font-bold {
    background: linear-gradient(90deg, #19110c 0%, #1a0701 100%);
    color: #EC4D20 !important;
  }
  .faq-toggle.active .text-white { color: #EC4D20 !important; }
  .faq-toggle.active .font-bold { color: #EC4D20 !important; }
  .faq-toggle.active .faq-arrow {
    border-color: #EC4D20 !important;
    color: #EC4D20 !important;
  }
  /* Optional subtle highlight for number */
  .faq-toggle.active .w-9 {
    background: rgba(236,77,32,0.15);
    border-color: #EC4D20 !important;
    color: #fff !important;
  }
  .faq-toggle .w-9 {
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }



  .client-box {
    height: 110px;
    width: 150px;
    background: #ffffff11;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.04);
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  }

  .client-box img {
    max-width: 100%;
    width: 120px;
    max-height: 80px; 
    object-fit: contain;
    filter: saturate(0);
    opacity: .8;
    transition: filter 0.4s ease, opacity 0.4s ease;
  }

  /* Hover Effects remain active */
  .client-box:hover {
    transform: translateY(-8px) scale(1.02);
    background: #ec4c20d5;
    box-shadow: 0 0 40px #ec4c207a;
  }

  .client-box:hover img {
    filter: saturate(1);
    opacity: 1;
  }

  /* Mobile Sizing Adjustments */
  @media(max-width:768px) {
    .client-box {
      width: 100%;
      max-width: 120px;
      height: 85px;
      padding: 12px;
    }
  }
/* Homepage SEO guide */
.growth-guide { background: radial-gradient(ellipse at 90% 0, rgba(236,77,32,.09), transparent 50%), #0a0a0a; border-block: 1px solid #ffffff14; padding: 80px 24px; }
.growth-shell { max-width: 1200px; margin-inline: auto; }
.growth-preview { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
.growth-eyebrow { display: flex; align-items: center; gap: 12px; color: #f27d59; font-size: 11px; font-weight: 600; letter-spacing: .14em; line-height: 1.7; }
.growth-eyebrow > span { width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.growth-preview h1, #seo-growth-title { margin: 20px 0; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; line-height: 1.13; letter-spacing: -.035em; }
.growth-preview h1 > span, #seo-growth-title > span { color: #f27d59; }
#seo-growth-title > span { display: block; }
.growth-guide p, .growth-list { color: #b6b6be; line-height: 1.85; }
.growth-guide .growth-eyebrow { color: #f27d59; }
.growth-guide .growth-intro { max-width: 640px; font-size: 17px; }
.growth-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.growth-tags span { border: 1px solid #ffffff20; border-radius: 999px; padding: 7px 12px; color: #b6b6be; font-size: 12px; }
.growth-definition { padding: 28px; background: linear-gradient(140deg, #1e1512, #111); border: 1px solid #ec4d2040; border-radius: 18px; }
.growth-number { display: inline-block; color: #f27d59; font-family: monospace; font-size: 12px; letter-spacing: .08em; }
.growth-definition h3 { font-size: 22px; font-weight: 600; margin: 15px 0 12px; line-height: 1.35; }
.growth-definition p { font-size: 14px; }
.growth-audit-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 20px; background: var(--primary-color, #ec4d20); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; margin-top: 22px; transition: background .2s, transform .2s; }
.growth-audit-link:hover { background: #c93c15; transform: translateY(-2px); }
.growth-trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 26px 0; margin: 36px 0 26px; border-block: 1px solid #ffffff18; }
.growth-trust li { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 8px 16px; }
.growth-trust li + li { border-left: 1px solid #ffffff18; }
.growth-trust strong { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.04em; }
.growth-trust span { color: #aaaab4; font-size: 13px; }
.growth-disclosure > summary { list-style: none; display: flex; align-items: center; justify-content: center; gap: 24px; width: fit-content; margin-inline: auto; padding: 13px 25px; border: 1px solid #ec4d2070; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; background: #ec4d200a; transition: background .2s, border-color .2s; }
.growth-disclosure > summary::-webkit-details-marker { display: none; }
.growth-disclosure > summary:hover { background: #ec4d2020; border-color: #ec4d20; }
.growth-read-less, .growth-disclosure[open] .growth-read-more { display: none; }
.growth-disclosure[open] .growth-read-less { display: inline; }
.growth-toggle-icon { font-size: 22px; color: #f27d59; line-height: 1; transition: transform .2s; }
.growth-disclosure[open] .growth-toggle-icon { transform: rotate(45deg); }
.growth-full-content { margin-top: 40px; }
.growth-chapter { border-top: 1px solid #ffffff18; padding-block: 36px; }
.growth-chapter-heading { display: flex; gap: 18px; align-items: baseline; margin-bottom: 20px; }
.growth-chapter-heading .growth-number { flex-shrink: 0; }
.growth-chapter h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; }
.growth-chapter > p + p { margin-top: 12px; }
.growth-list { padding-left: 22px; list-style: disc; margin-top: 18px; }
.growth-list li { padding: 5px 0 5px 6px; }
.growth-list li::marker { color: #f27d59; }
.growth-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.growth-service { padding: 24px; background: #111; border: 1px solid #ffffff12; border-radius: 12px; transition: border-color .2s; }
.growth-service:hover { border-color: #ec4d2055; }
.growth-service h3 { font-size: 19px; font-weight: 600; line-height: 1.4; margin: 12px 0; }
.growth-service p { font-size: 14px; margin-bottom: 10px; }
.growth-service a { display: inline-block; color: #f27d59; font-size: 13px; font-weight: 600; margin-top: 10px; }
.growth-service a:hover { text-decoration: underline; }
.growth-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid #ffffff18; border-radius: 12px; }
.growth-table { width: 100%; min-width: 520px; border-collapse: collapse; text-align: left; font-size: 14px; }
.growth-table caption { text-align: left; padding: 18px; color: #b6b6be; background: #111; }
.growth-table th, .growth-table td { padding: 16px 18px; border-top: 1px solid #ffffff14; line-height: 1.6; }
.growth-table thead { background: #ec4d2014; color: #f27d59; }
.growth-table tbody th { font-weight: 500; }
.growth-table td { color: #b6b6be; }
.growth-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: growth-step; list-style: none; margin: 24px 0; padding: 0; }
.growth-steps li { counter-increment: growth-step; border-left: 1px solid #ec4d2060; padding-left: 20px; }
.growth-steps li::before { content: '0' counter(growth-step); color: #f27d59; font-family: monospace; font-size: 12px; }
.growth-steps h3 { font-size: 18px; margin: 10px 0 5px; font-weight: 600; }
.growth-steps p { font-size: 14px; }
.growth-faqs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.growth-faq { padding: 22px 0; border-bottom: 1px solid #ffffff14; }
.growth-faq h3 { font-weight: 600; font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.growth-faq p { font-size: 14px; }
.growth-collapse {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 22px auto;
  border: 1px solid #f27d5980;
  border-radius: 50%;
  background: linear-gradient(145deg, #412015, #171110);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 #ffffff24, 0 5px 18px #ec4d2026;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.growth-collapse i {
  animation: growth-arrow-lift 2s ease-in-out infinite;
}

.growth-collapse:hover,
.growth-collapse:focus-visible {
  border-color: #f27d59;
  box-shadow: inset 0 1px 0 #ffffff30, 0 7px 24px #ec4d2055;
  transform: translateY(-3px);
}

.growth-collapse:focus-visible {
  outline: 2px solid #f27d59;
  outline-offset: 4px;
}

@keyframes growth-arrow-lift {
  0%, 55%, 100% { transform: translateY(0); }
  27% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .growth-collapse { transition: none; }
  .growth-collapse:hover, .growth-collapse:focus-visible { transform: none; }
  .growth-collapse i { animation: none; }
}
.growth-guide :is(a, button, summary, [tabindex]):focus-visible { outline: 2px solid #f27d59; outline-offset: 5px; }
@media (max-width: 960px) {
  .growth-preview { gap: 28px; grid-template-columns: 1fr; }
  .growth-services, .growth-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-trust li { flex-direction: column; gap: 10px; }
}
@media (max-width: 600px) {
  .growth-guide { padding: 48px 20px; }
  .growth-eyebrow { font-size: 10px; letter-spacing: .08em; }
  .growth-services, .growth-steps, .growth-faqs { grid-template-columns: 1fr; }
  .growth-trust li { padding-inline: 6px; text-align: center; }
  .growth-trust span { font-size: 11px; }
  .growth-definition, .growth-service { padding: 22px; }
  .growth-chapter-heading { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .growth-guide *, .growth-guide *::before { transition: none !important; }
}


.case-studies-link {
  background-image: linear-gradient(#EC4D20, #EC4D20);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 450ms ease-in-out, border-color 450ms ease-in-out;
}

.case-studies-link:hover,
.case-studies-link:focus-visible {
  background-size: 100% 100%;
  border-color: #EC4D20;
}

@media (prefers-reduced-motion: reduce) {
  .case-studies-link {
    transition: none;
  }
}


#process .process-card {
  background: radial-gradient(ellipse at top right, #321b14, transparent 58%), #121010;
  border-color: #ec4d2040;
  box-shadow: inset 0 1px 0 #ffffff12, 0 18px 40px #0008;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}

#process .process-card:hover {
  border-color: #ec4d207a;
  box-shadow: inset 0 1px 0 #ffffff20, 0 18px 40px #0008, 0 0 24px #ec4d201a;
}

#process .process-card h3::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff8b61, #ec4d20);
}

#process .process-card p {
  color: #c5bcb9;
  font-size: 0.9375rem;
}

.process-card-number {
  flex: none;
  padding: 0.65rem;
  border: 1px solid #ec4d2040;
  border-radius: 16px;
  background: #ec4d200c;
  color: #ff9573;
  font: 500 clamp(2rem, 4vw, 3.75rem)/1 monospace;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 639px) {
  #process .process-card > div { align-items: flex-start; }
  .process-card-number { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  #process .process-card { position: relative; height: auto; transition: none; }
  #process-cards-wrapper { display: grid; height: auto; }
}


#scroll-section:not(.services-scroll-desktop) {
  display: block;
  height: auto;
  min-height: 0;
  padding: 2rem 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.5rem;
}

#scroll-section:not(.services-scroll-desktop) #wrapper {
  width: max-content;
  align-items: stretch;
  gap: 1rem;
  padding-inline: 1.5rem;
}

#scroll-section:not(.services-scroll-desktop) .service-card {
  position: relative;
  isolation: isolate;
  width: min(76vw, 360px);
  min-width: 0;
  height: auto;
  aspect-ratio: 4 / 5;
  scroll-snap-align: start;
}

#scroll-section:not(.services-scroll-desktop) .heading-container h2 {
  font-size: clamp(1.6rem, 6vw, 2.5rem);
}

#scroll-section:not(.services-scroll-desktop) .overlap-sub {
  margin-top: 0;
  white-space: normal;
  text-align: center;
}

#scroll-section:not(.services-scroll-desktop) .heading-container {
  position: absolute;
  inset: 0;
  margin: 0;
  gap: 0.5rem;
}

#scroll-section.services-scroll-pinned {
  overflow: clip;
  scroll-snap-type: none;
}

#scroll-section.services-scroll-pinned:not(.services-scroll-desktop) .service-card {
  width: min(76vw, 360px, calc((100svh - 154px) * 0.8));
}

#scroll-section:focus-visible {
  outline: 2px solid #f27d59;
  outline-offset: -2px;
}
