/* ==========================================================================
   about.html — About page specific styles
   ========================================================================== */

/* ============================================================
   1. HERO — TWO-COLUMN GRID
   ============================================================ */
/* ============================================================
   1. HERO — TWO-COLUMN GRID
   ============================================================ */
#hero.hero {
  min-height: 100vh;
  height: auto;
  padding-block: clamp(150px, 20vh, 210px) clamp(40px, 8vh, 90px);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 80px;
}

.about-hero__content .eyebrow { margin-bottom: 20px; }
.about-hero__content h1 { margin-bottom: 24px; }
.about-hero__content .lead { margin-bottom: 0; max-width: 50ch; }

/* ============================================================
   2. HERO STAT CARDS (RIGHT SIDE)
   Animated highlight cards replacing the old hero timeline.
   ============================================================ */
.about-hero__stats {
  display: none;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 400px;
}

.hero-stat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(29, 104, 232, 0.22);
  background: linear-gradient(135deg, rgba(29, 104, 232, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(29, 104, 232, 0.14), rgba(255, 255, 255, 0.03));
}

.hero-stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  border: 1px solid rgba(29, 104, 232, 0.3);
  background: rgba(29, 104, 232, 0.10);
  box-shadow: 0 0 0 4px rgba(29, 104, 232, 0.05);
  animation: heroStatFloat 3.6s ease-in-out infinite;
}
.hero-stat-card:nth-child(2) .hero-stat-icon { animation-delay: 0.4s; }
.hero-stat-card:nth-child(3) .hero-stat-icon { animation-delay: 0.8s; }
.hero-stat-card:hover .hero-stat-icon {
  animation-play-state: paused;
  transform: scale(1.1) rotate(-6deg);
}

.hero-stat-body { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-num {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, #5aa0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label {
  font-size: 13px;
  color: var(--text-secondary-inverse, var(--text-secondary));
  line-height: 1.4;
}

@keyframes heroStatFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stat-icon { animation: none; }
}



/* ============================================================
   3. OUR STORY — IMAGE LEFT, CONTENT RIGHT
   ============================================================ */
.story-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 72px;
}

.story-image-col { 
  position: relative; 
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.story-image-frame {
  border-radius: 50% / 30%;
  overflow: hidden;
  border: 8px solid #12141a;
  background: #12141a;
  box-shadow: var(--shadow-light);
  aspect-ratio: 3 / 4;
}
.story-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% / 30%;
  transition: transform 0.6s var(--ease);
}
.story-image-frame:hover img { transform: scale(1.04); }

.story-accent-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--bg-light-card);
  border: 1px solid var(--border-editorial);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.story-accent-badge .badge-num {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, #5aa0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.story-accent-badge .badge-label {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent) 0%, #5aa0ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.story-content-col .eyebrow { margin-bottom: 20px; }
.story-content-col h2 { margin-bottom: 20px; }
.story-content-col .lead { margin-bottom: 16px; }

.story-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary-inverse);
  background: var(--bg-light-chip);
  border: 1px solid var(--border-editorial);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 28px;
}

/* ============================================================
   4. MISSION / VISION / VALUES CARDS
   Same base .card styling as the rest of the site, but scoped
   overrides here: always-visible blue border, no lift/shadow
   on hover (just a subtle border/background brighten instead),
   plus a livelier icon treatment.
   ============================================================ */
.mv-cards.cards-3 { gap: 24px; }

.mv-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(29, 104, 232, 0.35);
  background:
    radial-gradient(120px 90px at 14% 0%, rgba(29, 104, 232, 0.08), transparent 70%),
    var(--surface-editorial-card);
}
.mv-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.mv-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--accent);
}
.mv-card:hover::before { opacity: 1; }

/* Icon — circular glow badge with its own gentle motion */
.mv-card .icon-square {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(29, 104, 232, 0.3);
  background: rgba(29, 104, 232, 0.08);
  box-shadow: 0 0 0 4px rgba(29, 104, 232, 0.05);
  animation: mvIconFloat 3.6s ease-in-out infinite;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mv-card:nth-child(2) .icon-square { animation-delay: 0.4s; }
.mv-card:nth-child(3) .icon-square { animation-delay: 0.8s; }

.mv-card:hover .icon-square {
  animation-play-state: paused;
  transform: scale(1.12) rotate(-6deg);
  background: rgba(29, 104, 232, 0.14);
  box-shadow: 0 0 0 6px rgba(29, 104, 232, 0.10);
}
.mv-card .icon-square svg {
  transition: transform 0.4s var(--ease);
}
.mv-card:hover .icon-square svg { transform: scale(1.08); }

@keyframes mvIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .mv-card .icon-square { animation: none; }
}

