/* ============================================================
   FrugalNova - about.css
   Premium About Page Styles
   ============================================================ */

/* --- ABOUT PAGE BASE --- */
.about-page {
  background: var(--clr-surface);
}

/* --- SHARED SECTION --- */
.ab-section {
  padding: 1.5rem 0;
  position: relative;
  overflow: hidden;
}
.ab-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
  opacity: .5;
}

/* --- LIGHT VARIANT TEXT UTILITIES --- */
.section-label--light {
  color: rgba(255,255,255,.8);
}
.section-label--light::before {
  background: rgba(255,255,255,.5);
}
.section-title--light {
  color: #fff;
}
.section-title--light em {
  color: var(--clr-accent-light);
}
.section-desc--light {
  color: rgba(255,255,255,.8);
}

.ab-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--clr-text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.ab-text strong { color: var(--clr-primary); font-weight: 600; }

/* ================================================================
   HERO
   ================================================================ */
.ab-hero {
  position: relative;
  min-height: 85svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f4f5f8;
  padding-top: 1.5rem;
}

.ab-hero-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 180px 180px;
}

.ab-hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26,46,68,.09) 1px, transparent 1px);
  background-size: 32px 32px;
}

.ab-hero-glow {
  position: absolute; z-index: 0; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  animation: glowBreath 7s ease-in-out infinite alternate;
}
.ab-hero-glow--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(181,36,106,.18) 0%, transparent 68%);
  top: -10%; right: 5%; animation-delay: 0s;
}
.ab-hero-glow--2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(79,142,247,.12) 0%, transparent 68%);
  bottom: 8%; left: 10%; animation-delay: 3s;
}

/* --- 3D Floating Orbs --- */
.ab-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
  animation: abOrbFloat var(--dur, 10s) ease-in-out infinite alternate;
}
.ab-orb--1 {
  width: 180px; height: 180px;
  background: radial-gradient(circle at 30% 30%, rgba(181,36,106,.15), transparent 70%);
  border: 1px solid rgba(181,36,106,.12);
  top: 15%; right: 8%;
  --dur: 9s;
  animation-delay: 0s;
}
.ab-orb--2 {
  width: 120px; height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(79,142,247,.12), transparent 70%);
  border: 1px solid rgba(79,142,247,.1);
  bottom: 20%; right: 22%;
  --dur: 12s;
  animation-delay: 2s;
}
.ab-orb--3 {
  width: 80px; height: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(181,36,106,.1), transparent 70%);
  border: 1px solid rgba(181,36,106,.08);
  top: 60%; left: 5%;
  --dur: 8s;
  animation-delay: 4s;
}
@keyframes abOrbFloat {
  0%   { transform: translateY(0) scale(1) rotate(0deg); }
  100% { transform: translateY(-30px) scale(1.06) rotate(8deg); }
}

.ab-hero-inner {
  position: relative; z-index: 10;
  display: flex; align-items: center; gap: 2.5rem;
  padding: 1.5rem 2rem 1.25rem;
  width: 100%;
}

/* Left content */
.ab-hero-content {
  flex: 1 1 480px;
  display: flex; flex-direction: column; align-items: flex-start;
}


.ab-hero-title {
  font-family: var(--font-headings);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 700; line-height: 1.1;
  color: var(--clr-primary);
  margin-bottom: .6rem; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .9s var(--ease-out) .2s forwards;
}
.ab-hero-accent {
  color: var(--clr-accent); font-style: italic;
  display: inline;
}

.ab-hero-deco-line {
  width: 72px; height: 3px;
  background: linear-gradient(90deg, var(--clr-accent) 0%, rgba(79,142,247,.5) 100%);
  border-radius: 100px; margin-bottom: 0.8rem;
  opacity: 0; transform: scaleX(0); transform-origin: left;
  animation: decoLineIn .8s var(--ease-out) .45s forwards;
}

.ab-hero-subtitle {
  font-size: 1.05rem; font-weight: 300;
  color: var(--clr-text-muted); max-width: 520px;
  line-height: 1.85; margin-bottom: 1.25rem;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .9s var(--ease-out) .4s forwards;
}

.ab-hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp .9s var(--ease-out) .6s forwards;
}
.ab-hero-actions .btn-ghost {
  color: var(--clr-primary); border-color: var(--clr-border); background: #fff;
}
.ab-hero-actions .btn-ghost:hover {
  border-color: var(--clr-accent); background: var(--clr-accent-pale);
}

/* --- Hero Visual (stats orb) --- */
.ab-hero-visual {
  flex: 0 0 auto;
  width: min(46%, 520px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateX(40px);
  animation: fadeSlideLeft .9s var(--ease-out) .5s forwards;
}

.ab-stat-orb {
  position: relative;
  width: 380px; height: 380px;
  display: flex; align-items: center; justify-content: center;
}

.ab-stat-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid;
  animation: abRingSpin var(--dur, 20s) linear infinite;
}
.ab-stat-ring--1 {
  inset: 0;
  border-color: rgba(181,36,106,.15);
  --dur: 30s;
}
.ab-stat-ring--2 {
  inset: -30px;
  border-color: rgba(79,142,247,.1);
  --dur: 40s; animation-direction: reverse;
}
.ab-stat-ring--3 {
  inset: -60px;
  border-color: rgba(181,36,106,.08);
  --dur: 50s;
}
@keyframes abRingSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ab-stat-core {
  position: relative; z-index: 2;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(26,46,68,.08), 0 0 0 1px rgba(255,255,255,1) inset;
  display: flex; align-items: center; justify-content: center;
}

.ab-stat-items {
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
}

.ab-stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
}
.ab-stat-num {
  font-size: 1.85rem; font-weight: 800;
  font-family: var(--font-headings);
  color: #1a2e44;
  line-height: 1;
}
.ab-stat-suf {
  font-size: 1rem; font-weight: 700; color: #B5246A;
  line-height: 1;
}
.ab-stat-lbl {
  font-size: .65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: #6a7a85;
  margin-top: 0.1rem;
}
.ab-stat-separator {
  width: 32px; height: 1px;
  background: #B5246A;
  opacity: 0.35;
}

/* --- Floating tech pills --- */
.ab-tech-pill {
  position: absolute; z-index: 3;
  padding: .6rem 1.2rem; border-radius: 100px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(181,36,106,.15);
  font-size: .75rem; font-weight: 700;
  color: #1a2e44; letter-spacing: .02em;
  box-shadow: 
    0 10px 25px rgba(26,46,68,.08),
    0 0 0 1px rgba(255,255,255,0.8) inset;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: abPillFloat3D var(--dur, 6s) ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  white-space: nowrap;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.ab-tech-pill:hover {
  background: #ffffff;
  transform: scale(1.1) translateZ(20px) rotateX(10deg);
  box-shadow: 0 15px 35px rgba(181,36,106,.15);
  border-color: var(--clr-accent);
  z-index: 10;
}

.ab-tech-pill--1 { top: 10%;  left: -22%; --dur: 7s; --delay: 0s; }
.ab-tech-pill--2 { top: 20%; right: -28%; --dur: 8s; --delay: 1.2s; }
.ab-tech-pill--3 { bottom: 22%; left: -24%; --dur: 9s; --delay: .6s; }
.ab-tech-pill--4 { bottom: 10%; right: -20%; --dur: 7.5s; --delay: 1.8s; }

.pill-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

@keyframes abPillFloat3D {
  0%   { transform: translateY(0) rotateX(0deg) rotateY(0deg) translateZ(0); }
  33%  { transform: translateY(-8px) rotateX(4deg) rotateY(-3deg) translateZ(10px); }
  66%  { transform: translateY(4px) rotateX(-3deg) rotateY(4deg) translateZ(5px); }
  100% { transform: translateY(0) rotateX(0deg) rotateY(0deg) translateZ(0); }
}



/* ================================================================
   STORY - Compact Modern Redesign
   ================================================================ */
.ab-story {
  background: var(--clr-surface);
  position: relative;
  overflow: hidden;
  padding: 1.5rem 0 2rem;
}
.ab-story-bg-accent {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(181,36,106,.09) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(79,142,247,.06) 0%, transparent 50%);
  pointer-events: none;
}
.ab-story-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* -- 55 / 45 split -- image column slightly wider -- */
.ab-story-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 1.5rem;
  align-items: start;
}

/* 3D Tilt Wrapper */
.ab-story-visual-wrap {
  perspective: 1200px;
  transform-style: preserve-3d;
}
.ab-story-visual {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .2s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

/* -- Image frame: overflow visible so card can extend beyond bounds -- */
.ab-story-img-frame {
  border-radius: var(--radius-lg);
  overflow: visible;
  position: relative;
  transform: translateZ(0);
}
/* Inner clip div: clips image to rounded corners, holds the shadow */
.ab-story-img-clip {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow:
    0 24px 60px rgba(26,46,68,.16),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.ab-story-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(.23,1,.32,1);
}
.ab-story-visual-wrap:hover .ab-story-img { transform: scale(1.06); }

.ab-story-img-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(26,46,68,.35) 100%),
    linear-gradient(135deg, rgba(181,36,106,.06) 0%, transparent 45%);
  pointer-events: none;
}

