/* ============================
   ABOUT US PAGE — V4
   Award-level: pinned team, elevated AI, 80vh vision
   ============================ */

/* ── Scroll lock during chat intro ── */
body.chat-active {
  overflow: hidden;
  height: 100vh;
}

/* ── Hero ── */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
  background: url('../images/about/aboutus-hero-background-image.jpg') center center / cover no-repeat;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .40);
  z-index: 1;
  pointer-events: none;
}

.about-hero>.via-intro-wrap {
  position: relative;
  z-index: 2;
}

/* ── VIA Intro Chat ── */
.via-intro-wrap {
  width: 70vw;
  max-width: 680px;
  min-width: 320px;
  z-index: 2;
  position: relative;
}

.via-intro-wrap.is-closing {
  transition: all .7s cubic-bezier(.7, 0, .3, 1);
  opacity: 0;
  transform: scale(.75) translateY(-80px);
  filter: blur(16px);
  pointer-events: none;
}

.via-intro-window {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--radius-xl);
  box-shadow: 0 0 0 .5px rgba(255, 255, 255, .5), 0 8px 40px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .04), inset 0 1px 0 rgba(255, 255, 255, .7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(.97);
  filter: blur(4px);
  animation: introWindowIn .5s cubic-bezier(.22, .68, .36, 1.2) .15s forwards;
}

@keyframes introWindowIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(.97);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    box-shadow: 0 0 0 .5px rgba(255, 255, 255, .5), 0 8px 40px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .04), inset 0 1px 0 rgba(255, 255, 255, .7);
  }
}

.via-intro-topbar {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  background: rgba(255, 255, 255, .35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.via-intro-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.via-intro-avatar {
  width: 34px;
  height: 34px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 110, 247, .25);
}

.via-intro-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.via-intro-name {
  color: var(--text);
  font-size: .82rem;
  display: block;
  line-height: 1.2;
}

.via-intro-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  color: var(--text-muted);
  line-height: 1.2;
  transition: color .4s ease;
}

.via-intro-status.is-online {
  color: var(--green);
}

.via-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: .5;
  transition: all .4s ease;
}

.via-intro-status.is-online .via-status-dot {
  background: var(--green);
  opacity: 1;
  animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .4);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
  }
}

.via-intro-messages {
  padding: 20px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(79, 110, 247, .15) transparent;
}

.via-intro-bot,
.via-intro-user {
  max-width: 88%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: .84rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  animation: introMsg .4s ease forwards;
}

.via-intro-bot {
  border-bottom-left-radius: 4px;
  color: var(--text);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
}

.via-intro-user {
  border-bottom-right-radius: 4px;
  color: var(--text);
  background: rgba(79, 110, 247, .1);
  border: 1px solid rgba(79, 110, 247, .12);
  box-shadow: 0 1px 4px rgba(79, 110, 247, .06);
  align-self: flex-end;
}

@keyframes introMsg {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.via-intro-typing {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  width: fit-content;
  opacity: 0;
  animation: introMsg .3s ease forwards;
}

.via-intro-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .4;
  animation: introTypeBounce 1.4s ease-in-out infinite;
}

.via-intro-typing span:nth-child(2) {
  animation-delay: .2s;
}

.via-intro-typing span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes introTypeBounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .4;
  }

  30% {
    transform: translateY(-4px);
    opacity: .8;
  }
}

/* Input bar with pre-typed message */
.via-intro-inputbar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, .04);
  background: rgba(255, 255, 255, .3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 16px;
}

.via-intro-input-field {
  flex: 1;
  min-height: 38px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 18px;
  padding: 8px 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .03);
}

.via-intro-pretyped {
  font-family: var(--ff);
  font-size: .82rem;
  color: var(--text);
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.via-intro-pretyped.is-visible {
  opacity: 1;
  animation: pretypeReveal .4s ease forwards;
}

@keyframes pretypeReveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.via-send-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #6494ed, #7eaaff);
  color: #fff;
  font-family: var(--ff);
  font-size: .82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .6s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 2px 10px rgba(79, 110, 247, .2);
  letter-spacing: .02em;
  white-space: nowrap;
}

.via-send-btn:disabled {
  cursor: default;
  opacity: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.via-send-btn:not(:disabled),
.via-send-btn.is-sent {
  background: var(--gradient-1);
  box-shadow: 0 2px 12px rgba(79, 110, 247, .25);
}

.via-send-btn:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(79, 110, 247, .4);
}

