/* ═══════════════════════════════════════════════════════════════════
   PROJECT PAGE  —  Hero + Explore
   ═══════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────────── */
.proj-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg,
    #fdf5ff 0%,
    #ede0ff 25%,
    #e5f2ff 60%,
    #f5eeff 100%);
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: var(--sp-3xl);
}

/* Soft radial glow overlay */
.proj-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%,
      rgba(168,112,219,.12) 0%,
      transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* ── CodePen SVG animation wrapper ── */
.proj-hero__anim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 2;
}

.proj-hero__anim svg {
  width: 100%;
  min-width: 860px;
  max-width: 1440px;
  height: auto;
}

/* Recolor the animation to our theme palette */
.proj-hero__anim #line {
  stroke: rgba(159,58,253,.35);
  transform: scaleX(0);
  transform-origin: 50% 100%;
  animation: ph-grow 1s forwards;
}

/* All .draw paths: stroke-draw then fill */
.proj-hero__anim .draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  fill: none;
  stroke: rgba(168,112,219,.55);
  stroke-width: 4;
  animation: ph-draw 3s 2s forwards, ph-fill 1s 2.5s forwards;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Frame: themed purple fill, no stroke outline */
.proj-hero__anim .page .frame {
  fill: rgba(168,112,219,.18);
  stroke: none;
}

/* Background: white-tinted fill, no stroke outline */
.proj-hero__anim .page .background {
  fill: rgba(255,255,255,.88);
  stroke: none;
}

/* Background, frame and chrome rects: grow up from bottom only.
   Specificity 0,3,0 > .draw's 0,2,0 so animation: grow wins here. */
.proj-hero__anim .page .background,
.proj-hero__anim .page .frame,
.proj-hero__anim .page rect {
  transform: scaleY(0);
  transform-origin: 50% 100%;
  animation: ph-grow 1s 1s forwards;
}

.proj-hero__anim .page-center .content-group {
  animation: ph-contentScroll 8s 3.5s infinite;
}
.proj-hero__anim .page-sidebar .content-group {
  animation: ph-contentScrollTwo 8s 4s infinite;
}

.proj-hero__anim .page-form .field-content {
  animation: ph-draw 3s 2s forwards, ph-fillTwo 1s 2.5s forwards;
}
.proj-hero__anim .page-form .field {
  animation: ph-draw 3s 2s forwards, ph-fill 1s 2.5s forwards, ph-highlight 1s 3.5s;
}
.proj-hero__anim .page-form .field-two {
  animation: ph-draw 3s 2s forwards, ph-fill 1s 2.5s forwards, ph-highlight 1s 4.5s;
}
.proj-hero__anim .page-form .button-container .button {
  animation: ph-draw 3s 2s forwards, ph-fill 1s 2.5s forwards, ph-highlight 1s 5.5s;
}
.proj-hero__anim .page-form .check-mark {
  fill: #10B500;
  animation: none;
}
.proj-hero__anim .page-slider .image-slider-group {
  animation: ph-sliderScroll 8s 3.5s infinite;
}
.proj-hero__anim .page-hero .images-container {
  animation: ph-heroImagesOne 6s 3.5s infinite;
}
.proj-hero__anim .page-hero .images-container-two {
  animation: ph-heroImagesTwo 6s 3.5s infinite;
}
.proj-hero__anim #form-sent {
  opacity: 0;
  animation: ph-fadeIn 1s 6.5s forwards, ph-fadeOut 2s 10s forwards;
}

