/* ==========================================================================
   Bature Digital — About page styles
   Built on top of tokens.css + site.css
   ========================================================================== */

/* ============================
   Hero (about)
   ============================ */
.about-hero {
  position: relative;
  padding: var(--space-13) 0 var(--space-12);
  background: var(--bg);
  overflow: hidden;
}
.about-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -10%, var(--brand-purple-100) 0%, transparent 55%),
    radial-gradient(600px 400px at -10% 110%, rgba(241,197,24,.08) 0%, transparent 60%);
}
.about-hero-inner {
  position: relative;
  max-width: 920px; margin: 0 auto; text-align: center;
}
.about-hero .eyebrow-line { justify-content: center; margin-bottom: 24px; }
.about-hero .eyebrow-line::after { content: ""; width: 28px; height: 1.5px; background: currentColor; display: inline-block; }
.about-hero h1 {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(40px, 5.6vw, 84px); line-height: 1.0;
  letter-spacing: -.025em; color: var(--fg);
  margin: 0 0 28px;
}
.about-hero h1 .accent {
  color: var(--brand-purple-700);
  font-family: var(--font-display); font-weight: 300;
  font-style: italic; letter-spacing: -.02em;
  position: relative; display: inline-block;
}
.about-hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em;
  height: .12em; background: var(--brand-mustard-500); z-index: -1;
  border-radius: 2px;
}
.about-hero-sub {
  font-size: 19px; line-height: 1.65; color: var(--fg-muted);
  margin: 0 auto; max-width: 720px;
}

/* Decorative monogram glyph drifting in hero */
.about-hero-glyph {
  position: absolute;
  width: 280px; aspect-ratio: 1;
  border-radius: 99px;
  border: 1.5px dashed rgba(59, 14, 106, 0.18);
  pointer-events: none;
}
.about-hero-glyph.g1 { top: 8%; left: -90px; animation: spinSlow 80s linear infinite; }
.about-hero-glyph.g2 { bottom: 4%; right: -110px; animation: spinSlow 100s linear infinite reverse; width: 340px; }
.about-hero-glyph.g1::after,
.about-hero-glyph.g2::after {
  content: ""; position: absolute; inset: 22%;
  border-radius: 99px; border: 1px solid rgba(241, 197, 24, 0.22);
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ============================
   Story section
   ============================ */
.story {
  padding: var(--space-13) 0;
  background: var(--neutral-50);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-11);
  align-items: start;
}
.story-copy h2 {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05;
  letter-spacing: -.025em; color: var(--fg);
  margin: 18px 0 28px;
}
.story-copy h2 .em { color: var(--brand-purple-700); }
.story-copy p {
  font-size: 17px; line-height: 1.7; color: var(--fg-muted);
  margin: 0 0 22px;
}
.story-copy p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 300;
  font-size: 64px; line-height: 0.9;
  float: left;
  color: var(--brand-purple-700);
  padding: 6px 14px 0 0;
  letter-spacing: -.04em;
}
.story-copy p strong { color: var(--fg); font-weight: 600; }

/* Stat strip — vertical, anchored right */
.story-stats {
  position: sticky; top: 120px;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.story-stat {
  padding: 28px 28px;
  border-bottom: 1px solid var(--border);
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
}
.story-stat:last-child { border-bottom: 0; }
.story-stat::before {
  content: ""; position: absolute; left: 0; top: 28px; bottom: 28px;
  width: 3px; background: var(--brand-mustard-500);
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity .32s var(--ease-out);
}
.story-stat:hover::before { opacity: 1; }
.story-stat-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1; letter-spacing: -.03em;
  color: var(--brand-purple-700);
  display: flex; align-items: baseline; gap: 4px;
}
.story-stat-num .small { font-size: .55em; color: var(--brand-mustard-600); font-weight: 400; }
.story-stat-num .prefix { font-size: .55em; color: var(--brand-mustard-600); font-weight: 400; }
.story-stat-label {
  font-size: 14px; font-weight: 600; color: var(--fg);
  letter-spacing: .01em;
}
.story-stat-sub {
  font-size: 12px; color: var(--fg-subtle);
  letter-spacing: .08em; text-transform: uppercase;
}

/* ============================
   Beliefs / principles
   ============================ */
.beliefs { padding: var(--space-13) 0; background: var(--bg); }
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: var(--space-9);
}
.belief-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  transition: all .32s var(--ease-out);
  min-height: 280px;
}
/* Last two cards on bottom row span 3 instead of 2 — 2x3 / 3x2 layout */
.belief-card:nth-child(4) { grid-column: span 3; }
.belief-card:nth-child(5) { grid-column: span 3; }

