/* About page. Builds on the shared tokens, buttons, eyebrows and section heads
   from global.css; only page-specific editorial layouts live here. */

/* ---------- Hero — who we are ---------- */
.ab-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  padding-block: clamp(2.2rem, 4vw, 3rem) clamp(4rem, 8vw, 6.5rem);
  background:
    radial-gradient(40% 70% at 85% 30%, rgba(44, 45, 116, 0.65) 0%, rgba(44, 45, 116, 0) 70%),
    linear-gradient(125deg, #15163d 0%, #1a1b4a 45%, #202158 100%);
}
.crumbs { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; color: rgba(232, 232, 248, 0.7); }
.crumbs a { color: rgba(232, 232, 248, 0.85); transition: color 0.2s ease; }
.crumbs a:hover { color: var(--orange); }
.crumbs .i { width: 0.9rem; height: 0.9rem; }
.crumbs [aria-current] { color: #fff; font-weight: 500; }

.ab-hero-in {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.ab-hero .eyebrow.chip { background: transparent; border-color: rgba(255, 152, 0, 0.6); color: var(--orange); }
.ab-hero h1 {
  margin-top: 0; color: #fff; font-size: clamp(2.5rem, 4.6vw, 4.4rem); font-weight: 800; line-height: 1.08;
  letter-spacing: -0.035em;
}
.ab-hero h1 .ln { display: block; }
/* trust line under the heading: smaller, with the figure in the orange accent */
.ab-trust {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.4rem;
  font-family: var(--f-head); font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(232, 232, 248, 0.9);
}
.ab-trust .i { width: 1.2rem; height: 1.2rem; color: var(--orange); }
.ab-trust b { color: var(--orange); font-weight: 700; }
.ab-hero-side { padding-left: clamp(0rem, 2vw, 2rem); border-left: 2px solid rgba(255, 152, 0, 0.55); }
.ab-hero-side p { font-size: clamp(1.08rem, 1.3vw, 1.22rem); line-height: 1.75; color: rgba(232, 232, 248, 0.85); }
.ab-hero-side .ab-tagline {
  margin-top: 1.4rem; font-family: var(--f-head); font-weight: 600; font-size: 1rem; color: #fff; letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: no-preference) {
  .ab-hero .rise { opacity: 0; transform: translateY(18px); animation: ab-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .ab-hero .d1 { animation-delay: 0.05s; } .ab-hero .d2 { animation-delay: 0.16s; } .ab-hero .d3 { animation-delay: 0.3s; }
}
@keyframes ab-rise { to { opacity: 1; transform: none; } }

/* ---------- Shared editorial split: heading left, prose right ---------- */
.ab-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.ab-split-head { position: sticky; top: calc(var(--head-h) + 2rem); }
.ab-split-head .sec-title { max-width: 16ch; }
.ab-prose { display: grid; gap: 1.25rem; max-width: 44rem; }
.ab-prose p { font-size: 1.08rem; line-height: 1.85; color: var(--muted); }
.ab-prose p.lede { font-size: clamp(1.18rem, 1.5vw, 1.35rem); line-height: 1.65; color: var(--text); font-weight: 500; }

/* ---------- Purpose ---------- */
.ab-purpose { padding-block: clamp(4rem, 8vw, 7rem); }
.ab-photo { margin-top: 2rem; }
.ab-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-md); }
.ab-statement {
  margin: 1rem 0 0; padding: 1.6rem 0 0 1.6rem; border-left: 4px solid var(--orange); border-top: 1px solid var(--line);
  font-family: var(--f-head); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.4; color: var(--navy); letter-spacing: -0.015em;
}

/* ---------- Community need ---------- */
.ab-need { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.need-col { border-radius: 24px; padding: clamp(1.8rem, 3.4vw, 3rem); }
.need-col.challenge { background: #fff; border: 1px solid var(--line); }
.need-col.approach { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.need-label {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 999px;
}
.challenge .need-label { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.approach .need-label { background: rgba(255, 152, 0, 0.14); color: var(--orange); border: 1px solid rgba(255, 152, 0, 0.45); }
.need-intro { margin-top: 1.2rem; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.4; color: var(--navy); }
.approach .need-intro { color: #fff; }
.need-col ul { margin-top: 1.6rem; }
.need-col li { padding-block: 1rem; border-top: 1px solid var(--line-2); }
.approach li { border-top-color: rgba(255, 255, 255, 0.12); }
.need-col li b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.04rem; color: var(--navy); }
.approach li b { color: #fff; }
.need-col li span { display: block; margin-top: 0.2rem; font-size: 0.97rem; line-height: 1.55; color: var(--muted); }
.approach li span { color: #cfd0e6; }
/* small markers: a muted dash for challenges, an orange dot for our approach */
.need-col li b::before { content: ''; display: inline-block; vertical-align: middle; margin: -3px 0.7rem 0 0; }
.challenge li b::before { width: 12px; height: 2px; background: var(--muted-2); }
.approach li b::before { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* ---------- Principles ---------- */
.ab-principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ab-principles li {
  padding: 1.7rem 1.6rem 1.8rem; border-radius: var(--radius-card); background: #fff; border: 1px solid var(--line);
  transition: translate 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.ab-principles li:hover { translate: 0 -4px; box-shadow: var(--shadow-md); border-color: #fbe0bd; }
.pr-top { display: flex; align-items: center; justify-content: space-between; }
.pr-num { font-family: var(--f-head); font-weight: 700; font-size: 0.95rem; color: var(--orange-text); letter-spacing: 0.08em; }
.pr-ic {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--navy-50); color: var(--navy); transition: background 0.3s ease, color 0.3s ease;
}
.pr-ic .i { width: 1.2rem; height: 1.2rem; }
.ab-principles li:hover .pr-ic { background: var(--orange); color: #fff; }
.ab-principles h3 { margin-top: 1.6rem; font-size: 1.18rem; font-weight: 600; }
.ab-principles p { margin-top: 0.5rem; font-size: 0.98rem; line-height: 1.6; color: var(--muted); }

/* ---------- Mission & vision ---------- */
.ab-mv-sec { padding-top: 0; }
.ab-mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.mv { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2.2rem, 4.5vw, 4rem); }
.mv.mission { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.mv.vision { background: var(--orange-50); border: 1px solid #fbe0bd; }
/* a large, faint quote mark ties the two blocks together */
.mv::after {
  content: '\201C'; position: absolute; right: 1.6rem; top: -1.4rem; font-family: Georgia, serif; font-size: 11rem; line-height: 1;
  pointer-events: none;
}
.mission::after { color: rgba(255, 255, 255, 0.07); }
.vision::after { color: rgba(255, 152, 0, 0.16); }
.mv-ic { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.mv-ic .i { width: 1.4rem; height: 1.4rem; }
.mission .mv-ic { background: var(--orange); color: #fff; }
.vision .mv-ic { background: var(--navy); color: #fff; }
.mv h2 { margin-top: 1.5rem; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.mission h2 { color: var(--orange); }
.vision h2 { color: var(--orange-text); }
.mv p {
  margin-top: 1rem; font-family: var(--f-head); font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  line-height: 1.38; letter-spacing: -0.015em; text-wrap: pretty;
}
.mission p { color: #fff; }
.vision p { color: var(--navy); }

/* ---------- Impact ---------- */
.ab-impact { padding-block: clamp(4rem, 8vw, 7rem); }
.impact-statement { margin-top: 2rem; display: grid; gap: 0.2rem; }
.impact-statement span {
  font-family: var(--f-head); font-weight: 700; font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--navy);
}
.impact-statement span:nth-child(2) { color: var(--orange-text); }
.impact-points { border-top: 1px solid var(--line); }
.impact-points li { display: flex; gap: 1.6rem; align-items: baseline; padding-block: 1.7rem; border-bottom: 1px solid var(--line); }
.ip-num { flex: none; width: 2.4rem; font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--orange-text); letter-spacing: 0.06em; }
.impact-points h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 600; }
.impact-points p { margin-top: 0.35rem; font-size: 1.04rem; line-height: 1.6; color: var(--muted); }

/* ---------- Technology ---------- */
.tech-ideas { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; border-top: 1px solid var(--line); }
.tech-ideas li { padding-block: 1.1rem; border-bottom: 1px solid var(--line-2); }
.tech-ideas b { display: block; font-family: var(--f-head); font-weight: 600; font-size: 1.04rem; color: var(--navy); }
.tech-ideas b::before { content: ''; display: inline-block; width: 8px; height: 8px; margin: -2px 0.65rem 0 0; vertical-align: middle; border-radius: 50%; background: var(--orange); }
.tech-ideas span { display: block; margin-top: 0.25rem; font-size: 0.96rem; line-height: 1.55; color: var(--muted); }

/* ---------- Final CTA ---------- */
.ab-cta-sec { padding-top: 0; }
.ab-cta {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: clamp(2.8rem, 6vw, 5rem) clamp(1.4rem, 5vw, 4rem); box-shadow: var(--shadow-lg);
}
.ab-cta .bg { position: absolute; inset: 0; z-index: -2; }
.ab-cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.ab-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 22, 61, 0.92), rgba(32, 33, 88, 0.9)); }
.ab-cta .eyebrow.chip { background: transparent; border-color: rgba(255, 152, 0, 0.6); color: var(--orange); }
.ab-cta h2 { margin-top: 1.2rem; color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 700; max-width: 22ch; text-wrap: balance; }
.ab-cta p { margin-top: 1rem; color: #cfd0e6; font-size: 1.12rem; max-width: 40rem; }
.ab-cta .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .ab-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .ab-hero-in, .ab-split, .ab-mv { grid-template-columns: 1fr; }
  .ab-hero-in { align-items: start; }
  .ab-hero-side { max-width: 44rem; }
  .ab-split-head { position: static; }
  .ab-split-head .sec-title { max-width: none; }
  .ab-photo img { aspect-ratio: 16 / 8; }
}
@media (max-width: 760px) {
  .ab-need, .ab-principles, .tech-ideas { grid-template-columns: 1fr; }
  .ab-hero-side { padding-left: 1rem; }
  .ab-statement { padding-left: 1rem; }
  .impact-points li { gap: 1rem; }
  .mv::after { font-size: 8rem; right: 1rem; }
  .ab-cta .btns .btn { flex: 1 1 100%; }
}