/* Animation keyframes (namespaced to avoid collisions) */
@keyframes ph-grow          { 100% { transform: scale(1); } }
@keyframes ph-draw          { 100% { stroke-dashoffset: 0; } }
@keyframes ph-fill          { 100% { fill: rgba(168,112,219,.25); stroke-width: 0; } }
@keyframes ph-fillTwo       { 100% { fill: rgba(255,255,255,.9); stroke-width: 0; } }
@keyframes ph-fadeIn        { 100% { opacity: 1; } }
@keyframes ph-fadeOut       { 100% { opacity: 0; } }
@keyframes ph-highlight {
  0%   { fill: rgba(168,112,219,.25); }
  50%  { fill: rgba(159,58,253,.7); }
  100% { fill: rgba(168,112,219,.25); }
}
@keyframes ph-contentScroll {
  50% { transform: translateY(-165px); }
}
@keyframes ph-contentScrollTwo {
  50% { transform: translateY(-140px); }
}
@keyframes ph-sliderScroll {
  0%         { transform: translateX(0); }
  20%        { transform: translateX(0); }
  25%, 45%   { transform: translateX(-13.99%); }
  50%, 70%   { transform: translateX(-27.95%); }
  75%, 95%   { transform: translateX(13.95%); }
}
@keyframes ph-heroImagesOne {
  0%        { transform: translateX(0); }
  10%, 50%  { transform: translateX(-459px); }
  60%, 100% { transform: translateX(0); }
}
@keyframes ph-heroImagesTwo {
  0%        { transform: translateX(459px); }
  10%, 50%  { transform: translateX(0); }
  60%, 100% { transform: translateX(459px); }
}

/* Bottom fade so animation bleeds gracefully into the title area */
.proj-hero__anim::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(237,224,255,.85) 70%,
    rgba(237,224,255,1) 100%);
  pointer-events: none;
}

/* ── Hero title block ── */
.proj-hero__body {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 var(--sp-md);
}

.proj-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-sm);
}

.proj-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--clr-text);
  margin-bottom: var(--sp-md);
}

.proj-hero__title span {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proj-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 46ch;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Explore section ────────────────────────────────────────────────── */
.proj-explore {
  background: #fff;
  padding-block: var(--sp-3xl);
}

.proj-explore__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--sp-2xl);
  align-items: start;
}

/* ── Sidebar (20 %) ── */
.proj-sidebar {
  position: sticky;
  top: calc(var(--sp-xl) + 68px); /* below sticky navbar */
}

.proj-sidebar__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
  padding-left: .25rem;
}

.proj-sidebar__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.proj-sidebar__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .65rem 1rem;
  border-radius: var(--r-full);
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
  text-align: left;
}
.proj-sidebar__btn:hover {
  background: rgba(168,112,219,.08);
  color: var(--clr-text);
}
.proj-sidebar__btn.is-active {
  background: var(--clr-primary);
  color: #fff;
}
.proj-sidebar__btn.is-active .proj-sidebar__count {
  background: rgba(255,255,255,.25);
  color: #fff;
}

.proj-sidebar__count {
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: var(--r-full);
  background: rgba(168,112,219,.10);
  color: var(--clr-primary);
  transition: background .2s, color .2s;
  min-width: 26px;
  text-align: center;
}

.proj-sidebar__divider {
  height: 1px;
  background: var(--clr-border);
  margin: var(--sp-sm) 0;
}

/* ── Main grid (80 %) ── */
.proj-main {}

/* Search */
.proj-search {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  background: var(--clr-surface);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-full);
  padding: .65rem 1.1rem;
  margin-bottom: var(--sp-xl);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  max-width: 440px;
}
.proj-search:focus-within {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(159,58,253,.12);
}
.proj-search svg { flex-shrink: 0; color: var(--clr-text-muted); width: 16px; height: 16px; }
.proj-search__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--clr-text);
  outline: none;
}
.proj-search__input::placeholder { color: var(--clr-text-dim); }

/* Result meta */
.proj-results-meta {
  font-size: .85rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-lg);
}
.proj-results-meta strong { color: var(--clr-text); }

/* Cards grid — 2 columns */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}

/* Project card */
.proj-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  box-shadow: 0 4px 20px rgba(0,0,0,.05), 0 1px 4px rgba(0,0,0,.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(168,112,219,.16), 0 4px 12px rgba(0,0,0,.07);
  border-color: rgba(168,112,219,.3);
}

