/* ==========================================================================
   Automation Consulting — Projects Pages
   ========================================================================== */

/* ── SHARED ─────────────────────────────────────────────────────────────── */
.ac-proj-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ac-primary);
  background: rgba(7, 169, 209, 0.08);
  border: 1px solid rgba(7, 169, 209, 0.2);
  padding: 4px 10px;
  border-radius: 4px;
}
.ac-proj-tag--neutral {
  color: var(--ac-text-muted);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.ac-proj-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 48px 0;
}

/* ── PROJECTS HERO ──────────────────────────────────────────────────────── */
.ac-proj-hero {
  position: relative;
  overflow: hidden;
}

/* Animated track background */
.ac-proj-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Perspective track lanes — converging lines rushing toward the viewer */
.ac-proj-hero__track {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  perspective: 600px;
  perspective-origin: 50% 100%;
}
.ac-proj-hero__lane {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to top, rgba(7,169,209,0.12), transparent 70%);
  transform-origin: bottom center;
  transform: rotateX(60deg);
}
.ac-proj-hero__lane:nth-child(1) { left: 30%; }
.ac-proj-hero__lane:nth-child(2) { left: 40%; }
.ac-proj-hero__lane:nth-child(3) { left: 50%; }
.ac-proj-hero__lane:nth-child(4) { left: 60%; }
.ac-proj-hero__lane:nth-child(5) { left: 70%; }

/* Horizontal speed streaks — shooting across like a car passing */
.ac-proj-hero__streaks {
  position: absolute;
  inset: 0;
}
.ac-proj-hero__streaks span {
  position: absolute;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(to right, transparent, rgba(7,169,209,0.25), transparent);
  animation: ac-streak-shoot linear infinite;
}
.ac-proj-hero__streaks span:nth-child(1) { top: 18%; width: 180px; animation-duration: 3.5s; animation-delay: 0s; }
.ac-proj-hero__streaks span:nth-child(2) { top: 32%; width: 120px; animation-duration: 4.2s; animation-delay: 1.2s; }
.ac-proj-hero__streaks span:nth-child(3) { top: 48%; width: 200px; animation-duration: 3s; animation-delay: 0.6s; }
.ac-proj-hero__streaks span:nth-child(4) { top: 62%; width: 90px; animation-duration: 5s; animation-delay: 2.5s; }
.ac-proj-hero__streaks span:nth-child(5) { top: 75%; width: 150px; animation-duration: 3.8s; animation-delay: 1.8s; }
.ac-proj-hero__streaks span:nth-child(6) { top: 25%; width: 100px; animation-duration: 4.5s; animation-delay: 3.2s; }
.ac-proj-hero__streaks span:nth-child(7) { top: 55%; width: 160px; animation-duration: 3.2s; animation-delay: 0.3s; }

@keyframes ac-streak-shoot {
  0%   { left: -200px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

/* Moving glow — "vision" traveling across, warm to cool shift */
.ac-proj-hero__glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(7,169,209,0.1) 0%, transparent 65%);
  filter: blur(40px);
  animation: ac-glow-drift 10s ease-in-out infinite;
}
@keyframes ac-glow-drift {
  0%, 100% { top: -100px; left: -150px; }
  30%      { top: 10%; left: 30%; }
  60%      { top: -50px; left: 65%; }
}

/* Impact burst — the point where vision "hits" the track */
.ac-proj-hero__impact {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,207,195,0.06) 0%, transparent 60%);
  animation: ac-impact-pulse 4s ease-in-out infinite;
}
@keyframes ac-impact-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  50%      { transform: translateX(-50%) scale(1.4); opacity: 1; }
}

.ac-proj-hero__inner {
  position: relative;
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}

.ac-proj-hero__content {
  flex: 1;
}

/* Hero inline stats */
.ac-proj-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 48px;
  min-width: 200px;
  flex-shrink: 0;
}

.ac-proj-hero__stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #06CFC3, #07A9D1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.ac-proj-hero__stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ac-text-muted);
  line-height: 1.4;
}