/* -- Badge: top-left corner of image, overlaps .ab-story-visual -- */
.floating-badge-3d {
  position: absolute;
  top: .85rem; left: .85rem;
  z-index: 10;
  background: rgba(26,46,68,.6);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  padding: .35rem 1rem;
  border-radius: 100px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: .45rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  animation: cardFloatDeep 6s ease-in-out infinite alternate;
  animation-delay: .5s;
}
.floating-badge-3d .badge-dot {
  background: #50c878;
  box-shadow: 0 0 8px #50c878;
  animation: dotPulse 2s ease infinite;
}

/* -- Glassmorphic stat strip -- */
.ab-story-stat-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.8rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 10px 30px rgba(26, 46, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 5;
}
.ab-story-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 1;
}
.ab-ss-num {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ab-ss-sup {
  font-size: 0.7em;
  color: var(--clr-accent);
  font-weight: 800;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
}
.ab-ss-lbl {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-text-muted);
  opacity: 0.85;
}
.ab-story-stat-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(26, 46, 68, 0.1), transparent);
  flex-shrink: 0;
}


/* -- Floating Global Reach card -- */
.floating-card-3d {
  position: absolute;
  /* Anchors to the image-frame bottom-right, overlapping the image slightly */
  bottom: 1rem; right: 1rem;
  z-index: 10;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: var(--radius-md);
  padding: .65rem 1rem;
  display: flex; align-items: center; gap: .65rem;
  box-shadow:
    0 12px 32px rgba(26,46,68,.14),
    0 0 0 1px rgba(181,36,106,.06) inset;
  animation: cardFloatDeep 5s ease-in-out infinite alternate;
  animation-delay: .8s;
}
@keyframes cardFloatDeep {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}
.floating-card-3d .card-icon { font-size: 1.5rem; }
.floating-card-3d .card-text { display: flex; flex-direction: column; gap: .1rem; }
.floating-card-3d .card-text strong { font-size: .85rem; font-weight: 700; color: var(--clr-primary); }
.floating-card-3d .card-text span  { font-size: .72rem; color: var(--clr-text-muted); }

/* -- Decorative glass shapes -- */
.ab-story-glass-shape {
  position: absolute; pointer-events: none; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 4px 20px rgba(26,46,68,.04), inset 0 2px 10px rgba(255,255,255,.45);
  z-index: 1;
  animation: abOrbFloat 10s ease-in-out infinite alternate;
}
.shape-glow {
  width: 120px; height: 120px;
  top: -6%; right: -5%;
  background: radial-gradient(circle at 30% 30%, rgba(181,36,106,.07), transparent 70%);
  border-color: rgba(181,36,106,.15);
  animation-duration: 9s;
}
.shape-ring {
  width: 80px; height: 80px;
  bottom: 30%; left: -5%;
  background: radial-gradient(circle at 30% 30%, rgba(79,142,247,.07), transparent 70%);
  border-color: rgba(79,142,247,.15);
  animation-duration: 12s; animation-delay: 2s;
}

/* -- Story content column -- */
.ab-story-content { position: relative; z-index: 2; }
.ab-story-content .section-title { margin-bottom: .6rem; }
.ab-story-content .ab-text { font-size: .92rem; line-height: 1.75; margin-bottom: .85rem; }
.ab-story-content .ab-text:last-of-type { margin-bottom: 0; }

/* -- Compact Milestones Timeline -- */
.ab-milestones-list {
  position: relative;
  display: flex; flex-direction: column;
  gap: .65rem;
  margin-top: 0.8rem;
  padding-left: 18px;
}
.ab-milestone-track {
  position: absolute; top: 0; bottom: 0; left: 5px;
  width: 2px;
  background: rgba(181,36,106,.14);
  border-radius: 2px;
}
.ab-milestone-progress {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--clr-accent), var(--clr-accent-light));
  border-radius: 2px;
  transition: height .3s ease-out;
}

.ab-milestone-item {
  position: relative;
  display: flex; align-items: center; gap: 1rem;
  cursor: default;
  transform-origin: left;
}
/* Node dot */
.ab-milestone-node {
  flex-shrink: 0;
  width: 12px; height: 12px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2px solid var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(181,36,106,.1);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  z-index: 2;
}
.ab-milestone-item:hover .ab-milestone-node {
  background: var(--clr-accent);
  box-shadow: 0 0 0 5px rgba(181,36,106,.2);
  transform: scale(1.3);
}

/* Compact card */
.ab-milestone-card {
  flex-grow: 1;
  display: flex; align-items: center; gap: .85rem;
  padding: .6rem .9rem;
  border-radius: 10px;
  border: 1px solid rgba(26,46,68,.06);
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  transition: all .35s cubic-bezier(.23,1,.32,1);
  /* Shimmer stripe */
  position: relative; overflow: hidden;
}
.ab-milestone-card::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--clr-accent), var(--clr-accent-light));
  opacity: 0;
  border-radius: 0 2px 2px 0;
  transition: opacity .3s ease;
}
.ab-milestone-item:hover .ab-milestone-card {
  background: #fff;
  border-color: rgba(181,36,106,.22);
  box-shadow: 0 8px 24px rgba(26,46,68,.07);
  transform: translateX(6px);
}
.ab-milestone-item:hover .ab-milestone-card::before { opacity: 1; }

/* Year badge */
.ab-milestone-year {
  font-family: var(--font-headings);
  font-size: 1rem; font-weight: 800;
  color: var(--clr-accent);
  flex-shrink: 0; min-width: 3rem;
  letter-spacing: -.01em;
}
.ab-milestone-info {
  display: flex; flex-direction: column; gap: .1rem;
}
.ab-milestone-info strong {
  font-size: .85rem; font-weight: 600;
  color: var(--clr-primary); line-height: 1.3;
}
.ab-milestone-info span {
  font-size: .75rem; color: var(--clr-text-muted);
  line-height: 1.4;
}

/* ================================================================
   MISSION & VISION
   ================================================================ */
.ab-mv { background: var(--clr-surface-2); }

.ab-mv-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.2rem;
}

.ab-mv-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  transition: all .4s var(--ease-out);
  overflow: hidden;
}
.ab-mv-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(26,46,68,.12);
  border-color: var(--clr-accent);
}
.ab-mv-card-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 80% 20%, rgba(181,36,106,.06) 0%, transparent 60%);
  pointer-events: none;
}
.ab-mv-icon {
  position: relative; z-index: 1;
  font-size: 2.5rem; margin-bottom: 0.6rem;
  display: inline-block;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.ab-mv-card:hover .ab-mv-icon { transform: scale(1.15) rotate(-5deg); }
.ab-mv-title {
  position: relative; z-index: 1;
  font-family: var(--font-headings); font-size: 1.3rem; font-weight: 600;
  color: var(--clr-primary); margin-bottom: .75rem;
}
.ab-mv-desc {
  position: relative; z-index: 1;
  font-size: .93rem; line-height: 1.75;
  color: var(--clr-text-muted); margin-bottom: 1.25rem;
}
.ab-mv-pillars {
  position: relative; z-index: 1;
  display: flex; gap: .5rem; flex-wrap: wrap;
}
.ab-mv-pillars span {
  padding: .3rem .8rem; border-radius: 100px;
  border: 1px solid var(--clr-accent);
  background: var(--clr-accent-pale);
  font-size: .72rem; font-weight: 600;
  color: var(--clr-accent); letter-spacing: .04em;
}

/* Center element */
.ab-mv-central {
  width: 150px; height: 150px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  perspective: 1000px;
}

.ab-mvc-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--clr-accent);
  opacity: 0;
}

.ab-mvc-ring--1 {
  inset: -10px;
  opacity: 0.15;
  border-width: 2px;
  animation: abRingPulse 4s ease-in-out infinite;
}

.ab-mvc-ring--2 {
  inset: -25px;
  opacity: 0.1;
  border-style: dashed;
  animation: abRingSpin 15s linear infinite;
}

.ab-mvc-ring--3 {
  inset: -40px;
  opacity: 0.05;
  animation: abRingSpin 25s linear infinite reverse;
}

@keyframes abRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.1); opacity: 0.25; }
}

@keyframes abRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ab-mv-central-inner {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 0.3rem;
  box-shadow: 
    0 12px 40px rgba(26, 46, 68, 0.3),
    inset 0 0 20px rgba(181, 36, 106, 0.2);
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  animation: abFloat 6s ease-in-out infinite;
}

.ab-mv-central:hover .ab-mv-central-inner {
  transform: scale(1.1) rotateY(10deg) rotateX(-5deg);
  box-shadow: 
    0 20px 50px rgba(181, 36, 106, 0.25),
    inset 0 0 30px rgba(181, 36, 106, 0.4);
}

@keyframes abFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ab-mv-central-icon { 
  font-size: 1.6rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
  animation: abIconBlink 3s ease-in-out infinite;
}

@keyframes abIconBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.9); }
}

.ab-mv-central-text { 
  font-size: 0.75rem; 
  font-weight: 700; 
  letter-spacing: 0.08em; 
  text-transform: uppercase; 
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ab-sc-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.8s;
  pointer-events: none;
  z-index: 3;
}