/* ============================================================
   5. WHAT DRIVES US — NEW JOURNEY SECTION
   ============================================================ */
.journey-section {
  background: var(--bg-deep);
  border-block: 1px solid var(--border);
}

.journey-header {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: start;
  gap: 64px;
  margin-bottom: 60px;
}
.journey-header .eyebrow { margin-bottom: 16px; }
.journey-header h2 { line-height: 1.1; }
.journey-header .lead { margin-top: 16px; max-width: 46ch; }

.journey-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.journey-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.journey-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(29,104,232,0.07), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(29,104,232,0.35);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.journey-card:hover::before { opacity: 1; }

.journey-card__phase {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.journey-card__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.journey-card:hover .journey-card__icon {
  background: rgba(29,104,232,0.12);
  border-color: rgba(29,104,232,0.4);
}
.journey-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.journey-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   6. OUR VALUES — ASYMMETRIC LAYOUT
   ============================================================ */
.values-asymm {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 72px;
  align-items: start;
}

.values-header-col {
  position: sticky;
  top: 120px;
}
.values-header-col .eyebrow { margin-bottom: 20px; }
.values-header-col h2 { margin-bottom: 24px; line-height: 1.1; }
.values-header-col .lead { font-size: 15px; color: var(--text-secondary); max-width: 32ch; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  cursor: default;
}
.value-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(29,104,232,0.3);
  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
}
.value-card:hover::after { transform: scaleX(1); }

.value-card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 20px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.value-card:hover .value-card__icon {
  background: rgba(29,104,232,0.1);
  border-color: var(--accent);
  transform: rotate(-6deg) scale(1.05);
}
.value-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text-primary); }
.value-card p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   7B. WHY CHOOSE US
   ============================================================ */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(41, 121, 255, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.why-card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}
.why-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.why-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}
.why-card__kpi {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.why-card__kpi-stat {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.why-card__kpi-label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  text-align: right;
  line-height: 1.3;
}
.analytics-kpi-ribbon {
  margin-top: 48px;
  background: rgba(16, 22, 32, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ribbon-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.ribbon-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 15%;
  bottom: 15%;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.ribbon-item__value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
}
.ribbon-item__value .accent {
  color: var(--accent);
}
.ribbon-item__label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================================
   7. DIFFERENTIATORS ("What makes us different" — .cards-4 .card)
   Blue theme treatment matching the mission/vision cards: always-
   visible accent border + top highlight line, no lift/shadow on
   hover, just a subtle border/glow brighten instead.
   ============================================================ */
.cards-4 .card {
  border-color: rgba(29, 104, 232, 0.35);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), background 0.3s var(--ease);
}

.cards-4 .card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.cards-4 .card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--accent);
}

.cards-4 .card:hover::before {
  opacity: 1;
}

.cards-4 .card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--accent);
  background: rgba(29, 104, 232, 0.1);
  border: 1px solid rgba(29, 104, 232, 0.35);
  box-shadow: 0 0 0 4px rgba(29, 104, 232, 0.06);
  margin-bottom: 4px;
  animation: cardNumFloat 3.6s ease-in-out infinite;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cards-4 .card:nth-child(2) .card__num { animation-delay: 0.3s; }
.cards-4 .card:nth-child(3) .card__num { animation-delay: 0.6s; }
.cards-4 .card:nth-child(4) .card__num { animation-delay: 0.9s; }

.cards-4 .card:hover .card__num {
  animation-play-state: paused;
  transform: scale(1.12) rotate(-6deg);
  background: rgba(29, 104, 232, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(29, 104, 232, 0.12);
}

@keyframes cardNumFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .cards-4 .card__num { animation: none; }
}

/* ============================================================
   8. MEET OUR TEAM — COMPACT + FOCUS ZOOM
   ============================================================ */
.team-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-card {
  text-align: center;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 20px 20px 24px;
  transition:
    transform 0.4s var(--ease),
    opacity 0.4s var(--ease),
    border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  cursor: pointer;
}

/* When siblings are de-emphasized */
.team-focus-grid.has-focus .team-card:not(.is-focused) {
  transform: scale(0.95);
  opacity: 0.65;
}
/* When a card is focused */
.team-focus-grid .team-card.is-focused {
  transform: scale(1.04);
  border-color: rgba(29,104,232,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  opacity: 1;
  z-index: 2;
  position: relative;
}

.team-card .capsule {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 0;
}
.team-card .capsule img {
  width: 100%;
  aspect-ratio: 3 / 3.6;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}
.team-card.is-focused .capsule img { transform: scale(1.04); }

.team-card__meta { padding-top: 18px; }
.team-card h3 { font-size: 18px; margin-bottom: 6px; }
.team-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }

