/* ===========================================================
   About Us page, Leading Social
   Built on the existing tokens (styles.css). Prefix: .ab-
   =========================================================== */

/* ---------- HERO ---------- */
.ab-hero {
  position: relative;
  background: var(--ink);
  padding: clamp(48px, 6vw, 88px) var(--gutter) 0;
  overflow: hidden;
}
.ab-marquee--top { padding-top: 116px; }
.ab-hero::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -8%;
  width: 46%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(51,153,255,0.14), transparent 72%);
  pointer-events: none;
}
.ab-hero .wrap { position: relative; }
.ab-hero .crumbs { margin-bottom: 38px; }
.ab-hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 48px;
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 88px);
}
.ab-hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.032em;
  text-wrap: balance;
  color: var(--paper);
}
.ab-hero h1 em { font-style: italic; color: var(--brand); }
.ab-hero-lede {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--mute);
  line-height: 1.55;
  max-width: 42ch;
}
.ab-hero-lede strong { color: var(--paper); font-weight: 600; }
.ab-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.ab-hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
}
@media (max-width: 860px) {
  .ab-hero { padding-top: 116px; }
  .ab-hero-grid { grid-template-columns: 1fr; gap: 26px; align-items: start; }
}

/* ---------- PHOTO MARQUEE ---------- */
.ab-marquee {
  position: relative;
  background: var(--ink);
  padding-bottom: clamp(28px, 4vw, 56px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.ab-marq-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  animation: ab-marq 60s linear infinite;
}
.ab-marquee:hover .ab-marq-track { animation-play-state: paused; }
@keyframes ab-marq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ab-marq-item {
  position: relative;
  height: clamp(220px, 24vw, 340px);
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--ink-2);
}
.ab-marq-item img {
  height: 100%;
  width: auto;
  object-fit: cover;
  filter: saturate(1.02);
}
.ab-marq-item .ab-marq-cap {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10,10,11,0.55);
  backdrop-filter: blur(6px);
  padding: 6px 10px;
  border-radius: 999px;
}

/* ---------- STORY / TIMELINE (paper) ---------- */
.ab-story {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(56px, 7vw, 110px) 0 clamp(80px, 9vw, 150px);
}
.ab-story::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: clamp(80px, 10vw, 160px);
  background: linear-gradient(to bottom, var(--ink), var(--paper));
  pointer-events: none;
}
.ab-story > .wrap { position: relative; z-index: 1; }
.ab-story-lead {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 clamp(40px, 5vw, 72px);
  overflow: visible;
}
.ab-story-lead text {
  font-family: 'Lato', 'Hanken Grotesk', sans-serif;
  font-weight: 900;
  font-size: 78px;
  letter-spacing: -0.5px;
  fill: var(--ink);
}
.ab-story-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.ab-story-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.025em;
}
.ab-story-head h2 em { font-style: italic; color: var(--brand); }
.ab-story-intro {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
}
.ab-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.ab-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.ab-eyebrow.is-dark { color: var(--mute); }

/* timeline */
.ab-timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.ab-chapter {
  display: grid;
  grid-template-columns: 200px 1.3fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: start;
}
.ab-chapter .ab-year {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 3.4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.ab-chapter .ab-year span {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-top: 12px;
}
.ab-chapter .ab-ch-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  line-height: 1.1;
}
.ab-chapter .ab-ch-body p {
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.6;
  color: var(--mute-dark);
  max-width: 50ch;
}
.ab-chapter .ab-ch-body p strong { color: var(--ink); font-weight: 600; }
.ab-chapter .ab-ch-media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--paper-2);
}
.ab-chapter .ab-ch-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 920px) {
  .ab-story-head { grid-template-columns: 1fr; gap: 20px; }
  .ab-chapter { grid-template-columns: 1fr; gap: 18px; }
  .ab-chapter .ab-ch-media { max-width: 420px; }
}