.via-send-btn.is-ready {
  animation: sendPulse 2s ease-in-out infinite;
}

@keyframes sendPulse {

  0%,
  100% {
    box-shadow: 0 2px 12px rgba(79, 110, 247, .25);
  }

  50% {
    box-shadow: 0 4px 28px rgba(79, 110, 247, .5);
  }
}

/* Skip button — very subtle, fades in after delay */
.via-skip-btn {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--ff-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  opacity: 0;
  animation: skipFadeIn 1s ease forwards;
  animation-delay: 1s;
  transition: color .3s ease;
}

.via-skip-btn:hover {
  color: #fff;
}

@keyframes skipFadeIn {
  to {
    opacity: 1;
  }
}

/* ── Story Container ── */
.story-container {
  opacity: 0;
  pointer-events: none;
  background: #0a0e1a;
}

.story-container.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Chapter 1 elements hidden initially — revealed by JS time-based animation */
#chapter1 .story-chapter__number,
#chapter1 .story-chapter__title,
#chapter1 .story-chat__bubble,
#chapter1 .story-chat__avatar {
  opacity: 0;
}

/* ── Story Chapters — FULL 95vw ── */
.story-chapter {
  padding: clamp(60px, 8vh, 100px) 2.5vw;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.story-chapter.s-dark {
  background: linear-gradient(180deg, #080a12 0%, #0b0d18 100%);
}

.story-chapter__inner {
  width: 95vw;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header group — title sits inside the big number */
.story-chapter__hdr {
  position: relative;
  margin-bottom: 32px;
  padding-left: 8px;
}

.story-chapter__number {
  font-family: var(--ff-display);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  line-height: .85;
  margin: 0;
  opacity: .06;
  user-select: none;
}

.s-dark .story-chapter__number {
  color: #fff;
}

.s-light .story-chapter__number {
  color: var(--text);
}

.story-chapter__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  position: absolute;
  bottom: clamp(8px, 1.5vw, 20px);
  left: clamp(12px, 2vw, 32px);
  margin: 0;
  z-index: 1;
}

.s-dark .story-chapter__title {
  color: #fff;
}

.s-light .story-chapter__title {
  color: var(--text);
}

/* ── Chat interface — FULL WIDTH ── */
.story-chat {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
}

.story-chat__row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.story-chat__row--right {
  justify-content: flex-end;
}

.story-chat__row--left {
  justify-content: flex-start;
}

.story-chat__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .84rem;
  flex-shrink: 0;
  color: #fff;
  overflow: hidden;
}

.story-chat__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-chat__avatar--willi {
  background: linear-gradient(135deg, #1e293b, #475569);
}

.story-chat__avatar--via {
  background: var(--gradient-1);
  box-shadow: 0 2px 8px rgba(79, 110, 247, .25);
}

.story-chat__bubble {
  padding: 18px 24px;
  border-radius: 22px;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.7;
  max-width: 65%;
}

.story-chat__bubble--user {
  border-bottom-right-radius: 4px;
}

.story-chat__bubble--bot {
  border-bottom-left-radius: 4px;
}

.s-dark .story-chat__bubble--user {
  background: rgba(79, 110, 247, .15);
  border: 1px solid rgba(79, 110, 247, .2);
  color: rgba(255, 255, 255, .9);
}

.s-dark .story-chat__bubble--bot {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
}

.s-light .story-chat__bubble--user {
  background: rgba(79, 110, 247, .08);
  border: 1px solid rgba(79, 110, 247, .12);
  color: var(--text);
}

.s-light .story-chat__bubble--bot {
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  color: var(--text);
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: .82rem;
  font-weight: 600;
  margin-top: 24px;
}

.s-dark .skill-badge {
  background: rgba(34, 197, 94, .1);
  color: var(--green);
}

.s-light .skill-badge {
  background: rgba(34, 197, 94, .08);
  color: #16a34a;
}

/* ══════════════════════════════════
   TEAM — PINNED SCROLL
   ══════════════════════════════════ */
.about-team {
  padding: 0;
  margin-bottom: 0;
}

.about-team__header {
  text-align: center;
  position: absolute;
  top: clamp(40px, 8vh, 80px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 2;
}

.about-team__header .section-h2 {
  margin-bottom: 8px;
}

.about-team__header .section-sub {
  margin: 0 auto 16px;
  color: rgba(0, 0, 0, .65);
}

.team-pinned-wrap {
  height: 300vh;
  /* merged team + AI */
  position: relative;
}

.team-pinned-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(190px, 24vh, 250px);
  padding-bottom: clamp(16px, 2vh, 32px);
  overflow: hidden;
  gap: 0;
}

/* Counter */
.team-counter {
  position: absolute;
  top: clamp(80px, 12vh, 120px);
  right: clamp(24px, 5vw, 80px);
  font-family: var(--ff-mono, 'JetBrains Mono', monospace);
  font-size: 1rem;
  color: var(--text-muted);
  opacity: .5;
  z-index: 2;
}

.team-counter__current {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 1;
}

/* Duo area — human card + AI card */
.team-duo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-top: 0;
}

/* Card stack */
.team-card-stack {
  position: relative;
  width: 96vw;
  max-width: 1400px;
}

/* AI sub-heading */
.team-ai-label {
  font-family: var(--ff-serif);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: rgba(0, 0, 0, .7);
  text-align: center;
  margin: 40px 0 8px;
  letter-spacing: -.01em;
  transition: opacity .4s ease, transform .4s ease;
}

/* AI stack inside team viewport */
.team-ai-stack {
  position: relative;
  width: 80vw;
  max-width: 900px;
  min-height: 80px;
}

.team-ai-stack .ai-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  padding: 16px 24px 12px;
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
  border-radius: var(--radius-xl);
}