.team-card__social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.team-social-link {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-secondary);
  font-size: 13px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.team-social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   9. MILESTONES — CENTERED ALTERNATING TIMELINE
   ============================================================ */
.milestone-section {
  background: var(--bg-primary);
  position: relative;
}

.milestone-heading { text-align: center; margin-bottom: 72px; position: relative; z-index: 2; }
.milestone-heading .eyebrow { justify-content: center; }

.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-inline: auto;
  padding-block: 40px;
}

.milestone-list::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  background: var(--border);
  z-index: 0;
}

/* Animated line fill overlay */
.ms-line-fill {
  position: absolute;
  top: 0; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(29,104,232,0.3) 100%);
  transform-origin: top center;
  scale: 1 0;
  transition: scale 1.8s cubic-bezier(0.22,0.61,0.36,1);
  z-index: 1;
  pointer-events: none;
}
.milestone-section.ms-animated .ms-line-fill {
  scale: 1 1;
}

.ms-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 0;
  min-height: 120px;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.ms-item.is-visible {
  opacity: 1;
  transform: none;
}

/* Center column: dot + year */
.ms-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 3;
}
.ms-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-primary);
  flex-shrink: 0;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ms-item.is-visible .ms-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-glow), 0 0 20px rgba(29,104,232,0.3);
}
.ms-item.ms-active .ms-dot {
  box-shadow: 0 0 0 10px var(--accent-glow), 0 0 30px rgba(29,104,232,0.5);
}
.ms-year {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent);
  white-space: nowrap;
}

/* Content boxes */
.ms-content {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ms-item.is-visible .ms-content {
  border-color: rgba(29,104,232,0.15);
}
.ms-item.ms-active .ms-content {
  border-color: rgba(29,104,232,0.4);
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
}
.ms-content h3 { font-size: 16px; color: var(--text-primary); margin-bottom: 8px; }
.ms-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }

/* Left/right positioning */
.ms-item--left .ms-content { text-align: right; margin-right: 0; }
.ms-item--left .ms-empty { } /* right side empty */
.ms-item--right .ms-empty { } /* left side empty */
.ms-item--right .ms-content { text-align: left; margin-left: 0; }

/* ============================================================
   10. RESPONSIVE — TABLET (≤ 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-hero__stats { display: none; } /* hide stat cards on tablet, show below */

  .story-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-accent-badge { right: 0; }

  .journey-header {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
  .journey-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-asymm {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .values-header-col { position: static; }

  .team-focus-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .analytics-kpi-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .ribbon-item:nth-child(2)::after {
    display: none;
  }

  .milestone-list { max-width: 100%; }
  .ms-item { grid-template-columns: 1fr 60px 1fr; }
}

/* ============================================================
   11. RESPONSIVE — MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  .about-hero-grid { gap: 36px; }

  .story-split { gap: 32px; }
  .story-image-frame { aspect-ratio: 4 / 3; }
  .story-accent-badge { display: none; }

  .journey-cards { grid-template-columns: 1fr; gap: 16px; }

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

  .team-focus-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Mobile timeline: single column */
  .milestone-list::before { left: 24px; transform: none; }
  .ms-line-fill { left: 24px; transform: none; }
  .ms-item {
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto;
    min-height: auto;
    padding: 16px 0;
  }
  .ms-center {
    align-items: center;
    flex-direction: column;
    gap: 6px;
  }
  .ms-year { font-size: 11px; }
  .ms-dot { width: 14px; height: 14px; }
  .ms-item--left .ms-content,
  .ms-item--right .ms-content {
    text-align: left;
    grid-column: 2;
    grid-row: 1;
  }
  .ms-item--left,
  .ms-item--right {
    grid-template-columns: 52px 1fr;
  }
  .ms-empty { display: none; }
  .ms-center { grid-column: 1; grid-row: 1; }

  .ms-item--left .ms-content { order: 2; }

  .why-us-grid {
    grid-template-columns: 1fr;
  }
  .analytics-kpi-ribbon {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
  .ribbon-item::after {
    display: none !important;
  }
}

/* ============================================================
   12. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .ms-item,
  .milestone-section .ms-line-fill {
    transition: none !important;
    animation: none !important;
  }
  .ms-item { opacity: 1; transform: none; }
  .milestone-section.ms-animated .ms-line-fill { scale: 1 1; }
}
/* Center-align the 3rd card in Mission/Vision/Values and Team grids — tablet only */
@media (min-width: 768px) and (max-width: 1023px) {
  .mv-cards > :nth-child(3),
  .team-focus-grid > :nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 10px);
  }
}