/* ───────────────────────────────────────────────────────────
   ABOUT PAGE STYLES (EXECUTIVE BIOGRAPHY EXPERIENCE)
   ─────────────────────────────────────────────────────────── */

/* Global Overrides / Utilities for About Page */
.page-about {
  background: var(--color-white);
}

.section--light {
  background: var(--color-white);
  color: var(--color-text-gray);
}

.section--dark {
  background: var(--color-deep-navy);
  color: var(--color-white);
}

.section--blue {
  background: var(--color-enterprise-blue);
  color: var(--color-white);
}

.text-white { color: var(--color-white) !important; }

/* ── 01. HERO ── */
.about-hero {
  min-height: 100vh;
  padding-top: var(--nav-height-desktop);
  display: flex;
  align-items: center;
}

.about-hero__split {
  display: flex;
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  gap: 4rem;
  align-items: center;
}

.about-hero__left {
  flex: 1;
}

.about-hero__headline {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  font-weight: var(--font-black);
  text-transform: uppercase;
  margin: 2rem 0;
  letter-spacing: -0.02em;
}

.about-hero__intro {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--color-black);
}

.about-hero__sub-intro {
  font-size: var(--text-lg);
  line-height: 1.6;
  max-width: 500px;
}

.about-hero__right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.about-hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.about-hero__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* GSAP subtle scale down */
  transition: transform var(--transition-slower);
}

.about-hero__image-wrapper:hover .about-hero__portrait {
  transform: scale(1);
}

.about-hero__label {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  color: var(--color-black);
}

.about-hero__label-name {
  font-weight: var(--font-black);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.about-hero__label-title {
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  opacity: 0.7;
}

/* ── 02. STATS ── */
.about-stats {
  padding: var(--space-32) 0;
}

.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.about-stats__item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-stats__number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: var(--font-black);
  line-height: 1;
  color: var(--color-enterprise-blue);
}

.about-stats__label {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.15em;
  opacity: 0.7;
}

/* ── 03. FOUNDATION ── */
.about-foundation {
  padding: var(--space-32) 0;
}

.about-foundation__split {
  display: flex;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  gap: 6rem;
  align-items: center;
}

.about-foundation__left, .about-foundation__right {
  flex: 1;
}

.about-foundation__image-wrapper {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-foundation__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-foundation__headline {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: var(--font-black);
  line-height: 1.1;
  margin: 2rem 0;
  text-transform: uppercase;
}

.about-foundation__copy {
  font-size: var(--text-xl);
  line-height: 1.6;
  max-width: 500px;
}

.about-foundation__copy p {
  margin-bottom: 1.5rem;
}

/* ── 04. TIMELINE (Desktop Interactive) ── */
.about-timeline {
  padding: var(--space-32) 0;
}

.timeline__container {
  position: relative;
  height: 400vh; /* Scroll room for GSAP scrubbing */
}

.timeline__sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.timeline__visuals {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.timeline__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.timeline__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.timeline__img--active {
  opacity: 1;
}

.timeline__track-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height-desktop);
}

.timeline__track {
  display: flex;
  gap: 15vw;
  padding: 0 50vw; /* Start off-screen right */
}

.timeline__item {
  flex: 0 0 400px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.4s ease, transform 0.4s ease;
  transform: scale(0.9);
}

.timeline__item.is-active {
  color: var(--color-white);
  transform: scale(1);
}

.timeline__year {
  font-size: var(--text-6xl);
  font-weight: var(--font-black);
  line-height: 1;
  margin-bottom: 1rem;
}

.timeline__title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.timeline__desc {
  font-size: var(--text-lg);
  line-height: 1.6;
}

/* Mobile Timeline Stack (Hidden on desktop) */
.timeline__mobile {
  display: none;
}