/* Hero stats — count-up animation */
.ac-proj-hero__stat {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.ac-proj-hero__stats.ac-stats-animated .ac-proj-hero__stat {
  opacity: 1;
  transform: translateY(0);
}
.ac-proj-hero__stats.ac-stats-animated .ac-proj-hero__stat:nth-child(1) { transition-delay: 0s; }
.ac-proj-hero__stats.ac-stats-animated .ac-proj-hero__stat:nth-child(2) { transition-delay: 0.15s; }
.ac-proj-hero__stats.ac-stats-animated .ac-proj-hero__stat:nth-child(3) { transition-delay: 0.3s; }

.ac-proj-hero__title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 20px 0 20px;
  font-family: 'Inter', sans-serif;
}

.ac-proj-hero__body {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ac-text-muted);
  max-width: 540px;
  margin: 0;
}

/* Stats strip */
.ac-proj-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  position: relative;
}
.ac-proj-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
}
.ac-proj-stat:last-child { border-right: none; }

.ac-proj-stat__num {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #06CFC3, #07A9D1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.ac-proj-stat__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6B7A8D;
  line-height: 1.4;
}

/* Inline stats — light, airy, no heavy dark card */
.ac-proj-stats--inline {
  margin-bottom: 48px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  padding-bottom: 8px;
}
.ac-proj-stats--inline .ac-proj-stat {
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 20px 24px;
}
.ac-proj-stats--inline .ac-proj-stat:last-child { border-right: none; }


/* ── PROJECTS CARDS ─────────────────────────────────────────────────────── */
.ac-proj-cards { position: relative; overflow: hidden; }

/* Pit crew — chequered flag deco (bottom-right of cards section) */
.ac-proj-cards__deco-flag {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  opacity: 0.02;
  background-image:
    linear-gradient(45deg, #07A9D1 25%, transparent 25%),
    linear-gradient(-45deg, #07A9D1 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #07A9D1 75%),
    linear-gradient(-45deg, transparent 75%, #07A9D1 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  mask-image: linear-gradient(to top left, rgba(0,0,0,1) 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(to top left, rgba(0,0,0,1) 0%, transparent 70%);
  pointer-events: none;
}

/* Light theme variant */
.ac-proj-cards--light {
  color: var(--ac-text-dark);
}

.ac-proj-cards__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.ac-proj-cards__title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  font-family: 'Inter', sans-serif;
}
.ac-proj-cards--light .ac-proj-cards__title {
  color: var(--ac-text-dark);
}

/* Grid */
.ac-proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Card base */
.ac-proj-card {
  position: relative;
  background: var(--ac-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--ac-radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ac-text-light);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.ac-proj-card:hover {
  border-color: rgba(7,169,209,0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* ── Split layout: image top, details bottom ────────────────────────────── */
.ac-proj-card__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.ac-proj-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ac-proj-card:hover .ac-proj-card__image img {
  transform: scale(1.04);
}

.ac-proj-card__details {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.ac-proj-card__details-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ac-proj-card__details .ac-proj-card__logo-wrap {
  height: 28px;
}
.ac-proj-card__details .ac-proj-card__logo {
  max-height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.ac-proj-card__details .ac-proj-tag {
  flex-shrink: 0;
  font-size: 10px;
  padding: 3px 8px;
}

.ac-proj-card__details .ac-proj-card__headline {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
  color: #fff;
  margin: 0;
}

.ac-proj-card__details-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}

.ac-proj-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ac-proj-card__read-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
}
.ac-proj-card__read-time svg {
  opacity: 0.5;
}

.ac-proj-card__logo-wrap {
  height: 44px;
  display: flex;
  align-items: center;
}
.ac-proj-card__logo {
  max-height: 36px;
  max-width: 160px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.ac-proj-card__headline {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
}

.ac-proj-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ac-text-muted);
}

.ac-proj-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.ac-proj-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-proj-card__read-time { font-size: 0.75rem; color: rgba(255,255,255,0.3); font-weight: 500; }

.ac-proj-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ac-primary);
  margin-top: 4px;
  transition: gap 0.2s;
}
.ac-proj-card:hover .ac-proj-card__link { gap: 12px; }


/* ── INDIVIDUAL PROJECT — HERO ───────────────────────────────────────────── */
.ac-proj-cc-hero {
  position: relative;
  overflow: hidden;
}
.ac-proj-cc-hero__decorations {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.ac-proj-cc-hero__decorations::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(7,169,209,0.07) 0%, transparent 65%);
}
.ac-proj-cc-hero__decorations::after {
  content: '';
  position: absolute;
  right: 0; top: 80px;
  width: 320px; height: 320px;
  background: url('/wp-content/themes/ac-theme/assets/images/deco-triangle-group.svg') no-repeat center;
  background-size: contain;
  opacity: 0.06;
}

/* Breadcrumb */
.ac-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 28px;
  position: relative;
}
.ac-breadcrumb a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.ac-breadcrumb a:hover { color: var(--ac-primary); }
.ac-breadcrumb span[aria-hidden] { color: rgba(255,255,255,0.2); }

