/* ABOUT PAGE SPECIFIC STYLES */

/* --- HERO --- */
.about-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero-illus {
  width: 100%;
  animation: subtleFloat 6s ease-in-out infinite;
}
@keyframes subtleFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
/* Ensure sections aren't hidden behind navbar when scrolling to IDs */
section {
  scroll-margin-top: 100px;
}
@media (max-width: 992px) {
  .about-hero-wrap { grid-template-columns: 1fr; }
}

/* --- THE MEANING OF ONEBRIDGE ---
   A compact, typography-led editorial statement — deep purple card,
   white/yellow text, no illustration. Visual language borrows from the
   Case Studies "Key Takeaway" block (dark card, yellow eyebrow, large
   pull-quote) without duplicating it: this one is a narrower, centered
   card rather than a full-width band, since it's a brand statement
   rather than a case-study callout. */
.meaning-section {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 64px auto;
  padding: 56px 64px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--purple-dk) 0%, var(--purple) 100%);
  box-shadow: 0 32px 64px rgba(49, 27, 146, .22);
}
/* Subtle brand watermark — the real OneBridge bridge mark (cropped from
   logo.png via the same flood-fill alpha pipeline used for
   case-studies-hero-processed.png, see process_logo_transparent.py),
   not a placeholder letterform. filter:brightness(0) invert(1) flattens
   the mark's orange/navy/gray to a plain white silhouette (so it reads
   as pure texture rather than a second, competing brand mark), and the
   low opacity below is real alpha compositing on a genuinely transparent
   PNG — no mix-blend-mode trick involved. */
.meaning-bg-letter {
  position: absolute;
  top: 50%; right: -6%;
  transform: translateY(-50%);
  width: 620px;
  max-width: 70%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .07;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.meaning-copy { position: relative; z-index: 1; max-width: 640px; }
.meaning-eyebrow {
  display: block;
  color: var(--yellow);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.meaning-headline {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 16px;
  min-height: 2.56em; /* reserves 2 lines so the typewriter reveal doesn't jump */
}
.meaning-triad {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 20px;
  min-height: 1.5em;
}
.meaning-support {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .72);
  max-width: 520px;
}
@media (max-width: 992px) {
  .meaning-section { margin: 48px auto; padding: 48px 40px; }
  .meaning-bg-letter { width: 420px; }
}
@media (max-width: 480px) {
  .meaning-section { margin: 32px auto; padding: 36px 24px; border-radius: 18px; }
  .meaning-bg-letter { width: 280px; }
  .meaning-headline { font-size: 1.35rem; min-height: 2.6em; }
}

/* --- VISION/MISSION BENTO --- */
.vm-vision, .vm-mission {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.vm-vision:hover, .vm-mission:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.value-tile {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}
.value-tile:hover .value-icon svg {
  transform: scale(1.1);
}
.value-icon svg {
  transition: transform 0.3s var(--ease);
}

/* --- PROBLEM WALL --- */
.problem-wall-layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 64px;
  align-items: start;
}
.problem-wall-stat {
  position: sticky;
  top: 120px;
  background: var(--purple);
  color: var(--white);
  padding: 48px 32px;
  border-radius: 24px;
  text-align: center;
}
.problem-wall-stat .huge-num {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
  margin-bottom: 16px;
}
.problem-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.problem-card {
  background: var(--surface);
  padding: 32px;
  border-radius: 16px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.3s var(--ease);
}
.problem-card:hover {
  transform: translateX(8px);
}
.problem-card .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
  opacity: 0.5;
  line-height: 1.2;
}
.problem-card h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.problem-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 992px) {
  .problem-wall-layout { grid-template-columns: 1fr; gap: 32px; }
  .problem-wall-stat { position: relative; top: 0; }
}

/* --- SOLUTION TRANSITION --- */
.solution-transition {
  text-align: center;
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}
.solution-transition h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.3;
}
.solution-transition-arrow {
  margin-bottom: 24px;
  color: var(--yellow);
  display: inline-block;
}

/* --- WHY CHOOSE US REFINEMENT --- */
.why-feature {
  position: relative;
  overflow: hidden;
}
.why-feature-bg-shape {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,193,7,0.2) 0%, rgba(255,193,7,0) 100%);
  pointer-events: none;
  animation: pulseRotate 15s linear infinite;
}
@keyframes pulseRotate {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.05) rotate(180deg); opacity: 1; }
  100% { transform: scale(1) rotate(360deg); opacity: 0.8; }
}

/* Base states for GSAP animations to prevent flicker */
.gsap-hide {
  opacity: 0;
  visibility: hidden;
}