.ab-mv-central:hover .ab-sc-shine {
  left: 150%;
}

/* ================================================================
   SERVICES OVERVIEW
   ================================================================ */
.ab-services-overview { background: var(--clr-surface); }

.ab-services-grid {
  perspective: 1600px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.ab-svc-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  transition: all .5s cubic-bezier(.23,1,.32,1);
  overflow: hidden;
  transform-style: preserve-3d;
}
.ab-svc-card:hover {
  transform: translateY(-10px) rotateX(3deg) rotateY(-1deg) translateZ(16px);
  box-shadow: 0 24px 60px rgba(26,46,68,.12);
  border-color: var(--clr-accent);
}
.ab-svc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(181,36,106,.04) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s var(--ease-out);
  pointer-events: none; z-index: 1; border-radius: inherit;
}
.ab-svc-card:hover::after { transform: translateX(100%); }

.ab-svc-num {
  font-family: var(--font-headings); font-size: 2rem; font-weight: 700;
  color: var(--clr-accent); opacity: .25; line-height: 1;
  margin-bottom: .5rem;
}
.ab-svc-icon { font-size: 2rem; margin-bottom: .75rem; display: block;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.ab-svc-card:hover .ab-svc-icon { transform: scale(1.2) rotate(-5deg); }
.ab-svc-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--clr-primary); margin-bottom: .5rem; }
.ab-svc-card p { font-size: .88rem; color: var(--clr-text-muted); line-height: 1.7; margin-bottom: 1rem; }
.ab-svc-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ab-svc-tags span {
  padding: .2rem .65rem; border-radius: 100px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-2);
  font-size: .68rem; font-weight: 600;
  color: var(--clr-text-muted); letter-spacing: .03em;
}

/* CTA card */
.ab-svc-card--cta {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  border-color: transparent;
}
.ab-svc-card--cta:hover { border-color: transparent; }
.ab-svc-cta-inner {
  display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
  height: 100%;
}
.ab-svc-cta-icon { font-size: 2rem; }
.ab-svc-card--cta h3 { color: #fff; font-size: 1.15rem; }
.ab-svc-card--cta p  { color: rgba(255,255,255,.75); font-size: .88rem; }

/* ================================================================
   TECHNOLOGIES
   ================================================================ */
.ab-tech { background: var(--clr-surface); }

.ab-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.ab-tech-category {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  background: var(--clr-surface-2);
  transition: all .4s var(--ease-out);
}
.ab-tech-category:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 12px 40px rgba(26,46,68,.08);
  transform: translateY(-4px);
}

.ab-tech-cat-header {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem;
}
.ab-tech-cat-icon { font-size: 1.6rem; }
.ab-tech-cat-header h3 {
  font-size: 1.05rem; font-weight: 600; color: var(--clr-primary);
}

.ab-tech-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.ab-tech-tag {
  padding: .35rem .85rem; border-radius: 100px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  font-size: .78rem; font-weight: 500;
  color: var(--clr-primary); letter-spacing: .02em;
  transition: all .25s var(--ease-out);
  cursor: default;
}
.ab-tech-tag:hover {
  background: var(--clr-primary);
  color: #fff; border-color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26,46,68,.18);
}

/* ================================================================
   TEAM
   ================================================================ */
.ab-team { background: var(--clr-surface); }

.ab-team-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.ab-team-img-wrap { position: relative; }
.ab-team-img {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 4/3; object-fit: cover;
  box-shadow: 0 24px 80px rgba(26,46,68,.15);
  transition: transform .8s var(--ease-out);
}
.ab-team-img-wrap:hover .ab-team-img { transform: scale(1.03); }

.ab-team-img-overlay {
  position: absolute; inset: 0; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(26,46,68,.15) 0%, transparent 60%);
  pointer-events: none;
}
.ab-team-img-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--clr-primary); color: #fff;
  padding: .35rem .9rem; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: .4rem;
  box-shadow: 0 4px 16px rgba(26,46,68,.25);
}

.ab-team-values {
  display: flex; flex-direction: column; gap: .85rem;
  margin: 1.5rem 0 2rem;
}
.ab-team-value {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all .3s var(--ease-out);
  cursor: default;
}
.ab-team-value:hover {
  background: var(--clr-surface-2);
  border-color: var(--clr-border);
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.ab-tv-icon {
  font-size: 1.5rem; flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--clr-surface-3);
  border: 1px solid var(--clr-border);
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), background .3s ease;
}
.ab-team-value:hover .ab-tv-icon {
  transform: rotate(-8deg) scale(1.15);
  background: var(--clr-accent-pale);
  border-color: var(--clr-accent);
}
.ab-team-value div strong { font-size: .92rem; font-weight: 600; color: var(--clr-primary); display: block; margin-bottom: .2rem; }
.ab-team-value div p { font-size: .82rem; color: var(--clr-text-muted); line-height: 1.6; }

/* Gallery */
.ab-team-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.ab-gallery-img {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1/1;
}
.ab-gallery-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.ab-gallery-img:hover img { transform: scale(1.08); }
.ab-gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26,46,68,.8) 100%);
  display: flex; align-items: flex-end; padding: 1rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #fff;
  opacity: 0; transition: opacity .3s ease;
}
.ab-gallery-img:hover .ab-gallery-overlay { opacity: 1; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.ab-cta {
  position: relative; overflow: hidden;
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--clr-primary) 0%, #1e3a58 60%, #0d1b2a 100%);
}

.ab-cta-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,36,106,.18) 0%, transparent 65%);
  top: -30%; right: -10%;
  pointer-events: none;
  animation: glowBreath 8s ease-in-out infinite alternate;
}

.ab-cta-grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}

.ab-cta-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.ab-cta-content { max-width: 680px; margin: 0 auto; }
.ab-cta-title {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.15;
  color: #fff; letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
}
.ab-cta-title em {
  font-style: italic;
  color: var(--clr-accent-light);
}
.ab-cta-desc { font-size: 1rem; color: rgba(255,255,255,.65); line-height: 1.75; margin-bottom: 2rem; }
.ab-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.ab-cta-ghost {
  color: rgba(255,255,255,.85) !important;
  border-color: rgba(255,255,255,.3) !important;
  background: rgba(255,255,255,.06) !important;
}
.ab-cta-ghost:hover {
  background: rgba(255,255,255,.15) !important;
  border-color: rgba(255,255,255,.5) !important;
  color: #fff !important;
}

/* ================================================================
   MOBILE NAV OPEN STATE
   ================================================================ */
.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  align-items: center; justify-content: center;
  gap: 2rem;
  z-index: 999;
}
.nav-links.mobile-open .nav-link {
  font-size: 1.4rem; font-weight: 600;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .ab-mv-grid { grid-template-columns: 1fr 1fr; }
  .ab-mv-central { display: none; }
  .ab-services-grid { grid-template-columns: repeat(2, 1fr); }
  }

@media (max-width: 900px) {
  .ab-hero-inner {
    flex-direction: column; gap: 3rem;
    padding: 8rem 1.5rem 4rem;
    text-align: center; align-items: center;
  }
  .ab-hero-content { align-items: center; }
  .ab-hero-actions { justify-content: center; }
  .ab-hero-visual { width: 100%; max-width: 380px; }
  .ab-stat-orb { width: 280px; height: 280px; }
  .ab-stat-core { width: 200px; height: 200px; }

  .ab-story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .floating-card-3d { right: 0; bottom: 5.5rem; }
  .ab-team-feature { grid-template-columns: 1fr; gap: 2.5rem; }
  .ab-team-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .ab-mv-grid { grid-template-columns: 1fr; }
  .ab-services-grid { grid-template-columns: 1fr; }
  .ab-tech-grid { grid-template-columns: 1fr; }
  .ab-team-gallery { grid-template-columns: repeat(2, 1fr); }
  .ab-hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
  .ab-tech-pill { display: none; }
  .ab-stat-orb { width: 240px; height: 240px; }
  .ab-stat-core { width: 170px; height: 170px; }
  .ab-stat-num { font-size: 1.3rem; }
}


/* ================================================================
   PROCESS - ZIGZAG TIMELINE
   ================================================================ */
.ab-process { background: var(--clr-surface-2); }

.ab-timeline {
  position: relative; z-index: 1;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Central spine */
.ab-timeline-spine {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--clr-accent) 8%,
    var(--clr-accent) 92%,
    transparent 100%);
  opacity: .35;
}

/* Each row */
.ab-tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 0;
  min-height: 180px;
}



/* Node (center column) */
.ab-tl-node {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.ab-tl-node-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--clr-surface-2);
  border: 3px solid var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(181,36,106,.15), 0 4px 16px rgba(181,36,106,.2);
  transition: all .3s var(--ease-out);
}
.ab-tl-node--last .ab-tl-node-dot {
  background: var(--clr-accent);
  box-shadow: 0 0 0 6px rgba(181,36,106,.2), 0 4px 20px rgba(181,36,106,.3);
}

/* Content card */
.ab-tl-content {
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
  transition: all .45s var(--ease-out);
}
.ab-tl-content::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.ab-tl-item:hover .ab-tl-content::before { transform: scaleX(1); }
.ab-tl-item:hover .ab-tl-content {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,46,68,.1);
  border-color: var(--clr-accent);
}
.ab-tl-item:hover .ab-tl-node-dot {
  background: var(--clr-accent);
  transform: scale(1.3);
}