.ac-proj-cc-hero__inner { position: relative; max-width: 820px; }

/* Logo bar — AC logo + client logo & name */
.ac-proj-cc-hero__logo-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.ac-proj-cc-hero__ac-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.ac-proj-cc-hero__logo-bar-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.ac-proj-cc-hero__logo-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ac-proj-cc-hero__client-logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.ac-proj-cc-hero__client-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: -0.01em;
}

.ac-proj-cc-hero__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }

.ac-proj-cc-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}

.ac-proj-cc-hero__body {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ac-text-muted);
  max-width: 640px;
  margin-bottom: 32px;
}

.ac-proj-cc-hero__actions { display: flex; gap: 12px; }
.ac-proj-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ac-text-muted);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'Manrope', sans-serif;
}
.ac-proj-action-btn:hover { border-color: rgba(255,255,255,0.2); color: #fff; }

/* ── TRUST STRIP — airy inline stats ───────────────────────────────────── */
.ac-proj-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 0 1rem;
}
.ac-proj-trust-strip__item {
  text-align: center;
  padding: 0 3rem;
}
.ac-proj-trust-strip__divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.ac-proj-trust-strip__num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #06CFC3, #07A9D1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}
.ac-proj-trust-strip__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ac-text-muted);
  line-height: 1.4;
}
/* Trust strip — entrance animation */
.ac-proj-trust-strip__item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.ac-proj-trust-strip.ac-stats-visible .ac-proj-trust-strip__item {
  opacity: 1;
  transform: translateY(0);
}
.ac-proj-trust-strip.ac-stats-visible .ac-proj-trust-strip__item:nth-child(1) { transition-delay: 0s; }
.ac-proj-trust-strip.ac-stats-visible .ac-proj-trust-strip__item:nth-child(3) { transition-delay: 0.12s; }
.ac-proj-trust-strip.ac-stats-visible .ac-proj-trust-strip__item:nth-child(5) { transition-delay: 0.24s; }
.ac-proj-trust-strip.ac-stats-visible .ac-proj-trust-strip__item:nth-child(7) { transition-delay: 0.36s; }

/* ── ARTICLE CONTENT ────────────────────────────────────────────────────── */
.ac-proj-cc-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

.ac-proj-cc-article { max-width: 720px; }

.ac-proj-cc-section { margin-bottom: 0; }

.ac-proj-cc-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac-primary);
  margin-bottom: 14px;
  font-family: 'Manrope', sans-serif;
}
.ac-proj-cc-section-label::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--ac-primary);
}

.ac-proj-cc-section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
}