.proj-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--clr-surface);
  display: block;
  text-decoration: none;
}
.proj-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
  display: block;
}
.proj-card:hover .proj-card__img { transform: scale(1.05); }

.proj-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(159,58,253,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.proj-card:hover .proj-card__overlay { opacity: 1; }
.proj-card__overlay-cta {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .05em;
  border: 2px solid #fff;
  padding: .5rem 1.25rem;
  border-radius: var(--r-full);
}

.proj-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  color: var(--clr-primary);
}

.proj-card__body {
  padding: var(--sp-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  flex: 1;
}

.proj-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  line-height: 1.35;
  text-decoration: none;
}
.proj-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.proj-card__title a:hover { color: var(--clr-primary); }

.proj-card__excerpt {
  font-size: .875rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proj-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--clr-border);
}

.proj-card__year {
  font-size: .8rem;
  color: var(--clr-text-dim);
  font-weight: 600;
}

.proj-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3em;
  font-size: .82rem;
  font-weight: 700;
  color: var(--clr-primary);
  text-decoration: none;
  transition: gap .2s var(--ease);
}
.proj-card__link:hover { gap: .55em; }

/* Empty state */
.proj-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--sp-3xl) var(--sp-md);
  color: var(--clr-text-muted);
}
.proj-empty__icon {
  font-size: 3rem;
  margin-bottom: var(--sp-md);
}
.proj-empty p {
  font-size: 1rem;
  max-width: 30ch;
  margin: 0 auto;
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 992px) {
  .proj-explore__layout {
    grid-template-columns: 180px 1fr;
    gap: var(--sp-xl);
  }
}

@media (max-width: 768px) {
  .proj-explore__layout {
    grid-template-columns: 1fr;
  }
  .proj-sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
  }
  .proj-sidebar__label { margin-bottom: var(--sp-xs); }
  .proj-sidebar__list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .proj-sidebar__btn {
    flex: 0 0 auto;
    padding: .5rem .9rem;
    font-size: .82rem;
  }
  .proj-sidebar__count { display: none; }
  .proj-sidebar__divider { display: none; }
  .proj-hero { min-height: 400px; }
  .proj-hero__anim svg { min-width: 640px; }
}

@media (max-width: 480px) {
  .proj-grid { grid-template-columns: 1fr; }
  .proj-hero__title { letter-spacing: -.025em; }
}

/* ████████████████████████████████████████████████████████████
   Logos Marquee Section
   ████████████████████████████████████████████████████████████ */

.proj-logos {
  background: #fafafe;
}
.proj-logos .section-header { margin-bottom: var(--sp-xl); }

/* ── Marquee wrapper ── */
.logos-marquee {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 4px;
  /* Allow the inner strip to overflow without affecting the page width */
  overflow: hidden;
}

/* ── Single track row ── */
.logos-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

/* ── Scrolling inner strip ── */
.logos-inner {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
  min-width: max-content;
  padding: 6px 0;
}

.logos-track--fwd .logos-inner { animation: logos-fwd 30s linear infinite; }
.logos-track--rev .logos-inner { animation: logos-rev 28s linear infinite; }

@keyframes logos-fwd {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes logos-rev {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* Pause on hover */
.logos-track:hover .logos-inner { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .logos-inner { animation: none !important; }
}

/* ── Individual logo item ── */
.logo-item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  user-select: none;
  flex-shrink: 0;
  transition: transform .28s ease;
}
.logo-item:hover { transform: translateY(-5px); }

.logo-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.09), 0 1px 4px rgba(0,0,0,.05);
}
.logo-icon svg {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
}
.logo-item > span {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  white-space: nowrap;
}

/* ████████████████████████████████████████████████████████████
   Quick Wins Preview Strip
   ████████████████████████████████████████████████████████████ */