.belief-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand-purple-700), var(--brand-mustard-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform .42s var(--ease-out);
}
.belief-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-purple-100);
}
.belief-card:hover::before { transform: scaleX(1); }

.belief-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: 40px; line-height: 1; letter-spacing: -.03em;
  color: var(--brand-mustard-600);
}
.belief-card h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 21px; line-height: 1.25; letter-spacing: -.01em;
  color: var(--fg); margin: 0;
}
.belief-card p {
  font-size: 15px; line-height: 1.6; color: var(--fg-muted);
  margin: 0;
}

/* ============================
   Team / how we're built
   ============================ */
.team {
  padding: var(--space-13) 0;
  background: var(--brand-purple-900);
  color: #fff;
  position: relative; overflow: hidden;
}
.team::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(241,197,24,.06) 0%, transparent 60%),
    radial-gradient(600px 400px at -10% 100%, rgba(123,61,184,.18) 0%, transparent 60%);
  pointer-events: none;
}
.team .section-head h2 { color: #fff; }
.team .section-head h2 .em { color: var(--brand-mustard-500); }
.team .section-head p { color: rgba(255,255,255,.75); }
.team .eyebrow-line { color: var(--brand-mustard-500); }

.team-grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--space-10);
}
.role-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: all .32s var(--ease-out);
}
.role-card:hover {
  transform: translateY(-4px);
  border-color: rgba(241,197,24,.3);
  background: rgba(255,255,255,.06);
}
.role-marker {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(241,197,24,.14); color: var(--brand-mustard-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 500; font-size: 18px;
  letter-spacing: -.02em;
}
.role-card h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 22px; line-height: 1.25; color: #fff;
  letter-spacing: -.01em; margin: 0;
}
.role-card p {
  font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.78);
  margin: 0;
}
.role-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: auto; padding-top: 8px;
}
.role-tag {
  font-size: 12px; font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(241,197,24,.1);
  color: var(--brand-mustard-500);
  border: 1px solid rgba(241,197,24,.18);
}
.team-coda {
  position: relative;
  margin: var(--space-10) auto 0;
  max-width: 700px; text-align: center;
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,.85);
  font-family: var(--font-display); font-weight: 300;
  letter-spacing: -.005em;
}
.team-coda::before {
  content: "“";
  display: block;
  font-family: var(--font-display); font-weight: 300;
  color: var(--brand-mustard-500);
  font-size: 80px; line-height: .6;
  margin-bottom: 12px;
}

/* ============================
   Track record
   ============================ */
.track {
  padding: var(--space-13) 0;
  background: var(--neutral-50);
}
.track-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: var(--space-9);
}
.track-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: all .32s var(--ease-out);
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.track-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-purple-100);
}
.track-metric {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(34px, 3.4vw, 44px);
  line-height: 1.05; letter-spacing: -.025em;
  color: var(--brand-purple-700);
}
.track-metric .arrow {
  color: var(--brand-mustard-600);
  font-weight: 400;
  margin: 0 6px;
}
.track-context {
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-subtle);
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.track-context .bullet { color: var(--brand-mustard-500); }
.track-card p {
  font-size: 15px; line-height: 1.6;
  color: var(--fg-muted); margin: 0;
}
.track-divider {
  height: 1px; background: var(--border);
  margin: 4px 0;
}
.track-cta-line {
  margin-top: var(--space-9); text-align: center;
  font-size: 15px; color: var(--fg-muted);
}
.track-cta-line strong { color: var(--fg); font-weight: 600; }

/* ============================
   How we work — slim process
   ============================ */
.how {
  padding: var(--space-13) 0;
  background: var(--bg);
}
.how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: var(--space-9);
  position: relative;
}
.how-steps::before {
  content: ""; position: absolute;
  left: 16%; right: 16%; top: 30px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--brand-purple-200) 20%, var(--brand-purple-200) 80%, transparent);
  pointer-events: none;
}
.how-step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  transition: all .32s var(--ease-out);
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-purple-100);
}
.how-step-num {
  width: 60px; height: 60px; border-radius: 99px;
  background: #fff;
  border: 1.5px solid var(--brand-purple-200);
  color: var(--brand-purple-700);
  font-family: var(--font-display); font-weight: 300;
  font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: -.02em;
  position: relative; z-index: 1;
}
.how-step h3 {
  font-family: var(--font-body); font-weight: 700;
  font-size: 19px; line-height: 1.25; color: var(--fg);
  letter-spacing: -.01em; margin: 0;
}
.how-step p {
  font-size: 15px; line-height: 1.6; color: var(--fg-muted);
  margin: 0;
}
.how-link-line {
  margin-top: var(--space-8); text-align: center;
  font-size: 15px;
}
.how-link-line a {
  color: var(--brand-purple-700); font-weight: 600;
  border-bottom: 1.5px solid var(--brand-mustard-500);
  padding-bottom: 2px;
  transition: color .14s;
}
.how-link-line a:hover { color: var(--brand-purple-500); }