.ac-proj-cc-article p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ac-text-muted);
  margin-bottom: 14px;
}
.ac-proj-cc-article p:last-child { margin-bottom: 0; }
.ac-proj-cc-article strong { color: #fff; font-weight: 600; }

/* Light content theme overrides */
.ac-proj-cc-content--light { color: #1a2b36; }
.ac-proj-cc-content--light .ac-proj-cc-section-title { color: #0a1c26; }
.ac-proj-cc-content--light .ac-proj-cc-article p { color: #4a5568; }
.ac-proj-cc-content--light .ac-proj-cc-article strong { color: #0a1c26; }
.ac-proj-cc-content--light .ac-proj-divider { border-top-color: rgba(0,0,0,0.08); }
.ac-proj-cc-content--light .ac-proj-results-list li { color: #4a5568; }
.ac-proj-cc-content--light .ac-proj-results-list li strong { color: #0a1c26; }
.ac-proj-cc-content--light .ac-proj-pullquote {
  background: #fff;
  border-color: rgba(0,0,0,0.06);
  border-left-color: var(--ac-primary);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.ac-proj-cc-content--light .ac-proj-pullquote--open {
  background: none;
  border: none;
  box-shadow: none;
}
.ac-proj-cc-content--light .ac-proj-pullquote--open::before { color: var(--ac-primary); opacity: 0.2; }
.ac-proj-cc-content--light .ac-proj-pullquote__text { color: #1a2b36; }
.ac-proj-cc-content--light .ac-proj-pullquote--open .ac-proj-pullquote__text { color: #0a1c26; }
.ac-proj-cc-content--light .ac-proj-pullquote__author strong { color: #0a1c26; }
.ac-proj-cc-content--light .ac-proj-pullquote__author span { color: #6B7A8D; }
.ac-proj-cc-content--light .ac-proj-pullquote__avatar {
  background: linear-gradient(135deg, rgba(7,169,209,0.15), rgba(6,207,195,0.1));
  border-color: rgba(7,169,209,0.2);
}
.ac-proj-cc-content--light .ac-proj-tech-pill {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  color: #1a2b36;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ac-proj-cc-content--light .ac-proj-tech-pill img {
  filter: none;
  opacity: 0.85;
}
.ac-proj-cc-content--light .ac-proj-forward-box {
  background: linear-gradient(135deg, rgba(7,169,209,0.04) 0%, rgba(6,207,195,0.03) 100%);
  border-color: rgba(7,169,209,0.12);
}
.ac-proj-cc-content--light .ac-proj-forward-box h3 { color: #0a1c26; }
.ac-proj-cc-content--light .ac-proj-forward-box p { color: #4a5568 !important; }
/* Sidebar keeps dark cards on light bg for contrast */
.ac-proj-cc-content--light .ac-proj-sidebar-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Pull quote — default (boxed) */
.ac-proj-pullquote {
  margin: 0;
  padding: 32px 36px;
  background: var(--ac-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid var(--ac-primary);
  border-radius: 0 var(--ac-radius) var(--ac-radius) 0;
  position: relative;
  overflow: hidden;
}
.ac-proj-pullquote::before {
  content: '\201C';
  position: absolute;
  top: -12px; left: 24px;
  font-size: 90px;
  font-weight: 800;
  color: var(--ac-primary);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}
.ac-proj-pullquote__text {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #fff;
  font-weight: 500;
  font-style: italic;
  margin-bottom: 16px !important;
}
.ac-proj-pullquote__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ac-proj-pullquote__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(7,169,209,0.25), rgba(6,207,195,0.15));
  border: 1px solid rgba(7,169,209,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--ac-primary);
  flex-shrink: 0;
}
.ac-proj-pullquote__author strong { display: block; font-size: 0.875rem; color: #fff; }
.ac-proj-pullquote__author span { font-size: 0.75rem; color: var(--ac-text-muted); }

/* Pull quote — open variant: big text, no box */
.ac-proj-pullquote--open {
  background: none;
  border: none;
  border-radius: 0;
  padding: 48px 0;
  overflow: visible;
}
.ac-proj-pullquote--open::before {
  position: static;
  display: block;
  font-size: 72px;
  line-height: 0.5;
  margin-bottom: 16px;
  opacity: 0.25;
  color: var(--ac-primary);
}
.ac-proj-pullquote--open .ac-proj-pullquote__text {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.4;
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  font-family: 'Inter', sans-serif;
}
.ac-proj-pullquote--open .ac-proj-pullquote__avatar {
  width: 40px; height: 40px;
  font-size: 13px;
}
.ac-proj-pullquote--open .ac-proj-pullquote__author strong { font-size: 0.9375rem; }
.ac-proj-pullquote--open .ac-proj-pullquote__author span { font-size: 0.8125rem; }

/* Results list */
.ac-proj-results-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}
.ac-proj-results-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ac-text-muted);
}
.ac-proj-results-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06CFC3, #07A9D1);
  font-size: 11px;
  font-weight: 700;
  color: #010D12;
  flex-shrink: 0;
  margin-top: 2px;
}
.ac-proj-results-list li strong { color: #fff; font-weight: 600; }

/* Tech pills */
.ac-proj-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.ac-proj-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #fff;
  background: var(--ac-dark-card);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px;
  border-radius: var(--ac-radius);
  font-family: 'Manrope', sans-serif;
}
.ac-proj-tech-pill img {
  width: 18px; height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.65;
}

/* Forward look box */
.ac-proj-forward-box {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(7,169,209,0.06) 0%, rgba(6,207,195,0.04) 100%);
  border: 1px solid rgba(7,169,209,0.18);
  border-radius: var(--ac-radius-lg);
  margin-top: 20px;
}
.ac-proj-forward-box__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ac-primary);
  margin-bottom: 10px;
  font-family: 'Manrope', sans-serif;
}
.ac-proj-forward-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
}
.ac-proj-forward-box p {
  font-size: 0.875rem !important;
  line-height: 1.7;
  color: var(--ac-text-muted);
  margin: 0 !important;
}

/* ── SIDEBAR ─────────────────────────────────────────────────────────────── */
.ac-proj-cc-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ac-proj-sidebar-card {
  background: var(--ac-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--ac-radius-lg);
  padding: 24px;
}
.ac-proj-sidebar-card__title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
  margin-top: 0;
  font-family: 'Manrope', sans-serif;
}
.ac-proj-sidebar-dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 8px;
  font-size: 0.8125rem;
}
.ac-proj-sidebar-dl dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  grid-column: 1;
}
.ac-proj-sidebar-dl dd {
  font-weight: 500;
  color: #fff;
  margin: 0;
  font-size: 0.8125rem;
}
.ac-proj-sidebar-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin: 18px 0;
}
.ac-proj-sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ac-proj-sidebar-links a {
  font-size: 0.8125rem;
  color: var(--ac-primary);
  text-decoration: none;
  font-weight: 500;
}
.ac-proj-sidebar-links a:hover { text-decoration: underline; }
.ac-proj-sidebar-meta {
  font-size: 0.8125rem;
  color: var(--ac-text-muted);
  line-height: 1.7;
  margin: 0;
}
.ac-proj-sidebar-logo {
  height: 24px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.65;
  display: block; margin-bottom: 14px;
}
.ac-proj-sidebar-about {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--ac-text-muted);
  margin: 0;
}

/* ── ABOUT CLIENT — wide split card ────────────────────────────────────── */
.ac-proj-about-client {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  background: var(--ac-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}
.ac-proj-about-client__photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.ac-proj-about-client__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ac-proj-about-client__info {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ac-proj-about-client__logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  margin-bottom: 16px;
}
.ac-proj-about-client__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-family: 'Inter', sans-serif;
}
.ac-proj-about-client__info p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ac-text-muted);
  margin: 0 0 10px;
}
.ac-proj-about-client__website {
  font-size: 0.8125rem;
  color: var(--ac-text-muted);
}
.ac-proj-about-client__website a {
  color: var(--ac-primary);
  font-weight: 600;
  text-decoration: none;
}
.ac-proj-about-client__website a:hover { text-decoration: underline; }