.team-ai-stack .ai-card:first-child {
  position: relative;
}

.team-ai-stack .ai-card.is-active {
  opacity: 1;
  pointer-events: auto;
}

.team-card-item {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 48px 72px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .06);
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .5s ease,
    border-color .5s ease,
    background .5s ease;
}

.team-card-item.is-active:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(79, 110, 247, .2);
  box-shadow: 0 24px 60px rgba(79, 110, 247, .1),
    0 0 0 1px rgba(79, 110, 247, .06) inset,
    0 0 80px rgba(79, 110, 247, .04);
  background: rgba(255, 255, 255, .75);
}

.team-card-item.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.team-card-item:first-child {
  position: relative;
}

.team-card-item__photo {
  width: 200px;
  height: 200px;
  border-radius: 16px;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, .8);
  box-shadow: 0 4px 24px rgba(79, 110, 247, .12);
  overflow: hidden;
}

.team-card-item__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
}

.team-card-item__info {
  flex: 1;
}

.team-card-item__name {
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.team-card-item__role {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.team-card-item__bio {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(0, 0, 0, .7);
  margin-bottom: 16px;
}

.team-card-item__quote {
  font-size: .9rem;
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* Progress bar */
.team-progress-bar {
  position: absolute;
  bottom: clamp(24px, 4vh, 48px);
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 3px;
  background: rgba(79, 110, 247, .1);
  border-radius: 2px;
  overflow: hidden;
}

.team-progress-bar__fill {
  height: 100%;
  width: 25%;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: width .4s ease;
}

/* ══════════════════════════════════
   AI EMPLOYEES — ELEVATED
   ══════════════════════════════════ */
.about-ai {
  padding: clamp(60px, 8vh, 100px) 24px;
}

.about-ai__header {
  text-align: center;
  margin-bottom: 60px;
}

.about-ai__header .section-sub {
  margin: 0 auto;
}

.ai-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.ai-card {
  position: relative;
  padding: 28px 26px 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .08);
  overflow: hidden;
  transition: all .5s var(--ease);
}

.ai-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 110, 247, .3);
  box-shadow: 0 20px 60px rgba(79, 110, 247, .15), 0 0 0 1px rgba(79, 110, 247, .1) inset;
  background: rgba(255, 255, 255, .07);
}

.ai-card__glow {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(79, 110, 247, .15), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.ai-card__glow--creative {
  background: radial-gradient(circle, rgba(168, 85, 247, .15), transparent 70%);
}

.ai-card:hover .ai-card__glow {
  opacity: 1;
}

.ai-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ai-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.ai-card__avatar--creative {
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.ai-card__letter {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  z-index: 1;
}

.ai-card__pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: aiPulse 2.5s ease-in-out infinite;
}

@keyframes aiPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 110, 247, .3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(79, 110, 247, 0);
  }
}

.ai-card__avatar--creative .ai-card__pulse {
  animation-name: aiPulseC;
}

@keyframes aiPulseC {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, .3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(168, 85, 247, 0);
  }
}

.ai-card__meta {
  flex: 1;
}