.proj-qw { background: #fff; }

.proj-qw__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--sp-2xl);
  gap: var(--sp-md);
  flex-wrap: wrap;
  text-align: left;
}
.proj-qw__head .section-eyebrow { margin-bottom: 0.5rem; }
.proj-qw__head .section-title { margin-bottom: 0; font-size: 2rem; }
.proj-qw__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  background: var(--clr-primary);
  border-radius: var(--r-full);
  text-decoration: none;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.proj-qw__cta:hover { 
  gap: 0.65em;
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(159, 58, 253, 0.3);
}

/* Grid layout — 4 columns on desktop, responsive */
.proj-qw__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.proj-qw__track {
  display: contents;
}

/* Card */
.proj-qw__card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: all 0.3s ease;
}
.proj-qw__card:hover {
  border-color: rgba(159, 58, 253, 0.2);
  box-shadow: 0 8px 24px rgba(159, 58, 253, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* Image */
.proj-qw__card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--clr-elevated);
}
.proj-qw__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.proj-qw__card:hover .proj-qw__card-img img,
.proj-qw__card-link:hover .proj-qw__card-img img { 
  transform: scale(1.06); 
}
.proj-qw__card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.12) 100%);
}

/* Body */
.proj-qw__card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.proj-qw__card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--clr-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.proj-qw__card-metric-group {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.proj-qw__metric {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  color: var(--qw-color, var(--clr-primary));
  margin: 0;
  letter-spacing: -0.03em;
}

.proj-qw__unit {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  line-height: 1.2;
  margin: 0;
}

.proj-qw__tags {
  font-size: 0.7rem;
  color: var(--clr-text-dim);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
  margin-top: auto;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Colored accent bar at the bottom */
.proj-qw__card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
}

/* Link wrapper */
.proj-qw__card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* Responsive grid */
@media (max-width: 1200px) {
  .proj-qw__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .proj-qw__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .proj-qw__cta {
    align-self: flex-start;
  }
  
  .proj-qw__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .proj-qw__card-title {
    font-size: 0.95rem;
  }
  
  .proj-qw__metric {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .proj-qw__grid {
    grid-template-columns: 1fr;
  }
  
  .proj-qw__card-body {
    padding: 1rem;
  }
  
  .proj-qw__card-title {
    font-size: 0.9rem;
  }
  
  .proj-qw__metric {
    font-size: 1.3rem;
  }
  
  .proj-qw__unit {
    font-size: 0.75rem;
  }
  
  .proj-qw__tags {
    font-size: 0.65rem;
  }
}

/* ████████████████████████████████████████████████████████████
   Companies Section
   ████████████████████████████████████████████████████████████ */

.proj-clients {
  background: linear-gradient(140deg, #0e0620 0%, #2c0f5e 55%, #0e1a3a 100%);
  overflow: hidden;
}

.proj-clients__scene {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Rings ── */
.proj-clients__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Ring 1 — innermost, fast spin, magenta dot */
.proj-clients__ring--1 {
  width: 280px;
  height: 280px;
  border-color: rgba(159,58,253,.40);
  animation:
    clients-ring-spin    16s linear             infinite,
    clients-ring-breathe  5s ease-in-out         infinite;
}
.proj-clients__ring--1::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  background: #FA3DC7;
  box-shadow:
    0 0  8px  3px rgba(250, 61,199,.85),
    0 0 20px  6px rgba(250, 61,199,.40);
  animation: clients-dot-pulse 5s ease-in-out infinite;
}

/* Ring 2 — mid, reverse, cyan dot */
.proj-clients__ring--2 {
  width: 460px;
  height: 460px;
  border-color: rgba(70,192,223,.22);
  animation:
    clients-ring-spin    24s linear             infinite reverse,
    clients-ring-breathe  7s ease-in-out 1.5s   infinite;
}
.proj-clients__ring--2::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: #46C0DF;
  box-shadow:
    0 0  8px  3px rgba( 70,192,223,.85),
    0 0 24px  8px rgba( 70,192,223,.35);
  animation: clients-dot-pulse 7s ease-in-out 1.5s infinite;
}

/* Ring 3 — outermost, slowest, white dot, dashed */
.proj-clients__ring--3 {
  width: 660px;
  height: 660px;
  border-color: rgba(255,255,255,.10);
  border-style: dashed;
  border-width: 1px;
  animation:
    clients-ring-spin    36s linear             infinite,
    clients-ring-breathe  9s ease-in-out 3s     infinite;
}
.proj-clients__ring--3::before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,.9);
  box-shadow:
    0 0  6px  2px rgba(255,255,255,.6),
    0 0 16px  5px rgba(255,255,255,.2);
  animation: clients-dot-pulse 9s ease-in-out 3s infinite;
}