/* ============================
   Stack — tools list
   ============================ */
.stack {
  padding: var(--space-13) 0;
  background: var(--neutral-50);
}
.stack-list {
  margin-top: var(--space-9);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.stack-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background .22s var(--ease-out);
}
.stack-row:last-child { border-bottom: 0; }
.stack-row:hover { background: var(--brand-purple-50); }
.stack-channel {
  font-family: var(--font-body); font-weight: 700;
  font-size: 16px; color: var(--fg);
  letter-spacing: -.005em;
  display: flex; align-items: center; gap: 12px;
}
.stack-channel::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px;
  background: var(--brand-mustard-500);
  box-shadow: 0 0 0 3px rgba(241,197,24,.18);
}
.stack-tools {
  font-size: 15px; line-height: 1.6;
  color: var(--fg-muted);
}
.stack-tools .sep {
  color: var(--brand-purple-300);
  margin: 0 8px;
  font-weight: 600;
}
.stack-tools strong {
  color: var(--fg); font-weight: 600;
}

/* ============================
   Where we work
   ============================ */
.where {
  padding: var(--space-13) 0;
  background: var(--bg);
}
.where-inner {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.where h2 {
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.05;
  letter-spacing: -.025em; color: var(--fg); margin: 18px 0 22px;
}
.where h2 .em { color: var(--brand-purple-700); }
.where p {
  font-size: 18px; line-height: 1.65; color: var(--fg-muted);
  margin: 0 auto var(--space-9); max-width: 640px;
}
.where-trust {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.where-trust span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: var(--fg);
}
.where-trust span::before {
  content: ""; width: 8px; height: 8px; border-radius: 99px;
  background: var(--brand-mustard-500);
  box-shadow: 0 0 0 3px rgba(241,197,24,.2);
}

/* Map / globe-ish backdrop on .where */
.where-map {
  position: relative;
  margin: var(--space-9) auto 0;
  max-width: 720px; aspect-ratio: 16/6;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(241,197,24,.1) 0%, transparent 35%),
    radial-gradient(ellipse at 70% 55%, rgba(59,14,106,.12) 0%, transparent 40%);
  border-radius: var(--radius-2xl);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.where-map-dots {
  position: relative; width: 100%; height: 100%;
}
.where-dot {
  position: absolute;
  width: 14px; height: 14px; border-radius: 99px;
  background: var(--brand-purple-700);
  box-shadow: 0 0 0 6px rgba(59,14,106,.12), 0 0 0 14px rgba(59,14,106,.06);
}
.where-dot.lagos { left: 51%; top: 56%; background: var(--brand-mustard-500); box-shadow: 0 0 0 6px rgba(241,197,24,.22), 0 0 0 14px rgba(241,197,24,.1); }
.where-dot.us    { left: 18%; top: 38%; }
.where-dot.ca    { left: 22%; top: 22%; }
.where-dot.uk    { left: 47%; top: 28%; }
.where-dot.au    { left: 82%; top: 70%; }
.where-line {
  position: absolute; top: 56%; left: 18%;
  height: 1px; background: linear-gradient(90deg, var(--brand-purple-300), transparent 30%, var(--brand-mustard-500) 50%, transparent 70%, var(--brand-purple-300));
  width: 64%;
  transform: translateY(-50%);
  opacity: .45;
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 1080px) {
  .beliefs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .belief-card,
  .belief-card:nth-child(4),
  .belief-card:nth-child(5) { grid-column: span 1; }
  .belief-card:nth-child(5) { grid-column: span 2; }
  .stack-row { grid-template-columns: 200px 1fr; gap: 20px; padding: 22px 24px; }
}
@media (max-width: 920px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--space-9); }
  .story-stats { position: static; }
  .team-grid, .track-grid, .how-steps { grid-template-columns: 1fr; gap: 18px; }
  .how-steps::before { display: none; }
  .stack-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; }
}
@media (max-width: 600px) {
  .about-hero { padding: var(--space-11) 0 var(--space-10); }
  .story, .beliefs, .team, .track, .how, .stack, .where { padding: var(--space-11) 0; }
  .beliefs-grid { grid-template-columns: 1fr; }
  .belief-card, .belief-card:nth-child(5) { grid-column: span 1; min-height: auto; }
  .where-trust { flex-direction: column; align-items: stretch; }
  .where-map { display: none; }
  .story-copy p:first-of-type::first-letter { font-size: 48px; }
}