.ai-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.ai-card__badge {
  font-size: .62rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(79, 110, 247, .15);
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  display: inline-block;
  margin-top: 2px;
}

.ai-card__badge--creative {
  background: rgba(168, 85, 247, .15);
  color: #c084fc;
}

.ai-card__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ai-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: statusBlink 2s ease-in-out infinite;
}

.ai-card__status-dot--creative {
  background: #c084fc;
  animation-name: statusBlinkC;
}

@keyframes statusBlink {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .4);
  }

  50% {
    opacity: .6;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0);
  }
}

@keyframes statusBlinkC {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(192, 132, 252, .4);
  }

  50% {
    opacity: .6;
    box-shadow: 0 0 0 4px rgba(192, 132, 252, 0);
  }
}

.ai-card__title {
  font-size: .76rem;
  font-weight: 500;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.ai-card__title--creative {
  color: #c084fc;
}

/* Marketing variant — warm orange */
.ai-card__glow--marketing {
  background: radial-gradient(circle, rgba(245, 158, 11, .15), transparent 70%);
}

.ai-card__avatar--marketing {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.ai-card__avatar--marketing .ai-card__pulse {
  animation-name: aiPulseM;
}

@keyframes aiPulseM {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, .3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
  }
}

.ai-card__badge--marketing {
  background: rgba(245, 158, 11, .15);
  color: #fbbf24;
}

.ai-card__status-dot--marketing {
  background: #fbbf24;
  animation-name: statusBlinkM;
}

@keyframes statusBlinkM {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, .4);
  }

  50% {
    opacity: .6;
    box-shadow: 0 0 0 4px rgba(251, 191, 36, 0);
  }
}

.ai-card__title--marketing {
  color: #fbbf24;
}

/* Sales variant — emerald green */
.ai-card__glow--sales {
  background: radial-gradient(circle, rgba(16, 185, 129, .15), transparent 70%);
}

.ai-card__avatar--sales {
  background: linear-gradient(135deg, #10b981, #06b6d4);
}

.ai-card__avatar--sales .ai-card__pulse {
  animation-name: aiPulseS;
}

@keyframes aiPulseS {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.ai-card__badge--sales {
  background: rgba(16, 185, 129, .15);
  color: #34d399;
}

.ai-card__status-dot--sales {
  background: #34d399;
  animation-name: statusBlinkS;
}

@keyframes statusBlinkS {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .4);
  }

  50% {
    opacity: .6;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0);
  }
}

.ai-card__title--sales {
  color: #34d399;
}

.ai-card__desc {
  font-size: .82rem;
  line-height: 1.7;
  color: var(--text-dark-muted);
  margin-bottom: 12px;
}

.team-ai-stack .ai-card .ai-card__stats {
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.team-ai-stack .ai-card .ai-card__stat-num {
  color: rgba(0, 0, 0, .9);
}

.team-ai-stack .ai-card .ai-card__stat-label {
  color: rgba(0, 0, 0, .7);
}

.team-ai-stack .ai-card .ai-card__stat:not(:last-child)::after {
  color: rgba(0, 0, 0, .25);
}

.team-ai-stack .ai-card .ai-card__title {
  color: rgba(0, 0, 0, .85);
}

.team-ai-stack .ai-card .ai-card__name {
  color: rgba(0, 0, 0, .9);
}

.team-ai-stack .ai-card .ai-card__desc {
  color: rgba(0, 0, 0, .7);
}

.ai-card__stats {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, .04);
  padding-top: 10px;
  margin-top: auto;
}

.ai-card__stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.ai-card__stat:not(:last-child)::after {
  content: '·';
  color: rgba(255, 255, 255, .15);
  margin-left: 6px;
  font-size: .7rem;
}

.ai-card__stat-num {
  font-family: var(--ff-mono, 'JetBrains Mono', monospace);
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
}

.ai-card__stat-label {
  font-size: .55rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .2);
}

/* inHumane 'o' in vision loves */
.inhumane-o {
  font-family: var(--ff-display);
  font-weight: 700;
}


/* ══════════════════════════════════
   VISION — 80vh
   ══════════════════════════════════ */
.about-vision {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vh, 160px) 24px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #080a12 0%, #0b0d18 100%);
}

.about-vision__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 80vw;
  margin: 0 auto;
}

.about-vision__headline {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 40px;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.about-vision__text {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  margin: 0 auto;
  text-align: center;
  letter-spacing: -.01em;
}

.about-vision__text em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-light), #6c8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.about-vision__text--second {
  margin-top: 32px;
}