@keyframes clients-ring-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Breathing opacity — staggered per ring via separate animation-delay */
@keyframes clients-ring-breathe {
  0%, 100% { opacity: 1;    }
  50%       { opacity: 0.35; }
}

/* Dot brightness pulse — synced to ring breathe */
@keyframes clients-dot-pulse {
  0%, 100% { opacity: 1;   transform: translateX(-50%) scale(1); }
  50%       { opacity: .4; transform: translateX(-50%) scale(.6); }
}

/* ── Orbs ── */
.proj-clients__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.proj-clients__orb--1 {
  width: 360px;
  height: 360px;
  background: rgba(159,58,253,.22);
  top: -100px;
  right: 5%;
  animation: cta-orb-drift 11s ease-in-out infinite alternate;
}
.proj-clients__orb--2 {
  width: 240px;
  height: 240px;
  background: rgba(70,192,223,.18);
  bottom: -80px;
  left: 6%;
  animation: cta-orb-drift 14s ease-in-out infinite alternate-reverse;
}

/* ── Centre text ── */
.proj-clients__center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}
.proj-clients__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.proj-clients__headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 1rem;
}
.proj-clients__headline em {
  font-style: normal;
  background: linear-gradient(130deg, #FA3DC7 0%, #A870DB 50%, #46C0DF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.proj-clients__sub {
  font-size: .95rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .01em;
}

/* ── Industry domain chips (inline, inside centre block) ── */
.co-tags-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 1.75rem;
}

.co-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  padding: 7px 14px 7px 10px;
  animation: co-chip-breathe 5s ease-in-out infinite alternate;
}

/* Stagger breathing so chips pulse at slightly different rhythms */
.co-tag:nth-child(2)  { animation-delay: .6s; }
.co-tag:nth-child(3)  { animation-delay: 1.2s; }
.co-tag:nth-child(4)  { animation-delay: 1.8s; }
.co-tag:nth-child(5)  { animation-delay: .9s; }
.co-tag:nth-child(6)  { animation-delay: 1.5s; }
.co-tag:nth-child(7)  { animation-delay: .3s; }
.co-tag:nth-child(8)  { animation-delay: 2.1s; }

@keyframes co-chip-breathe {
  from { opacity: .6;  border-color: rgba(255,255,255,.10); }
  to   { opacity: 1;   border-color: color-mix(in srgb, var(--co-color, #fff) 45%, transparent); }
}

.co-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--co-color, #fff);
  box-shadow: 0 0 6px 2px color-mix(in srgb, var(--co-color, #fff) 55%, transparent);
}

.co-tag__init { display: none; } /* init avatars no longer used */

.co-tag__name {
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .co-tag { animation: none !important; }
  .proj-clients__ring { animation: none !important; }
  .proj-clients__ring::before { animation: none !important; }
}

/* ── Responsive for proj-clients ── */
@media (max-width: 768px) {
  .proj-clients__headline { font-size: clamp(2rem, 8vw, 3rem); }
  .co-tags-row { gap: 8px 10px; }
}
@media (max-width: 480px) {
  .co-tags-row { gap: 7px 8px; }
  .co-tag { padding: 6px 11px 6px 8px; }
  .co-tag__name { font-size: .76rem; }
}