/* Round badges */
.ac-proj-about-client__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.ac-proj-about-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #06CFC3;
  background: rgba(6,207,195,0.06);
  border: 1px solid rgba(6,207,195,0.2);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

/* About client — light variant */
.ac-proj-about-client--light {
  background: #fff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.ac-proj-about-client--light .ac-proj-about-client__logo {
  filter: none;
  opacity: 0.85;
}
.ac-proj-about-client--light .ac-proj-about-client__title {
  color: #0a1c26;
}
.ac-proj-about-client--light .ac-proj-about-client__info p {
  color: #4a5568;
}
.ac-proj-about-client--light .ac-proj-about-client__website {
  color: #6B7A8D;
}
.ac-proj-about-client--light .ac-proj-about-badge {
  background: rgba(6,207,195,0.05);
  border-color: rgba(6,207,195,0.25);
}

/* Large button variant */
.ac-btn--lg {
  padding: 14px 28px;
  font-size: 0.9375rem;
}

/* ── CTA ROW — two columns with animated background ──────────────────── */
.ac-proj-cta-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--ac-radius-lg);
  overflow: hidden;
  margin-top: 32px;
}
/* Animated moving background */
.ac-proj-cta-row__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1c26, #0d2a38, #0a2630, #071a22);
  background-size: 300% 300%;
  animation: ac-cta-bg-shift 8s ease-in-out infinite;
  z-index: 0;
}
.ac-proj-cta-row__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(7,169,209,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(6,207,195,0.06) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: ac-cta-glow-move 6s ease-in-out infinite alternate;
}
@keyframes ac-cta-bg-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes ac-cta-glow-move {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

/* CTA columns */
.ac-proj-cta-col {
  position: relative;
  z-index: 1;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ac-proj-cta-col + .ac-proj-cta-col {
  border-left: 1px solid rgba(255,255,255,0.06);
}
.ac-proj-cta-col .ac-section-label {
  color: var(--ac-primary);
}
.ac-proj-cta-col h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
}
.ac-proj-cta-col p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ac-text-muted);
  margin: 0;
}
.ac-proj-cta-col .ac-btn {
  margin-top: 8px;
  align-self: flex-start;
}
.ac-proj-cta-col__note {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
  font-family: 'Manrope', sans-serif;
}