.about-vision__sub {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: rgba(255, 255, 255, .7);
  margin-top: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Ecosystem ── */
.about-ecosystem {
  padding: clamp(60px, 8vh, 100px) 24px;
}

.about-ecosystem__inner {
  text-align: center;
  margin-bottom: 48px;
}

.about-ecosystem__inner .section-sub {
  margin: 8px auto 0;
}

.about-ecosystem__inner .section-sub strong {
  color: var(--accent);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
}

.ecosystem-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(200, 210, 230, .35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .5s var(--ease),
    border-color .5s var(--ease),
    background .5s var(--ease);
  cursor: pointer;
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  perspective: 800px;
}

/* Soft accent glow — fades in on hover */
.ecosystem-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(79, 110, 247, .06), transparent 70%);
  filter: blur(25px);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
  z-index: 0;
}

/* Thin accent line at top — slides in on hover */
.ecosystem-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 1px;
  transition: width .5s var(--ease), left .5s var(--ease);
  z-index: 1;
}

/* JS adds .eco-hover class on mouseenter */
.ecosystem-card.eco-hover {
  border-color: rgba(79, 110, 247, .25);
  box-shadow: 0 20px 50px rgba(79, 110, 247, .12), 0 0 0 1px rgba(79, 110, 247, .08) inset;
  background: rgba(255, 255, 255, .7);
}

.ecosystem-card.eco-hover::before {
  opacity: 1;
}

.ecosystem-card.eco-hover::after {
  width: 40%;
  left: 30%;
}

.ecosystem-card__name {
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.eco-one {
  font-family: var(--ff-display);
  font-weight: 700;
}

.ecosystem-card__logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 14px;
  position: relative;
  z-index: 1;
}

.ecosystem-card__logo--text {
  font-family: 'Inter', var(--ff-sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 44px;
  width: auto;
  overflow: visible;
}

.privacy-one {
  color: var(--text);
}

.privacy-priv {
  color: #0d9488;
}

.ecosystem-card__desc {
  font-size: .83rem;
  color: rgba(0, 0, 0, .6);
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.ecosystem-card__link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .3s var(--ease);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.ecosystem-card__link:hover {
  gap: 8px;
}

/* ── CTA inside footer ── */
.about-cta-footer {
  text-align: center;
  padding: 80px 24px 60px;
}

/* Strip transform transition once revealed so JS magnetic feels instant */
.about-cta-footer .btn-primary.reveal.visible {
  transition: opacity .7s var(--ease), box-shadow .3s var(--ease);
}

.about-cta-footer .btn-primary.reveal.visible:hover {
  transform: none;
  /* let JS magnetic take over, no CSS translateY(-2px) */
  box-shadow: 0 8px 30px rgba(79, 110, 247, .4);
}

.ai-card__robot-svg {
  width: 28px;
  height: 28px;
}

.ai-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.ecosystem-shield-svg {
  width: 36px;
  height: 36px;
}

.about-cta__via-msg {
  max-width: 400px;
  margin: 0 auto 32px;
  padding: 16px 24px;
  border-radius: 20px;
  border-bottom-left-radius: 4px;
  background: rgba(79, 110, 247, .18);
  border: 1px solid rgba(79, 110, 247, .2);
  font-size: .92rem;
  color: #fff;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width:1024px) {
  .team-card-item {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 36px 28px;
  }

  .team-card-item__photo {
    margin: 0 auto;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ai-showcase {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

@media (max-width:768px) {
  .via-intro-wrap {
    width: 92vw;
  }

  .story-chapter__inner {
    width: 95vw;
  }

  .story-chapter {
    min-height: auto;
    padding: clamp(48px, 6vh, 80px) 16px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .about-vision__text {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  .story-chat__bubble {
    max-width: 85%;
    font-size: .86rem;
  }

  .team-pinned-wrap {
    height: 250vh;
  }
}

@media (max-width:480px) {
  .ai-card {
    padding: 24px 20px;
  }

  .ai-card__top {
    flex-wrap: wrap;
  }

  .story-chat__avatar {
    width: 30px;
    height: 30px;
    font-size: .68rem;
  }

  .team-card-item {
    padding: 28px 20px;
  }

  .via-intro-inputbar {
    flex-direction: column;
    gap: 8px;
  }

  .via-send-btn {
    width: 100%;
  }
}