/* Left-side item: content left, node center, spacer right */
.ab-tl-item--left .ab-tl-content { grid-column: 1; }
.ab-tl-item--left .ab-tl-node    { grid-column: 2; }
.ab-tl-item--left .ab-tl-spacer  { grid-column: 3; }

/* Right-side item: spacer left, node center, content right */
.ab-tl-item--right .ab-tl-spacer  { grid-column: 1; }
.ab-tl-item--right .ab-tl-node    { grid-column: 2; }
.ab-tl-item--right .ab-tl-content { grid-column: 3; }

/* Connector arm from content to node */
.ab-tl-item--left  .ab-tl-content::after,
.ab-tl-item--right .ab-tl-content::after {
  content: '';
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-accent));
  opacity: .5;
}
.ab-tl-item--left  .ab-tl-content::after { right: -30px; }
.ab-tl-item--right .ab-tl-content::after { left: -30px; background: linear-gradient(90deg, var(--clr-accent), transparent); }

/* Step number */
.ab-tl-num {
  display: block;
  font-family: var(--font-headings);
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--clr-accent); opacity: .12;
  margin-bottom: .25rem; letter-spacing: -.04em;
}

/* Icon */
.ab-tl-icon-wrap {
  font-size: 2.2rem; margin-bottom: .6rem;
  display: inline-block;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.ab-tl-item:hover .ab-tl-icon-wrap { transform: scale(1.15) rotate(-6deg); }

.ab-tl-title { font-size: 1.15rem; font-weight: 700; color: var(--clr-primary); margin-bottom: .45rem; }
.ab-tl-desc  { font-size: .9rem;  color: var(--clr-text-muted); line-height: 1.75; margin-bottom: 1rem; }

.ab-tl-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ab-tl-tags span {
  padding: .25rem .75rem; border-radius: 100px;
  border: 1px solid var(--clr-accent);
  background: var(--clr-accent-pale);
  font-size: .7rem; font-weight: 600;
  color: var(--clr-accent); letter-spacing: .04em;
  transition: all .2s ease;
}
.ab-tl-item:hover .ab-tl-tags span {
  background: var(--clr-accent);
  color: #fff;
}

/* ================================================================
   ACHIEVEMENTS - ASYMMETRIC BENTO
   ================================================================ */
.ab-achievements { padding: 5rem 0 0; }

.ab-ach-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(145deg, var(--clr-primary) 0%, #162f4a 55%, #0a1928 100%);
}
.ab-ach-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 36px 36px;
}
.ab-ach-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(181,36,106,.18) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 85%, rgba(79,142,247,.12) 0%, transparent 45%);
}

.ab-ach-header {
  position: relative; z-index: 1;
  margin-bottom: 2.5rem;
}

/* -- Uniform Minimal Grid -- */
.ab-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.ab-bento-cell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  cursor: default;
}

.ab-bento-cell:nth-child(1) { background: linear-gradient(145deg, rgba(181,36,106,.12) 0%, rgba(255,255,255,.05) 100%); }
.ab-bento-cell:nth-child(2) { background: linear-gradient(145deg, rgba(79,142,247,.08) 0%, rgba(255,255,255,.05) 100%); }

.ab-bento-cell:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  border-color: rgba(181,36,106,.3);
}

.ab-bento-cell-inner {
  display: flex; flex-direction: column;
  padding: 1.8rem;
  height: 100%; gap: .2rem;
}

.ab-bento-kpi {
  display: flex; align-items: flex-start; gap: .1rem; line-height: 1; margin-bottom: .4rem;
}

.ab-ach-num {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800; color: #fff; line-height: 1;
}

.ab-bento-suf {
  font-family: var(--font-headings);
  font-size: 1.6rem; margin-top: .4rem; font-weight: 700; color: var(--clr-accent-light); line-height: 1;
}

.ab-bento-label {
  font-size: 1.05rem; font-weight: 600; color: rgba(255,255,255,.95); line-height: 1.3; margin-bottom: .25rem;
}

.ab-bento-sub {
  font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.5;
}

.ab-bento-cell-icon {
  font-size: 1.8rem; margin-top: auto; opacity: .4; padding-top: 1.5rem; flex-shrink: 0; align-self: flex-start;
}

/* -- Ticker strip -- */
.ab-ach-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.1rem 0;
  background: rgba(0,0,0,.15);
  position: relative; z-index: 1;
}
.ab-ach-ticker-inner {
  display: flex; gap: 2.5rem;
  animation: tickerScroll 28s linear infinite;
  width: max-content;
}
.ab-ach-ticker-inner:hover { animation-play-state: paused; }
.ab-ach-ticker-inner span {
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  transition: color .3s ease;
}
.ab-ach-ticker-inner span:hover { color: var(--clr-accent-light); }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   VALUES - ALTERNATING FULL-WIDTH STRIPS
   ================================================================ */
.ab-values {
  background: var(--clr-surface);
  padding: 5rem 0 0;
}
.ab-values-intro {
  padding: 0 0 3rem;
  text-align: center;
}

.ab-value-strips { display: flex; flex-direction: column; }

.ab-vs {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
  transition: background .4s ease;
}
.ab-vs:last-child { border-bottom: 1px solid var(--clr-border); }

/* Odd strips: light bg with subtle left-tinted accent */
.ab-vs--odd {
  background: var(--clr-surface-2);
}
.ab-vs--odd:hover { background: var(--clr-accent-pale); }

/* Even strips: white background */
.ab-vs--even {
  background: var(--clr-surface);
}
.ab-vs--even:hover { background: #f9f9fb; }

/* Large ghost index number */
.ab-vs-index {
  position: absolute;
  font-family: var(--font-headings);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 800; line-height: 1;
  color: var(--clr-accent); opacity: .04;
  top: 50%; right: 3%;
  transform: translateY(-50%);
  pointer-events: none; user-select: none;
  letter-spacing: -.05em;
  transition: opacity .4s ease;
}
.ab-vs:hover .ab-vs-index { opacity: .07; }

/* Body: two-column split */
.ab-vs-body {
  max-width: 1240px; margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 5rem;
  align-items: center;
}
.ab-vs--even .ab-vs-body {
  grid-template-columns: 1fr 260px;
}

/* Icon column */
.ab-vs-icon-col {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ab-vs-icon-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(181,36,106,.07);
  border: 2px solid rgba(181,36,106,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: all .5s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
.ab-vs-icon-ring::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(181,36,106,.1);
  transition: all .4s ease;
}
.ab-vs:hover .ab-vs-icon-ring {
  background: rgba(181,36,106,.14);
  border-color: var(--clr-accent);
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 12px 40px rgba(181,36,106,.2);
}
.ab-vs:hover .ab-vs-icon-ring::before {
  inset: -16px;
  border-color: rgba(181,36,106,.2);
}

/* Text column */
.ab-vs-text-col { display: flex; flex-direction: column; gap: 1rem; }

.ab-vs-title {
  font-family: var(--font-headings);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--clr-primary);
  letter-spacing: -.02em; line-height: 1.2;
}
.ab-vs-desc {
  font-size: 1rem; line-height: 1.8;
  color: var(--clr-text-muted); font-weight: 300;
  max-width: 560px;
}

/* Progress bars */
.ab-vs-bars { display: flex; flex-direction: column; gap: .6rem; margin-top: .25rem; }
.ab-vs-bar {
  display: flex; flex-direction: column; gap: .3rem;
  position: relative;
}
.ab-vs-bar span {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--clr-text-light);
}
.ab-vs-bar-fill {
  height: 4px; border-radius: 100px;
  background: var(--clr-border);
  overflow: hidden;
  position: relative;
}
.ab-vs-bar-fill::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: var(--w, 80%);
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  border-radius: inherit;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(.22,1,.36,1) .2s;
}
.revealed .ab-vs-bar-fill::after,
.ab-vs:hover .ab-vs-bar-fill::after { transform: scaleX(1); }