/* CTA entrance animation */
.ac-proj-cta-col {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ac-proj-cta-row.ac-visible .ac-proj-cta-col--primary {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.ac-proj-cta-row.ac-visible .ac-proj-cta-col--secondary {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
/* Button pulse on visible */
.ac-proj-cta-row.ac-visible .ac-proj-cta-col--primary .ac-btn {
  animation: ac-cta-btn-pulse 2s ease-in-out 1s 1;
}
@keyframes ac-cta-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(7,169,209,0.3); }
  50%      { box-shadow: 0 0 20px 4px rgba(7,169,209,0.2); }
}

/* ── RELATED ─────────────────────────────────────────────────────────────── */
.ac-proj-related__header { margin-bottom: 36px; }
.ac-proj-related__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
  font-family: 'Inter', sans-serif;
}
.ac-proj-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ac-proj-related-card {
  background: var(--ac-dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--ac-radius-lg);
  padding: 28px;
  text-decoration: none;
  color: var(--ac-text-light);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}
.ac-proj-related-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,169,209,0.04) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.ac-proj-related-card:hover { border-color: rgba(7,169,209,0.3); transform: translateY(-3px); }
.ac-proj-related-card:hover::before { opacity: 1; }
.ac-proj-related-card__logo-wrap { height: 28px; display: flex; align-items: center; }
.ac-proj-related-card__logo-wrap img {
  max-height: 24px; width: auto; max-width: 110px;
  filter: brightness(0) invert(1); opacity: 0.65;
}
.ac-proj-related-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-family: 'Inter', sans-serif;
  margin: 0;
}
.ac-proj-related-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ac-primary);
  margin-top: auto;
  transition: gap 0.2s;
}
.ac-proj-related-card:hover .ac-proj-related-card__link { gap: 10px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .ac-proj-cc-layout { grid-template-columns: 1fr; gap: 48px; }
  .ac-proj-cc-sidebar { position: static; }
  .ac-proj-about-client { grid-template-columns: 1fr; }
  .ac-proj-about-client__photo { min-height: 240px; }
  .ac-proj-cc-hero__logo-bar { flex-wrap: wrap; gap: 12px; }
  .ac-proj-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .ac-proj-hero__stats {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-left: 0;
    padding-top: 28px;
    flex-direction: row;
    gap: 40px;
    width: 100%;
  }
  .ac-proj-trust-strip__item { padding: 0 2rem; }
}

@media (max-width: 900px) {
  .ac-proj-grid { grid-template-columns: 1fr; }
  .ac-proj-related__grid { grid-template-columns: 1fr 1fr; }
  .ac-proj-card__image { height: 240px; }
  .ac-proj-trust-strip { flex-wrap: wrap; gap: 24px; justify-content: center; }
  .ac-proj-trust-strip__divider { display: none; }
  .ac-proj-trust-strip__item { padding: 0 1.5rem; }
}

@media (max-width: 600px) {
  .ac-proj-hero__stats {
    flex-direction: column;
    gap: 24px;
  }
  .ac-proj-cards__header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ac-proj-related__grid { grid-template-columns: 1fr; }
  .ac-proj-cta-row { grid-template-columns: 1fr; }
  .ac-proj-cta-col + .ac-proj-cta-col { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .ac-proj-cta-col { padding: 32px 28px; }
  .ac-proj-about-client__info { padding: 28px; }
  .ac-proj-about-client__photo { min-height: 200px; }
  .ac-proj-cc-hero__client-name { display: none; }
  .ac-proj-cc-hero__actions { flex-direction: column; }
  .ac-proj-card__details { padding: 20px 22px 24px; }
  .ac-proj-trust-strip { flex-direction: column; gap: 20px; }
  .ac-proj-trust-strip__item { padding: 0; }
}