/* ---------- COUNTERS (ink) ---------- */
.ab-stats {
  background: var(--ink);
  padding: clamp(64px, 8vw, 110px) 0;
  border-bottom: 1px solid var(--line);
}
.ab-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.ab-stat {
  background: var(--ink);
  padding: clamp(32px, 3.5vw, 48px) clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ab-stat .ab-stat-n {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.ab-stat .ab-stat-n .u { color: var(--brand); }
.ab-stat .ab-stat-l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
  line-height: 1.5;
  max-width: 22ch;
}
@media (max-width: 880px) {
  .ab-stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .ab-stat-grid { grid-template-columns: 1fr; }
}

/* ---------- FOUNDERS (paper) ---------- */
.ab-founders {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(80px, 9vw, 150px) 0;
}
.ab-founders-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.ab-founders-media {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 5/4;
  background: var(--paper-2);
}
.ab-founders-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-founders-media figcaption {
  position: absolute;
  left: 18px; bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(10,10,11,0.55);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 999px;
}
.ab-founders-copy h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.ab-founders-copy h2 em { font-style: italic; color: var(--brand); }
.ab-founders-copy p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--mute-dark);
  margin-bottom: 18px;
  max-width: 50ch;
}
.ab-founders-copy p strong { color: var(--ink); font-weight: 600; }
.ab-named {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.ab-name-card {
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 16px 20px;
  flex: 1 1 200px;
}
.ab-name-card .nm {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.ab-name-card .rl {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
}
@media (max-width: 860px) {
  .ab-founders-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- MISSION STATEMENT (blue) ---------- */
.ab-mission {
  background: var(--brand);
  color: #fff;
  padding: clamp(90px, 11vw, 180px) 0;
  position: relative;
  overflow: hidden;
}
.ab-mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 85% -10%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(50% 70% at 0% 110%, rgba(10,10,11,0.16), transparent 60%);
  pointer-events: none;
}
.ab-mission .wrap { position: relative; }
.ab-mission .ab-eyebrow { color: rgba(255,255,255,0.82); margin-bottom: 32px; }
.ab-mission .ab-eyebrow .dot { background: #fff; }
.ab-mission h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 86px);
  line-height: 1.0;
  letter-spacing: -0.028em;
  text-wrap: balance;
  max-width: 19ch;
}
.ab-mission h2 em { font-style: italic; }
.ab-mission .ab-mission-foot {
  margin-top: clamp(36px, 4vw, 56px);
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  align-items: center;
  font-size: clamp(16px, 1.2vw, 19px);
  max-width: 60ch;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

/* ---------- CULTURE GALLERY (ink) ---------- */
.ab-culture {
  background: var(--ink);
  padding: clamp(80px, 9vw, 150px) 0;
}
.ab-culture-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.ab-culture-head h2 {
  font-family: 'Lato', var(--display);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--paper);
}
.ab-culture-head h2 em { font-style: normal; color: var(--brand); }
.ab-culture-head p {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--mute);
  line-height: 1.55;
  max-width: 46ch;
}
.ab-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 13vw, 200px);
  gap: 14px;
}
.ab-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-2);
}
.ab-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .5s ease;
}
.ab-tile:hover img { transform: scale(1.05); filter: brightness(0.7); }
.ab-tile .ab-tile-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(10,10,11,0.7));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .45s var(--ease-out);
}
.ab-tile:hover .ab-tile-cap { opacity: 1; transform: translateY(0); }
/* spans */
.ab-t1 { grid-column: span 5; grid-row: span 2; }
.ab-t2 { grid-column: span 4; grid-row: span 2; }
.ab-t3 { grid-column: span 3; grid-row: span 2; }
.ab-t4 { grid-column: span 4; grid-row: span 2; }
.ab-t5 { grid-column: span 4; grid-row: span 2; }
.ab-t6 { grid-column: span 4; grid-row: span 2; }
@media (max-width: 860px) {
  .ab-culture-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .ab-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
  .ab-t1,.ab-t2,.ab-t3,.ab-t4,.ab-t5,.ab-t6 { grid-column: span 1; grid-row: span 1; }
}

/* ---------- VALUES (paper) ---------- */
.ab-values {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(80px, 9vw, 150px) 0;
}
.ab-values-head {
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 22ch;
}
.ab-values-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.ab-values-head h2 em { font-style: italic; color: var(--brand); }
.ab-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ab-value {
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 40px);
  background: var(--bone);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .4s var(--ease-out), border-color .3s ease;
}
.ab-value:hover { transform: translateY(-3px); border-color: var(--ink); }
.ab-value .ab-v-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand);
}
.ab-value h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 1.9vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.ab-value p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute-dark);
}
@media (max-width: 860px) {
  .ab-value-grid { grid-template-columns: 1fr; }
}

/* ---------- scroll reveal ---------- */
.ab-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.ab-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ab-reveal { opacity: 1; transform: none; transition: none; }
  .ab-marq-track { animation: none; }
}

/* lede under "How we work" head (mission folded in) */
.ab-values-lede {
  margin-top: 16px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.6;
  color: inherit;
  opacity: 0.62;
}

/* ---------- GROWTH AUDIT CTA — moved to sections.css (shared across all pages) ---------- */