/* Badge chips */
.ab-vs-badges {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem;
}
.ab-vs-badges span {
  padding: .35rem .9rem;
  border-radius: 100px;
  background: var(--clr-surface-3);
  border: 1px solid var(--clr-border);
  font-size: .75rem; font-weight: 600;
  color: var(--clr-primary); letter-spacing: .03em;
  transition: all .25s ease;
}
.ab-vs:hover .ab-vs-badges span {
  background: var(--clr-accent-pale);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* ================================================================
   RESPONSIVE - NEW LAYOUTS
   ================================================================ */
@media (max-width: 1024px) {
  .ab-bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .ab-bento-hero { grid-column: span 2; }
  .ab-bento-tall { grid-column: span 2; }
  .ab-bento-accent { grid-column: span 2; }
  .ab-bento-sm { grid-column: span 2; }
  .ab-bento-wide { grid-column: span 4; }
}

@media (max-width: 900px) {
  /* Timeline collapses to single column */
  .ab-timeline-spine { display: none; }
  .ab-tl-item,
  .ab-tl-item--left,
  .ab-tl-item--right {
    display: block;
    margin-bottom: 1rem;
  }
  .ab-tl-node, .ab-tl-spacer { display: none; }
  .ab-tl-content { border-radius: var(--radius-md); }
  .ab-tl-content::after { display: none; }

  /* Bento collapses */
  .ab-bento { grid-template-columns: 1fr 1fr; }
  .ab-bento-hero { grid-column: span 2; grid-row: span 1; min-height: 220px; }
  .ab-bento-tall, .ab-bento-accent { grid-column: span 1; grid-row: span 1; }
  .ab-bento-sm   { grid-column: span 1; }
  .ab-bento-wide { grid-column: span 2; }

  /* Value strips collapse */
  .ab-vs-body,
  .ab-vs--even .ab-vs-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ab-vs--even .ab-vs-icon-col { order: -1; }
  .ab-vs-icon-ring { width: 100px; height: 100px; font-size: 2.5rem; }
}

@media (max-width: 640px) {
  .ab-bento { grid-template-columns: 1fr; }
  .ab-bento-hero,
  .ab-bento-tall,
  .ab-bento-accent,
  .ab-bento-sm,
  .ab-bento-wide { grid-column: span 1; grid-row: span 1; }
  .ab-bento-hero .ab-ach-num { font-size: clamp(4rem, 18vw, 6rem); }
  .ab-vs { padding: 2.5rem 0; }
  .ab-vs-body { padding: 0 1.25rem; gap: 1.5rem; }
  .ab-vs-title { font-size: 1.3rem; }
}


/* ================================================================
   PROCESS - ZIGZAG TIMELINE
   ================================================================ */
.ab-process { background: var(--clr-surface-2); }

.ab-timeline {
  position: relative; z-index: 1;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Central spine */
.ab-timeline-spine {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg,
    transparent 0%,
    var(--clr-accent) 8%,
    var(--clr-accent) 92%,
    transparent 100%);
  opacity: .35;
}

/* Each row */
.ab-tl-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 0;
  min-height: 180px;
}



/* Node (center column) */
.ab-tl-node {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.ab-tl-node-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--clr-surface-2);
  border: 3px solid var(--clr-accent);
  box-shadow: 0 0 0 4px rgba(181,36,106,.15), 0 4px 16px rgba(181,36,106,.2);
  transition: all .3s var(--ease-out);
}
.ab-tl-node--last .ab-tl-node-dot {
  background: var(--clr-accent);
  box-shadow: 0 0 0 6px rgba(181,36,106,.2), 0 4px 20px rgba(181,36,106,.3);
}

/* Content card */
.ab-tl-content {
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
  transition: all .45s var(--ease-out);
}
.ab-tl-content::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.ab-tl-item:hover .ab-tl-content::before { transform: scaleX(1); }
.ab-tl-item:hover .ab-tl-content {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,46,68,.1);
  border-color: var(--clr-accent);
}
.ab-tl-item:hover .ab-tl-node-dot {
  background: var(--clr-accent);
  transform: scale(1.3);
}

/* Left-side item: content left, node center, spacer right */
.ab-tl-item--left .ab-tl-content { grid-column: 1; }
.ab-tl-item--left .ab-tl-node    { grid-column: 2; }
.ab-tl-item--left .ab-tl-spacer  { grid-column: 3; }

/* Right-side item: spacer left, node center, content right */
.ab-tl-item--right .ab-tl-spacer  { grid-column: 1; }
.ab-tl-item--right .ab-tl-node    { grid-column: 2; }
.ab-tl-item--right .ab-tl-content { grid-column: 3; }

/* Connector arm from content to node */
.ab-tl-item--left  .ab-tl-content::after,
.ab-tl-item--right .ab-tl-content::after {
  content: '';
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-accent));
  opacity: .5;
}
.ab-tl-item--left  .ab-tl-content::after { right: -30px; }
.ab-tl-item--right .ab-tl-content::after { left: -30px; background: linear-gradient(90deg, var(--clr-accent), transparent); }

/* Step number */
.ab-tl-num {
  display: block;
  font-family: var(--font-headings);
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--clr-accent); opacity: .12;
  margin-bottom: .25rem; letter-spacing: -.04em;
}

/* Icon */
.ab-tl-icon-wrap {
  font-size: 2.2rem; margin-bottom: .6rem;
  display: inline-block;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.ab-tl-item:hover .ab-tl-icon-wrap { transform: scale(1.15) rotate(-6deg); }

.ab-tl-title { font-size: 1.15rem; font-weight: 700; color: var(--clr-primary); margin-bottom: .45rem; }
.ab-tl-desc  { font-size: .9rem;  color: var(--clr-text-muted); line-height: 1.75; margin-bottom: 1rem; }

.ab-tl-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.ab-tl-tags span {
  padding: .25rem .75rem; border-radius: 100px;
  border: 1px solid var(--clr-accent);
  background: var(--clr-accent-pale);
  font-size: .7rem; font-weight: 600;
  color: var(--clr-accent); letter-spacing: .04em;
  transition: all .2s ease;
}
.ab-tl-item:hover .ab-tl-tags span {
  background: var(--clr-accent);
  color: #fff;
}

/* ================================================================
   ACHIEVEMENTS - ASYMMETRIC BENTO
   ================================================================ */
.ab-achievements { padding: 5rem 0 0; }

.ab-ach-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(145deg, var(--clr-primary) 0%, #162f4a 55%, #0a1928 100%);
}
.ab-ach-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 36px 36px;
}
.ab-ach-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(181,36,106,.18) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 85%, rgba(79,142,247,.12) 0%, transparent 45%);
}

.ab-ach-header {
  position: relative; z-index: 1;
  margin-bottom: 2.5rem;
}

