/* About Vistorio — page-specific (ab-) */

.ab-hero-title {
  margin: 0 0 1rem;
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--ink);
}

.ab-hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--red);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.ab-hero-mission {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 32rem;
  line-height: 1.55;
}

.ab-hero-mission em {
  font-style: normal;
  color: var(--ink);
  font-weight: 700;
}

.ab-band--calm {
  background: var(--page-muted);
}

.ab-band--dark {
  background: var(--ink);
  color: #fff;
}

.ab-band--dark .hp-eyebrow { color: rgba(255, 255, 255, 0.5); }
.ab-band--dark .hp-h2 { color: #fff; }
.ab-band--dark .hp-lede { color: rgba(255, 255, 255, 0.65); }

/* Hero scene */
.ab-hero-scene {
  position: relative;
  min-height: 380px;
}

.ab-hero-visual {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}

.ab-hero-bg-card {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--ink-soft);
  overflow: hidden;
}

.ab-hero-bg-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
}

.ab-hero-bg-labels {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 1;
}

.ab-hero-bg-labels span {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
}

.ab-hero-dash {
  position: relative;
  z-index: 2;
  margin: 2rem 1.5rem 0;
  background: rgba(10, 14, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.ab-hero-dash__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ab-hero-dash__top strong {
  font-size: 0.72rem;
  color: #fff;
}

.ab-hero-dash__top span {
  font-size: 0.58rem;
  color: var(--success);
  font-weight: 600;
}

.ab-hero-dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.ab-hero-dash__kpi {
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.ab-hero-dash__kpi label {
  display: block;
  font-size: 0.48rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.ab-hero-dash__kpi b {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
}

/* Story / problems */
.ab-story {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .ab-story { grid-template-columns: 1fr 1fr; }
}

.ab-problems {
  display: grid;
  gap: 0.65rem;
}

.ab-problem {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.ab-story-copy p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1rem;
}

/* Mission outcomes */
.ab-mission-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .ab-mission-grid { grid-template-columns: repeat(3, 1fr); }
}

.ab-mission-outcome {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.ab-mission-outcome__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.ab-mission-outcome strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.ab-mission-outcome span {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.ab-mission-statement {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

/* Vision roadmap */
.ab-vision-road {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.ab-vision-step {
  flex: 1 1 9rem;
  max-width: 11rem;
  padding: 1.15rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.4s var(--ease), background 0.4s;
}

.ab-vision-step.is-visible {
  opacity: 1;
  background: rgba(177, 18, 38, 0.12);
  border-color: rgba(177, 18, 38, 0.25);
}

.ab-vision-step strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
}

/* Philosophy cards */
.ab-philosophy {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .ab-philosophy { grid-template-columns: repeat(4, 1fr); }
}

.ab-philo {
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.ab-philo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ab-philo__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--red-soft);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.ab-philo h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
}

.ab-philo p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.ab-philo__ui {
  margin-top: 1rem;
  background: var(--ink);
  border-radius: 10px;
  padding: 0.65rem;
  min-height: 48px;
}

.ab-philo__chip {
  display: inline-block;
  margin: 0.15rem;
  padding: 0.25rem 0.45rem;
  font-size: 0.55rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
}

/* Differentiators */
.ab-diff-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
}

.ab-diff {
  padding: 1.25rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ab-diff__icon { font-size: 1.35rem; margin-bottom: 0.5rem; }

.ab-diff strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.ab-diff p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Africa section */
.ab-africa {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .ab-africa { grid-template-columns: 1fr 1fr; }
}

.ab-africa-map {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-africa-map svg {
  width: 100%;
  max-width: 280px;
  opacity: 0.35;
}

.ab-map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(177, 18, 38, 0.3);
  animation: ab-pulse 2.5s ease-in-out infinite;
}

.ab-map-dot--1 { top: 35%; left: 48%; animation-delay: 0s; }
.ab-map-dot--2 { top: 55%; left: 42%; animation-delay: -0.8s; }
.ab-map-dot--3 { top: 48%; left: 55%; animation-delay: -1.6s; }

@keyframes ab-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.85; }
}

.ab-africa-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.ab-africa-list li {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.45;
}

.ab-africa-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* Company journey timeline */
.ab-journey {
  display: grid;
  gap: 0;
  max-width: 560px;
  margin: 0 auto;
}

.ab-journey-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  position: relative;
  opacity: 0.45;
  transition: opacity 0.4s var(--ease);
}

.ab-journey-step.is-visible { opacity: 1; }

.ab-journey-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 2.5rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.ab-journey-step.is-visible:not(:last-child)::before {
  background: linear-gradient(180deg, var(--red), var(--line));
}

.ab-journey-step__dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--page);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  z-index: 1;
}

.ab-journey-step.is-visible .ab-journey-step__dot {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.ab-journey-step strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.ab-journey-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Commitment cards */
.ab-commit-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}

.ab-commit {
  padding: 1.25rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.ab-commit__icon { font-size: 1.4rem; margin-bottom: 0.5rem; }

.ab-commit strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.35;
}

.ab-commit p {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Tech approach */
.ab-tech {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .ab-tech { grid-template-columns: 1fr 1fr; }
}

.ab-tech-card {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ab-tech-card__icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ab-tech-card strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.ab-tech-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.ab-tech-diagram {
  grid-column: 1 / -1;
  padding: 1.5rem;
  background: var(--ink);
  border-radius: 20px;
  text-align: center;
}

.ab-tech-layers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ab-tech-layer {
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

/* Platform ecosystem */
.ab-eco {
  position: relative;
  margin: 2rem auto 0;
  max-width: 720px;
  aspect-ratio: 1;
}

.ab-eco__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  max-width: 200px;
  padding: 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(177, 18, 38, 0.2);
  z-index: 2;
}

.ab-eco__hub strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
}

.ab-eco__hub span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.25rem;
  display: block;
}

.ab-eco__spokes {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ab-eco__spokes svg { width: 100%; height: 100%; }

.ab-eco__node {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  z-index: 1;
}

.ab-eco__node--1 { top: 8%; left: 50%; }
.ab-eco__node--2 { top: 28%; left: 88%; }
.ab-eco__node--3 { top: 55%; left: 95%; }
.ab-eco__node--4 { top: 82%; left: 72%; }
.ab-eco__node--5 { top: 92%; left: 35%; }
.ab-eco__node--6 { top: 72%; left: 8%; }
.ab-eco__node--7 { top: 42%; left: 5%; }

@media (max-width: 600px) {
  .ab-eco { aspect-ratio: auto; min-height: 420px; }
  .ab-eco__node { font-size: 0.65rem; padding: 0.4rem 0.6rem; }
}

/* Stats */
.ab-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr));
  margin-top: 2rem;
}

.ab-stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.ab-stat b {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
}

.ab-stat span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.25rem;
  display: block;
}

/* Careers */
.ab-careers {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .ab-careers { grid-template-columns: 1.2fr 0.8fr; }
}

.ab-culture-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 1.5rem;
}

.ab-culture-tags span {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ab-careers-visual {
  padding: 1.5rem;
  background: var(--ink);
  border-radius: 18px;
  color: #fff;
  text-align: center;
}

.ab-careers-visual strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.ab-careers-visual span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Final CTA */
.ab-final {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--ink);
  text-align: center;
}

.ab-final .hp-h2 { color: #fff; }
.ab-final .hp-lede { color: rgba(255, 255, 255, 0.65); }