/* ── 05. PERFORMANCE MOMENT ── */
.performance-moment {
  padding: var(--space-40) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.performance__large {
  font-size: clamp(6rem, 15vw, 15rem);
  font-weight: var(--font-black);
  line-height: 0.9;
  color: var(--color-enterprise-blue);
}

.performance__medium {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  margin-top: 1rem;
}

.performance__small {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 4rem;
}

.performance__copy {
  max-width: 700px;
  margin: 0 auto;
  font-size: var(--text-2xl);
  line-height: 1.6;
}

.performance__visual {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  opacity: 0.1;
}

.perf-num {
  font-size: var(--text-7xl);
  font-weight: var(--font-black);
}

/* ── 06. BLUE DOT EVOLUTION ── */
.about-companies {
  padding: var(--space-32) 0;
}

.evolution-block {
  display: flex;
  align-items: stretch;
  gap: 4rem;
  margin-top: 6rem;
  margin-bottom: 10rem;
}

.evolution-block__image {
  flex: 1;
  aspect-ratio: 1;
}

.evolution-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evolution-block__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.evolution-block__intro {
  font-size: var(--text-xl);
  margin: 2rem 0 3rem;
  max-width: 500px;
}

.evolution-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.evolution-item {
  font-size: var(--text-2xl);
  font-weight: var(--font-black);
  color: var(--color-enterprise-blue);
  opacity: 0.2; /* GSAP will animate to 1 */
}

.evolution-arrow {
  color: var(--color-black);
  opacity: 0.2;
}

/* ── 07. CDCM BLOCK ── */
.cdcm-block {
  display: flex;
  align-items: center;
  gap: 6rem;
  margin-bottom: 10rem;
}

.cdcm-block__content {
  flex: 1;
}

.cdcm-block__stat {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin: 2rem 0;
}

.cdcm-block__stat-num {
  font-size: var(--text-6xl);
  font-weight: var(--font-black);
}

.cdcm-block__stat-label {
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  opacity: 0.5;
}

.cdcm-block__copy {
  font-size: var(--text-xl);
  line-height: 1.6;
}

.cdcm-block__image {
  flex: 1;
  aspect-ratio: 4/3;
}

.cdcm-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 08. CORELINE BLOCK ── */
.coreline-block {
  display: flex;
  align-items: center;
  padding: 8rem;
  gap: 6rem;
  margin-bottom: 10rem;
}

.coreline-block__content {
  flex: 1;
}

.coreline-block__copy {
  font-size: var(--text-xl);
  line-height: 1.6;
  margin: 2rem 0;
}

.coreline-block__list {
  list-style: none;
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-enterprise-blue);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.coreline-block__image-wrapper {
  flex: 1;
  aspect-ratio: 3/4;
}

.coreline-block__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 09. PLATFORMS BLOCK ── */
.platforms-block h2 {
  margin-bottom: 4rem;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.platform-panel {
  position: relative;
  aspect-ratio: 3/4;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  cursor: pointer;
}

.platform-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.platform-panel:hover::before {
  opacity: 0.6;
  transform: scale(1.05);
}

.platform-panel__title {
  position: relative;
  z-index: 2;
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  margin-bottom: 1rem;
}

.platform-panel__desc {
  position: relative;
  z-index: 2;
  font-size: var(--text-base);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.platform-panel:hover .platform-panel__desc {
  opacity: 1;
  transform: translateY(0);
}

.platform-panel__link {
  position: relative;
  z-index: 2;
  margin-top: 2rem;
  font-size: var(--text-xs);
  font-weight: var(--font-bold);
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

.platform-panel:hover .platform-panel__link {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* ── 10. PHILOSOPHY ── */
.about-philosophy {
  padding: var(--space-40) 0;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 6rem 0;
}

.philosophy-item {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: var(--font-black);
  line-height: 0.9;
  letter-spacing: -0.02em;
  opacity: 0.1; /* GSAP reveals */
}

.philosophy-footer {
  max-width: 700px;
  font-size: var(--text-2xl);
  line-height: 1.6;
}

/* ── 11. ECOSYSTEM MAP ── */
.about-ecosystem {
  padding: var(--space-40) 0;
  text-align: center;
}

.ecosystem-map {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 1;
  margin: 6rem auto 0;
}

.ecosystem-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ecosystem-lines path {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2;
}

.ecosystem-lines path.active {
  stroke: var(--color-enterprise-blue);
}

.ecosystem-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-enterprise-blue);
  color: var(--color-white);
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-black);
  text-align: center;
  z-index: 10;
}

.ecosystem-nodes {
  position: absolute;
  inset: 0;
}

.ecosystem-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--angle) * 72deg - 90deg)) translate(300px) rotate(calc(var(--angle) * -72deg + 90deg));
  background: var(--color-white);
  color: var(--color-black);
  padding: 1rem 1.5rem;
  font-weight: var(--font-bold);
  cursor: pointer;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.ecosystem-node:hover {
  background: var(--color-enterprise-blue);
  color: var(--color-white);
  transform: translate(-50%, -50%) rotate(calc(var(--angle) * 72deg - 90deg)) translate(300px) rotate(calc(var(--angle) * -72deg + 90deg)) scale(1.1);
}

/* ── 12 & 13. BIO & FAQ ── */
.about-bio {
  padding: var(--space-32) 0;
}

.about-bio__split {
  display: flex;
  gap: 6rem;
}

.about-bio__left {
  flex: 1.5;
}

.about-bio__right {
  flex: 1;
}

.about-bio__copy {
  font-size: var(--text-xl);
  line-height: 1.7;
  margin: 3rem 0;
}

.about-bio__copy p {
  margin-bottom: 1.5rem;
}

.about-bio__portrait {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-bio__full-wrapper {
  margin-top: 3rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 3rem;
}

.bio-expand-btn {
  width: 100%;
  padding: 1.5rem;
}

.about-bio__full-content {
  margin-top: 2rem;
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-gray);
}

.about-bio__full-content p {
  margin-bottom: 1.5rem;
}

/* FAQ */
.about-faq {
  padding-bottom: var(--space-32);
}

/* ── 15. CTA ── */
.about-cta {
  padding: var(--space-40) 0;
  text-align: center;
}

.about-cta__inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-cta__headline {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: var(--font-black);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.about-cta__sub {
  font-size: var(--text-2xl);
  line-height: 1.5;
  margin-bottom: 4rem;
}

.about-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn--white {
  border-color: var(--color-white) !important;
  color: var(--color-white) !important;
}

.btn--white:hover {
  background: var(--color-white) !important;
  color: var(--color-enterprise-blue) !important;
}

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 1024px) {
  .about-hero__split, .about-foundation__split, .about-bio__split {
    flex-direction: column;
  }
  
  .about-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coreline-block, .cdcm-block, .evolution-block {
    flex-direction: column;
    padding: 2rem 0;
  }
  
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  
  /* Timeline fallback */
  .timeline__container {
    height: auto;
  }
  .timeline__sticky-wrapper {
    display: none; /* Hide desktop horizontal scroller */
  }
  .timeline__mobile {
    display: block; /* Show vertical stacked cards */
  }
}

@media (max-width: 768px) {
  .about-stats__grid {
    grid-template-columns: 1fr;
  }
  .about-cta__actions {
    flex-direction: column;
  }
  .ecosystem-map {
    transform: scale(0.5); /* Quick downscale for mobile, realistically should restructure to list */
  }
}