/* -- Bento mosaic grid -- */
.ab-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero cell (120+) - spans 2 cols \00D7  2 rows */
.ab-bento-hero {
  grid-column: span 3;
  grid-row: span 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3rem 2.5rem;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(181,36,106,.22) 0%, rgba(181,36,106,.08) 100%);
  border: 1px solid rgba(181,36,106,.4);
  border-radius: var(--radius-lg);
}
.ab-bento-glow {
  position: absolute;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,36,106,.25) 0%, transparent 70%);
  top: -80px; right: -80px; pointer-events: none;
  animation: glowBreath 6s ease-in-out infinite alternate;
}
.ab-bento-hero .ab-bento-kpi {
  display: flex; align-items: flex-start; line-height: 1;
  margin-bottom: .5rem;
}
.ab-bento-hero .ab-bento-kpi .ab-ach-num {
  font-family: var(--font-headings);
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800; color: #fff;
  background: linear-gradient(135deg, #fff 40%, rgba(181,36,106,.8) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.ab-bento-suf {
  font-family: var(--font-headings);
  font-size: 2.5rem; font-weight: 800;
  color: var(--clr-accent-light);
  margin-top: 1rem;
}
.ab-bento-label {
  font-size: 1.2rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: .02em; line-height: 1.3;
  margin-bottom: .5rem;
}
.ab-bento-sub {
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.ab-bento-icon {
  position: absolute; top: 1.5rem; left: 1.75rem;
  font-size: 2rem; opacity: .7;
}

/* Tall cell - spans 1 col \00D7  2 rows */
.ab-bento-tall {
  grid-column: span 2;
  grid-row: span 2;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Accent cell */
.ab-bento-accent {
  grid-column: span 1;
  grid-row: span 2;
  background: rgba(181,36,106,.12);
  border: 1px solid rgba(181,36,106,.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Small cells */
.ab-bento-sm {
  grid-column: span 2;
  grid-row: span 1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Wide cell - spans 4 cols */
.ab-bento-wide {
  grid-column: span 4;
  grid-row: span 1;
  background: rgba(79,142,247,.08);
  border: 1px solid rgba(79,142,247,.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Inner layout for non-hero cells */
.ab-bento-cell-inner {
  display: flex; flex-direction: column;
  padding: 2rem;
  height: 100%; gap: .35rem;
}
.ab-bento-wide-inner {
  flex-direction: row; align-items: center;
  justify-content: space-between;
}

.ab-bento-kpi--md {
  display: flex; align-items: flex-start; gap: .1rem; line-height: 1; margin-bottom: .5rem;
}
.ab-bento-kpi--md .ab-ach-num {
  font-family: var(--font-headings);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.ab-bento-kpi--sm {
  display: flex; align-items: flex-start; gap: .1rem; line-height: 1; margin-bottom: .4rem;
}
.ab-bento-kpi--sm .ab-ach-num {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; color: #fff; line-height: 1;
}
.ab-bento-suf--sm { font-size: 1.2rem; margin-top: .3rem; color: var(--clr-accent-light); }

.ab-bento-cell-icon {
  font-size: 2rem; margin-top: auto; opacity: .65;
}
.ab-bento-wide-icon { font-size: 4rem; opacity: .4; flex-shrink: 0; }

/* Hover glow */
.ab-bento-cell {
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  cursor: default;
}
.ab-bento-cell:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* -- Ticker strip -- */
.ab-ach-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.1rem 0;
  background: rgba(0,0,0,.15);
  position: relative; z-index: 1;
}
.ab-ach-ticker-inner {
  display: flex; gap: 2.5rem;
  animation: tickerScroll 28s linear infinite;
  width: max-content;
}
.ab-ach-ticker-inner:hover { animation-play-state: paused; }
.ab-ach-ticker-inner span {
  font-size: .82rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  transition: color .3s ease;
}
.ab-ach-ticker-inner span:hover { color: var(--clr-accent-light); }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================================================================
   VALUES - ALTERNATING FULL-WIDTH STRIPS
   ================================================================ */
.ab-values {
  background: var(--clr-surface);
  padding: 5rem 0 0;
}
.ab-values-intro {
  padding: 0 0 3rem;
  text-align: center;
}

.ab-value-strips { display: flex; flex-direction: column; }

.ab-vs {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  border-top: 1px solid var(--clr-border);
  transition: background .4s ease;
}
.ab-vs:last-child { border-bottom: 1px solid var(--clr-border); }

/* Odd strips: light bg with subtle left-tinted accent */
.ab-vs--odd {
  background: var(--clr-surface-2);
}
.ab-vs--odd:hover { background: var(--clr-accent-pale); }

/* Even strips: white background */
.ab-vs--even {
  background: var(--clr-surface);
}
.ab-vs--even:hover { background: #f9f9fb; }

/* Large ghost index number */
.ab-vs-index {
  position: absolute;
  font-family: var(--font-headings);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 800; line-height: 1;
  color: var(--clr-accent); opacity: .04;
  top: 50%; right: 3%;
  transform: translateY(-50%);
  pointer-events: none; user-select: none;
  letter-spacing: -.05em;
  transition: opacity .4s ease;
}
.ab-vs:hover .ab-vs-index { opacity: .07; }

/* Body: two-column split */
.ab-vs-body {
  max-width: 1240px; margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 5rem;
  align-items: center;
}
.ab-vs--even .ab-vs-body {
  grid-template-columns: 1fr 260px;
}

/* Icon column */
.ab-vs-icon-col {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ab-vs-icon-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(181,36,106,.07);
  border: 2px solid rgba(181,36,106,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: all .5s cubic-bezier(.34,1.56,.64,1);
  position: relative;
}
.ab-vs-icon-ring::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(181,36,106,.1);
  transition: all .4s ease;
}
.ab-vs:hover .ab-vs-icon-ring {
  background: rgba(181,36,106,.14);
  border-color: var(--clr-accent);
  transform: scale(1.08) rotate(6deg);
  box-shadow: 0 12px 40px rgba(181,36,106,.2);
}
.ab-vs:hover .ab-vs-icon-ring::before {
  inset: -16px;
  border-color: rgba(181,36,106,.2);
}

/* Text column */
.ab-vs-text-col { display: flex; flex-direction: column; gap: 1rem; }

.ab-vs-title {
  font-family: var(--font-headings);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700; color: var(--clr-primary);
  letter-spacing: -.02em; line-height: 1.2;
}
.ab-vs-desc {
  font-size: 1rem; line-height: 1.8;
  color: var(--clr-text-muted); font-weight: 300;
  max-width: 560px;
}

/* Progress bars */
.ab-vs-bars { display: flex; flex-direction: column; gap: .6rem; margin-top: .25rem; }
.ab-vs-bar {
  display: flex; flex-direction: column; gap: .3rem;
  position: relative;
}
.ab-vs-bar span {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--clr-text-light);
}
.ab-vs-bar-fill {
  height: 4px; border-radius: 100px;
  background: var(--clr-border);
  overflow: hidden;
  position: relative;
}
.ab-vs-bar-fill::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: var(--w, 80%);
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  border-radius: inherit;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(.22,1,.36,1) .2s;
}
.revealed .ab-vs-bar-fill::after,
.ab-vs:hover .ab-vs-bar-fill::after { transform: scaleX(1); }

/* Badge chips */
.ab-vs-badges {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem;
}
.ab-vs-badges span {
  padding: .35rem .9rem;
  border-radius: 100px;
  background: var(--clr-surface-3);
  border: 1px solid var(--clr-border);
  font-size: .75rem; font-weight: 600;
  color: var(--clr-primary); letter-spacing: .03em;
  transition: all .25s ease;
}
.ab-vs:hover .ab-vs-badges span {
  background: var(--clr-accent-pale);
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* ================================================================
   RESPONSIVE - NEW LAYOUTS
   ================================================================ */
@media (max-width: 1024px) {
  .ab-bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .ab-bento-hero { grid-column: span 2; }
  .ab-bento-tall { grid-column: span 2; }
  .ab-bento-accent { grid-column: span 2; }
  .ab-bento-sm { grid-column: span 2; }
  .ab-bento-wide { grid-column: span 4; }
}

@media (max-width: 900px) {
  /* Timeline collapses to single column */
  .ab-timeline-spine { display: none; }
  .ab-tl-item,
  .ab-tl-item--left,
  .ab-tl-item--right {
    display: block;
    margin-bottom: 1rem;
  }
  .ab-tl-node, .ab-tl-spacer { display: none; }
  .ab-tl-content { border-radius: var(--radius-md); }
  .ab-tl-content::after { display: none; }

  /* Bento collapses */
  .ab-bento { grid-template-columns: 1fr 1fr; }
  .ab-bento-hero { grid-column: span 2; grid-row: span 1; min-height: 220px; }
  .ab-bento-tall, .ab-bento-accent { grid-column: span 1; grid-row: span 1; }
  .ab-bento-sm   { grid-column: span 1; }
  .ab-bento-wide { grid-column: span 2; }

  /* Value strips collapse */
  .ab-vs-body,
  .ab-vs--even .ab-vs-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ab-vs--even .ab-vs-icon-col { order: -1; }
  .ab-vs-icon-ring { width: 100px; height: 100px; font-size: 2.5rem; }
}

@media (max-width: 640px) {
  .ab-bento { grid-template-columns: 1fr; }
  .ab-bento-hero,
  .ab-bento-tall,
  .ab-bento-accent,
  .ab-bento-sm,
  .ab-bento-wide { grid-column: span 1; grid-row: span 1; }
  .ab-bento-hero .ab-ach-num { font-size: clamp(4rem, 18vw, 6rem); }
  .ab-vs { padding: 2.5rem 0; }
  .ab-vs-body { padding: 0 1.25rem; gap: 1.5rem; }
  .ab-vs-title { font-size: 1.3rem; }
}

/* ================================================================
   TEAM SHOWCASE
   ================================================================ */

/* --- Section Wrapper --- */
.ab-team-showcase {
  background: var(--clr-surface);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.ab-ts-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(181,36,106,.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(79,142,247,.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%,  rgba(26,46,68,.04)   0%, transparent 60%);
}

.ab-ts-header-wrap {
  position: relative; z-index: 2;
  margin-bottom: 3rem;
}
.ab-ts-header-wrap .section-desc { margin: 0 auto; }

/* ================================================================
   CEO SPOTLIGHT
   ================================================================ */
.ab-ceo-wrap {
  position: relative; z-index: 2;
  margin-bottom: 4.5rem;
}

.ab-ceo-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0e1f33 0%, #1a2e44 40%, #1e3a5a 70%, #0a1728 100%);
  box-shadow:
    0 40px 100px rgba(10,23,40,.45),
    0 0 0 1px rgba(255,255,255,.07) inset,
    0 1px 0 rgba(255,255,255,.12) inset;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.ab-ceo-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 60px 120px rgba(10,23,40,.5),
    0 0 0 1px rgba(181,36,106,.25) inset,
    0 1px 0 rgba(255,255,255,.15) inset;
}

.ab-ceo-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
}

.ab-ceo-bg-glow {
  position: absolute; pointer-events: none; z-index: 0;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(181,36,106,.22) 0%, transparent 65%);
  top: -20%; right: -10%;
  animation: glowBreath 9s ease-in-out infinite alternate;
}

.ab-ceo-orb {
  position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.ab-ceo-orb--1 {
  width: 240px; height: 240px;
  background: radial-gradient(circle at 30% 30%, rgba(79,142,247,.12), transparent 70%);
  border: 1px solid rgba(79,142,247,.1);
  bottom: -8%; left: 5%;
  animation: abOrbFloat 12s ease-in-out infinite alternate;
}
.ab-ceo-orb--2 {
  width: 120px; height: 120px;
  background: radial-gradient(circle at 30% 30%, rgba(181,36,106,.14), transparent 70%);
  border: 1px solid rgba(181,36,106,.1);
  top: 10%; right: 30%;
  animation: abOrbFloat 8s ease-in-out infinite alternate;
  animation-delay: 2s;
}

.ab-ceo-crown {
  position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(12px);
  padding: .35rem 1.1rem; border-radius: 100px;
  z-index: 10;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  white-space: nowrap;
}
.ab-ceo-crown-label { color: rgba(255,255,255,.75); }

.ab-ceo-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 460px;
}

.ab-ceo-left {
  display: flex; align-items: center; justify-content: center;
  padding: 4rem 2.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.ab-ceo-left::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(90deg, transparent, rgba(181,36,106,.04));
  pointer-events: none;
}

.ab-ceo-photo-scene {
  position: relative;
  width: 240px; height: 240px;
  display: flex; align-items: center; justify-content: center;
}

.ab-ceo-ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid;
  animation: abRingSpin var(--r-dur, 25s) linear infinite var(--r-dir, normal);
}
.ab-ceo-ring--1 {
  inset: -20px;
  border-color: rgba(181,36,106,.35);
  --r-dur: 16s;
}
.ab-ceo-ring--2 {
  inset: -44px;
  border-color: rgba(79,142,247,.18);
  --r-dur: 24s; --r-dir: reverse;
}
.ab-ceo-ring--3 {
  inset: -72px;
  border-color: rgba(255,255,255,.07);
  --r-dur: 36s;
}

.ab-ceo-photo-frame {
  width: 220px; height: 220px;
  border-radius: 50%;
  overflow: hidden;
  position: relative; z-index: 2;
  border: 3px solid rgba(181,36,106,.5);
  box-shadow:
    0 0 0 6px rgba(181,36,106,.1),
    0 0 60px rgba(181,36,106,.3),
    0 24px 60px rgba(0,0,0,.5);
}
.ab-ceo-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 1s var(--ease-out);
}
.ab-ceo-card:hover .ab-ceo-photo { transform: scale(1.06); }

.ab-ceo-photo-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(181,36,106,.25) 100%);
  pointer-events: none;
}

.ab-ceo-badge-float {
  position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
  z-index: 5;
  display: flex; align-items: center; gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(16px);
  padding: .4rem 1rem; border-radius: 100px;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  color: rgba(255,255,255,.9); white-space: nowrap;
  animation: cardFloatDeep 5s ease-in-out infinite alternate;
}

.ab-ceo-right {
  padding: 4rem 3rem 3rem;
  display: flex; flex-direction: column;
  justify-content: center;
}

.ab-ceo-role-pill {
  display: inline-flex; align-items: center;
  background: rgba(181,36,106,.18);
  border: 1px solid rgba(181,36,106,.35);
  color: #e87fb3;
  padding: .3rem 1rem; border-radius: 100px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem; width: fit-content;
}

.ab-ceo-name {
  font-family: var(--font-headings);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: .75rem;
}

.ab-ceo-quote {
  font-size: 1rem; font-style: italic;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  border-left: 2px solid rgba(181,36,106,.5);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.ab-ceo-bio {
  font-size: .93rem; font-weight: 300;
  color: rgba(255,255,255,.65);
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 540px;
}

.ab-ceo-stats {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  width: fit-content;
}
.ab-ceo-stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.ab-ceo-stat-num {
  font-family: var(--font-headings);
  font-size: 1.6rem; font-weight: 800; line-height: 1;
  color: #fff;
}
.ab-ceo-stat-label {
  font-size: .65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.45);
}
.ab-ceo-stat-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.12);
}

.ab-ceo-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.ab-ceo-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.6rem;
  border-radius: 100px;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  transition: all .35s var(--ease-out);
  cursor: pointer;
  background: var(--clr-accent);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(181,36,106,.3);
  text-decoration: none;
}
.ab-ceo-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.ab-ceo-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 40px rgba(181,36,106,.4);
}

.ab-ceo-btn--ghost {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  box-shadow: none;
}
.ab-ceo-btn--ghost:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.4);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ================================================================
   TEAM BLOCK SHARED
   ================================================================ */
.ab-team-block {
  position: relative; z-index: 2;
  margin-bottom: 3.5rem;
}

.ab-team-block-header {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--clr-border);
}

.ab-tbl-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--clr-surface-2);
  border: 1.5px solid var(--clr-border);
  padding: .5rem 1.25rem;
  border-radius: 100px;
  font-size: .88rem; font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: .03em;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.ab-tbl-tag:hover {
  border-color: var(--clr-accent);
  box-shadow: 0 4px 16px rgba(181,36,106,.1);
}
.ab-tbl-icon { font-size: 1.15rem; }
.ab-tbl-desc {
  font-size: .9rem; color: var(--clr-text-muted);
  font-weight: 300; max-width: 400px; line-height: 1.65;
}

/* ================================================================
   HR PROFILE CARDS
   ================================================================ */
.ab-hr-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.ab-profile-card {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  overflow: hidden;
  transition: all .45s cubic-bezier(.23,1,.32,1);
  transform-style: preserve-3d;
  cursor: default;
}
.ab-profile-card:hover {
  transform: translateY(-10px) rotateX(3deg);
  border-color: rgba(181,36,106,.3);
  box-shadow:
    0 24px 60px rgba(26,46,68,.12),
    0 0 0 1px rgba(181,36,106,.1) inset;
  background: rgba(255,255,255,.98);
}

.ab-pc-top-accent {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), #4f8ef7);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.ab-profile-card:hover .ab-pc-top-accent { transform: scaleX(1); }

.ab-pc-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.ab-profile-card:hover .ab-pc-shine { transform: translateX(100%); }

.ab-pc-photo-wrap {
  position: relative;
  width: 90px; height: 90px;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  z-index: 1; /* Create stacking context for the ring */
}
.ab-pc-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform .5s var(--ease-out);
  border: 2.5px solid var(--clr-border);
}
.ab-profile-card:hover .ab-pc-photo { transform: scale(1.07); }

.ab-pc-photo-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-accent), #4f8ef7);
  opacity: 0;
  transform: scale(0.9);
  transition: all .5s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
  z-index: -1; /* Place behind the avatar/initials */
}
.ab-profile-card:hover .ab-pc-photo-ring {
  opacity: 1;
  transform: scale(1.18);
  filter: blur(3px);
  box-shadow: 0 0 20px rgba(181, 36, 106, 0.3);
}

/* Initials avatar */
.ab-pc-initials {
  background: linear-gradient(135deg,
    hsl(var(--avatar-hue, 215), 55%, 42%),
    hsl(var(--avatar-hue, 215), 65%, 58%));
  display: flex; align-items: center; justify-content: center;
  border: 2.5px solid rgba(255,255,255,.7);
  box-shadow: 0 8px 24px hsla(var(--avatar-hue,215), 55%, 45%, .28);
}
.ab-pc-initials::before {
  content: attr(data-initials);
  font-family: var(--font-headings);
  font-size: 1.35rem; font-weight: 700;
  color: #fff; letter-spacing: .05em;
}

.ab-pc-body {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; width: 100%;
}
.ab-pc-name {
  font-family: var(--font-headings);
  font-size: 1.02rem; font-weight: 700;
  color: var(--clr-primary); margin-bottom: .25rem;
  transition: color .3s ease;
}
.ab-profile-card:hover .ab-pc-name { color: var(--clr-accent); }
.ab-pc-role {
  display: block;
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--clr-accent);
  margin-bottom: .75rem;
}
.ab-pc-bio {
  font-size: .82rem; font-weight: 300;
  color: var(--clr-text-muted); line-height: 1.7;
  margin-bottom: .9rem;
}
.ab-pc-meta {
  display: flex; gap: .45rem; flex-wrap: wrap; justify-content: center;
  margin-top: auto;
}
.ab-pc-tag {
  padding: .22rem .7rem; border-radius: 100px;
  background: var(--clr-surface-2);
  border: 1px solid var(--clr-border);
  font-size: .68rem; font-weight: 600;
  color: var(--clr-text-muted); letter-spacing: .04em;
  transition: all .2s ease;
}
.ab-profile-card:hover .ab-pc-tag {
  border-color: rgba(181,36,106,.25);
  background: var(--clr-accent-pale);
  color: var(--clr-accent);
}

/* ================================================================
   CORE TEAM REDESIGN: THE ENGINEERING LEDGER
   ================================================================ */
/* ================================================================
   CORE TEAM REDESIGN: THE ENGINEERING SPOTLIGHT
   ================================================================ */
.ab-spotlight-wrap {
  margin-top: 2rem;
  padding-bottom: 1.5rem;
}

.ab-spotlight-cluster {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.ab-spot-capsule {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.75rem 0.75rem 0.75rem;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 100px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(26, 46, 68, 0.04);
}

.ab-spot-capsule:hover {
  transform: translateY(-6px);
  border-color: hsla(var(--spot-h), 65%, 50%, 0.4);
  box-shadow: 
    0 15px 35px rgba(26, 46, 68, 0.08),
    0 0 0 1px hsla(var(--spot-h), 65%, 50%, 0.1) inset;
}

.ab-sc-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.6s;
  pointer-events: none;
}

.ab-spot-capsule:hover .ab-sc-shine {
  left: 150%;
}

.ab-sc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, 
    hsla(var(--spot-h), 65%, 45%, 1), 
    hsla(var(--spot-h), 65%, 65%, 1));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 6px 16px hsla(var(--spot-h), 65%, 50%, 0.25);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ab-spot-capsule:hover .ab-sc-avatar {
  transform: scale(1.1) rotate(-6deg);
}

.ab-sc-content {
  margin-left: 1.15rem;
}

.ab-sc-name {
  font-family: var(--font-headings);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.1;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.ab-sc-role {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--clr-text-light);
  margin-top: 0.1rem;
  white-space: nowrap;
}

.ab-sc-hint {
  margin-left: 1.25rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.ab-sc-hint i {
  font-size: 0.9rem;
  color: hsla(var(--spot-h), 65%, 50%, 0.6);
}

.ab-spot-capsule:hover .ab-sc-hint {
  opacity: 1;
  transform: translateX(0);
}

.ab-sc-stat {
  font-size: 0.8rem;
  font-weight: 700;
  color: hsla(var(--spot-h), 65%, 45%, 1);
  white-space: nowrap;
}

/* ================================================================
   RESPONSIVE - TEAM SHOWCASE
   ================================================================ */
@media (max-width: 1100px) {
  .ab-hr-grid  { grid-template-columns: repeat(3, 1fr); }
  .ab-ceo-inner { grid-template-columns: 300px 1fr; }
}

@media (max-width: 900px) {
  .ab-spotlight-cluster { gap: 1.25rem; }
  .ab-spot-capsule { padding: 0.6rem 1.4rem 0.6rem 0.6rem; }
  .ab-sc-avatar { width: 44px; height: 44px; font-size: 0.85rem; }
  .ab-sc-name { font-size: 1rem; }
  .ab-sc-role { font-size: 0.7rem; }
  .ab-sc-hint { display: none; } /* Stay minimal on smaller screens */

  .ab-ceo-inner { grid-template-columns: 1fr; text-align: center; }
  .ab-ceo-left {
    padding: 4.5rem 2rem 2.5rem;
    border-right: none; border-bottom: 1px solid rgba(255,255,255,.07);
  }
  .ab-ceo-left::after { display: none; }
  .ab-ceo-right { padding: 2.5rem 2rem 2.5rem; align-items: center; }
  .ab-ceo-quote { text-align: left; }
  .ab-ceo-bio   { text-align: left; max-width: 100%; }
  .ab-ceo-stats { width: auto; }
  .ab-ceo-actions { justify-content: center; }
  .ab-hr-grid   { grid-template-columns: repeat(2, 1fr); }
  .ab-team-block-header { flex-direction: column; align-items: flex-start; }
}


@media (max-width: 640px) {
  .ab-team-showcase { padding: 3.5rem 0 3rem; }
  .ab-ceo-stats { flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .ab-ceo-stat-divider { display: none; }
  .ab-hr-grid  { grid-template-columns: repeat(2, 1fr); }
  .ab-core-grid { grid-template-columns: 1fr; }
  .ab-ceo-photo-scene { width: 180px; height: 180px; }
  .ab-ceo-photo-frame { width: 165px; height: 165px; }
  .ab-ceo-name { font-size: 2rem; }
}

@media (max-width: 420px) {
  .ab-hr-grid { grid-template-columns: 1fr; }
}


/* ================================================================
   COMPLETED PROJECTS - MARQUEE LOGO SHOWCASE
   ================================================================ */

.ab-projects {
  background: var(--clr-surface-2);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Very subtle dot grid background */
.ab-projects-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26,46,68,.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.ab-projects-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(181,36,106,.07) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(79,142,247,.05) 0%, transparent 50%);
}

.ab-projects-header {
  position: relative; z-index: 2;
  margin-bottom: 3rem;
}

/* ================================================================
   MARQUEE LOGO SHOWCASE CORE
   ================================================================ */

/* Outer wrapper with edge-fade masks */
.ab-proj-marquee-wrap {
  position: relative;
  overflow: hidden;
  padding: .75rem 0 1.25rem;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

/* Ambient glow orbs */
.ab-proj-marquee-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: abOrbFloat var(--orb-dur, 10s) ease-in-out infinite alternate;
}
.ab-proj-marquee-orb--1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(181,36,106,.10) 0%, transparent 70%);
  top: -60px; left: 15%;
  --orb-dur: 9s;
  filter: blur(50px);
}
.ab-proj-marquee-orb--2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(79,142,247,.08) 0%, transparent 70%);
  bottom: -40px; right: 20%;
  --orb-dur: 12s;
  animation-delay: 3s;
  filter: blur(40px);
}

/* Each track */
.ab-proj-marquee-track {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.ab-proj-marquee-track:last-of-type { margin-bottom: 0; }

/* Inner flex strip -- duplicated content for infinite loop */
.ab-proj-marquee-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
}

/* Forward (left) */
.ab-proj-marquee-track--fwd .ab-proj-marquee-inner {
  animation: marqueeScrollFwd 38s linear infinite;
}
/* Reverse (right) */
.ab-proj-marquee-track--rev .ab-proj-marquee-inner {
  animation: marqueeScrollRev 44s linear infinite;
}
/* Pause on hover */
.ab-proj-marquee-wrap:hover .ab-proj-marquee-inner {
  animation-play-state: paused;
}

@keyframes marqueeScrollFwd {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeScrollRev {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Individual logo pill */
.ab-proj-logo-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
  cursor: default;
  animation: pillFloat var(--pill-dur, 5.5s) ease-in-out infinite alternate;
  animation-delay: var(--pill-delay, 0s);
}
.ab-proj-logo-pill:nth-child(odd)  { --pill-dur: 5.5s; --pill-delay: 0s; }
.ab-proj-logo-pill:nth-child(even) { --pill-dur: 6.5s; --pill-delay: .8s; }
.ab-proj-logo-pill:nth-child(3n)   { --pill-dur: 4.8s; --pill-delay: 1.4s; }

@keyframes pillFloat {
  0%   { transform: translateY(0) scale(1); }
  100% { transform: translateY(-8px) scale(1.01); }
}

/* Logo frame box */
.ab-proj-logo-frame {
  width: 96px; height: 96px;
  border-radius: 20px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 4px 20px rgba(26,46,68,.06),
    inset 0 1px 0 rgba(255,255,255,.8);
  transform-style: preserve-3d;
  transition:
    transform .5s cubic-bezier(.34,1.56,.64,1),
    box-shadow .5s ease,
    border-color .4s ease,
    background .4s ease;
}

/* Shimmer sweep */
.ab-proj-logo-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .55s cubic-bezier(.23,1,.32,1);
  pointer-events: none;
  z-index: 3;
}
/* Top accent bar */
.ab-proj-logo-frame::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-accent-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
  z-index: 4;
}

.ab-proj-logo-pill:hover .ab-proj-logo-frame {
  transform: translateY(-12px) scale(1.12) rotateX(8deg) rotateY(-5deg);
  border-color: rgba(181,36,106,.4);
  background: #fff;
  box-shadow:
    0 22px 52px rgba(181,36,106,.16),
    0 0 0 1px rgba(181,36,106,.15) inset,
    inset 0 1px 0 rgba(255,255,255,.9);
  animation-play-state: paused;
}
.ab-proj-logo-pill:hover .ab-proj-logo-frame::before { transform: translateX(120%); }
.ab-proj-logo-pill:hover .ab-proj-logo-frame::after  { transform: scaleX(1); }

.ab-proj-logo-frame img {
  width: 64px; height: 64px;
  object-fit: contain;
  display: block;
  transition: transform .55s cubic-bezier(.34,1.56,.64,1), filter .4s ease;
  filter: drop-shadow(0 2px 6px rgba(26,46,68,.08));
}
.ab-proj-logo-pill:hover .ab-proj-logo-frame img {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 14px rgba(26,46,68,.18));
}

/* Featured pill accent */
.ab-proj-logo-pill--featured .ab-proj-logo-frame {
  border-color: rgba(181,36,106,.28);
  box-shadow:
    0 6px 28px rgba(181,36,106,.10),
    inset 0 1px 0 rgba(255,255,255,.8);
}

/* Pill label */
.ab-proj-pill-name {
  font-family: var(--font-headings);
  font-size: .7rem; font-weight: 600;
  color: var(--clr-text-muted);
  letter-spacing: .04em;
  white-space: nowrap;
  transition: color .3s ease, transform .3s ease;
  text-align: center;
}
.ab-proj-logo-pill:hover .ab-proj-pill-name {
  color: var(--clr-accent);
  transform: translateY(-2px);
}

/* Tooltip */
.ab-proj-tooltip {
  position: fixed;
  pointer-events: none;
  padding: .4rem 1rem;
  border-radius: 100px;
  background: var(--clr-primary);
  color: #fff;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(26,46,68,.25);
  opacity: 0;
  transform: translateY(4px) scale(.95);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 9999;
}
.ab-proj-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .ab-proj-marquee-wrap { padding: .5rem 0 1rem; }
  .ab-proj-logo-frame { width: 78px; height: 78px; border-radius: 16px; }
  .ab-proj-logo-frame img { width: 52px; height: 52px; }
  .ab-proj-marquee-track--fwd .ab-proj-marquee-inner { animation-duration: 30s; }
  .ab-proj-marquee-track--rev .ab-proj-marquee-inner { animation-duration: 36s; }
}

@media (max-width: 640px) {
  .ab-proj-marquee-wrap {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
  .ab-proj-logo-frame { width: 68px; height: 68px; border-radius: 14px; }
  .ab-proj-logo-frame img { width: 44px; height: 44px; }
  .ab-proj-pill-name { font-size: .62rem; }
  .ab-proj-marquee-inner { gap: .85rem; }
  .ab-proj-marquee-track--fwd .ab-proj-marquee-inner { animation-duration: 26s; }
  .ab-proj-marquee-track--rev .ab-proj-marquee-inner { animation-duration: 30s; }
}


