/* Q4 Workspace: About page styles (loaded after site.css) */

/* ---------- Hero ---------- */
.ab-hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: 190px 16px 120px;
  text-align: center;
}
.ab-hero__headline { position: relative; margin-top: 28px; }
.ab-hero .orb-stage { z-index: -1; }
.ab-hero__lead {
  max-width: 600px;
  margin: 30px auto 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: #b4bdbc;
  text-wrap: balance;
}

/* ---------- Stats strip ---------- */
.ab-stats { padding: 0 16px 90px; }
.ab-stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ab-stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px 24px;
  text-align: center;
}
.ab-stat + .ab-stat { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.ab-stat__value {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
/* unit sits on its own line under the number, so every stat has the same shape */
.ab-stat__value span {
  display: block;
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent);
}
.ab-stat__value .ab-stat__num { display: inline; margin: 0; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: inherit; }
.ab-stat__label { font-size: 14px; color: #8f9998; }

/* living-proof line inside the model section */
.ab-proof-line {
  max-width: 620px;
  margin: 22px auto 0;
  padding: 18px 22px;
  border-radius: 16px;
  font-size: 17px;
  line-height: 1.55;
  color: #cfd6d5;
  background: rgba(42, 107, 102, 0.12);
  border: 1px solid rgba(111, 184, 174, 0.22);
  text-wrap: pretty;
}
.ab-proof-line strong { color: #fff; font-weight: 700; }
.ab-card__text a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(111, 184, 174, 0.35); }
.ab-card__text a:hover { border-bottom-color: var(--accent); }

/* ---------- Long-form story ---------- */
.ab-story { padding: 40px 16px 60px; }
.ab-prose {
  max-width: 680px;
  margin: 0 auto;
}
.ab-prose p {
  margin-top: 26px;
  font-size: 19px;
  line-height: 1.75;
  color: #a3acab;
  text-wrap: pretty;
}
.ab-prose p:first-child { margin-top: 0; }
.ab-prose strong { color: #fff; font-weight: 500; }
.ab-prose .ab-callout {
  margin-top: 40px;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ---------- From VA to Partner path ---------- */
.ab-path {
  max-width: 1100px;
  margin: 72px auto 72px;
  padding: 0 16px;
}
.ab-path__title {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}
.ab-path__list {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}
/* connecting line through the nodes */
.ab-path__list::before {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), #2a6b66 70%, #6fb8ae);
}
.ab-path__step { position: relative; text-align: center; }
.ab-path__dot {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 50%;
  background: #0e1716;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 6px #000;
}
.ab-path__step:nth-child(n+3) .ab-path__dot { border-color: rgba(111, 184, 174, 0.35); }
.ab-path__step--final .ab-path__dot {
  background: radial-gradient(circle at 35% 30%, #4f9a92, var(--brand) 72%);
  border-color: rgba(160, 225, 214, 0.5);
  box-shadow: 0 0 0 6px #000, 0 0 0 7px rgba(111, 184, 174, 0.3), 0 8px 26px rgba(42, 107, 102, 0.7);
}
.ab-path__label {
  display: block;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #cfd6d5;
  text-wrap: balance;
}
.ab-path__step--final .ab-path__label { color: #fff; font-weight: 700; }

/* ---------- Pull quote + founders ---------- */
.ab-quote {
  max-width: 900px;
  margin: 90px auto 0;
  padding: 0 16px;
  text-align: center;
}
.ab-quote blockquote {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.ab-quote blockquote strong {
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #a6d8d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ab-founders {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  margin-top: 40px;
}
.ab-founder { display: flex; align-items: center; gap: 12px; text-align: left; }
.ab-founder__name { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.ab-founder__role { display: block; margin-top: 2px; font-size: 14px; color: #8f9998; }

/* "never met in person" reveal */
.ab-reveal {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 26px 30px;
  border-radius: 20px;
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.55;
  text-align: center;
  color: #b4bdbc;
  background:
    radial-gradient(100% 90% at 50% 0%, rgba(58, 130, 122, 0.2), transparent 70%),
    #0b0d0d;
  border: 1px solid rgba(111, 184, 174, 0.28);
  text-wrap: balance;
}
.ab-reveal strong { display: block; margin: 6px 0; font-size: 1.25em; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
@media (max-width: 860px) { .ab-reveal { margin-left: 16px; margin-right: 16px; padding: 22px 20px; } }

/* ---------- Shared section heading (two-tone) ---------- */
.ab-section { position: relative; isolation: isolate; overflow-x: clip; padding: 140px 16px 40px; }
.ab-head { max-width: 680px; margin: 0 auto; text-align: center; }
.ab-title {
  text-wrap: balance;
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
}
.ab-title span { display: block; color: #8b9594; }
.ab-lead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.6;
  color: #a3acab;
  text-wrap: pretty;
}

/* ---------- Ventures ---------- */
.ab-ventures::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(900px, 140vw);
  height: 520px;
  transform: translate(-50%, -40%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42, 107, 102, 0.2), transparent 75%);
  filter: blur(40px);
  pointer-events: none;
}
.ab-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 56px auto 0;
}
.ab-card {
  padding: 26px 24px;
  border-radius: 20px;
  background: linear-gradient(180deg, #0d0f0f, #090a0a);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ab-card__tag { font-size: 13px; font-weight: 500; color: var(--accent); }
.ab-card__name {
  margin-top: 14px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.ab-card__text { margin-top: 8px; font-size: 15px; line-height: 1.55; color: #8f9998; }
.ab-support {
  max-width: 1000px;
  margin: 16px auto 0;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px dashed rgba(111, 184, 174, 0.3);
  font-size: 16px;
  line-height: 1.55;
  color: #a3acab;
  text-align: center;
}
.ab-support strong { color: #fff; font-weight: 500; }
.ab-industries {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 40px auto 0;
}
.ab-industries li {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 15px;
  color: #cfd6d5;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ab-note {
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  color: #a3acab;
  text-wrap: balance;
}
.ab-note strong { color: #fff; font-weight: 500; }

/* ---------- Why Q4 exists ---------- */
.ab-why__grid { max-width: 680px; margin: 0 auto; }
.ab-proof {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(58, 130, 122, 0.22), transparent 65%),
    linear-gradient(180deg, #0f1414, #090a0a);
  border: 1px solid rgba(111, 184, 174, 0.25);
  box-shadow: 0 30px 70px -30px rgba(42, 107, 102, 0.55);
}
.ab-proof__text {
  margin-top: 16px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #cfd6d5;
}
.ab-proof__text strong { color: #fff; font-weight: 700; }
.ab-proof .quote__who { padding-top: 26px; }

/* ---------- Regions ---------- */
.ab-regions__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 56px auto 0;
}
.ab-region {
  padding: 30px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0d0f0f, #090a0a);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.ab-region--home {
  border-color: rgba(111, 184, 174, 0.28);
  background:
    radial-gradient(100% 70% at 50% 0%, rgba(58, 130, 122, 0.2), transparent 70%),
    linear-gradient(180deg, #0f1414, #090a0a);
}
.ab-region__tag { font-size: 13px; font-weight: 500; color: var(--accent); }
.ab-region__name { margin-top: 12px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.ab-region__text { margin-top: 10px; font-size: 16px; line-height: 1.6; color: #9aa5a4; }

/* ---------- The Model in Action: compact org tree ---------- */
.tree-wrap { margin: 56px auto 0; overflow-x: auto; padding-bottom: 6px; }
.tree {
  --line: rgba(111, 184, 174, 0.4);
  --gap: 30px;
  display: flex;
  justify-content: center;
  min-width: max-content;
  margin: 0 auto;
}
.tree, .tree ul { list-style: none; padding: 0; }
.tree ul {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: var(--gap);
}
/* vertical line from a card down to its children */
.tree ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  height: var(--gap);
  border-left: 1px solid var(--line);
}
.tree li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--gap) 12px 0;
}
.tree > li { padding-top: 0; }
/* horizontal + vertical connectors into each child */
.tree li::before,
.tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 50%;
  height: var(--gap);
  border-top: 1px solid var(--line);
}
.tree li::after { right: auto; left: 50%; border-left: 1px solid var(--line); }
.tree > li::before, .tree > li::after,
.tree li:only-child::before { display: none; }
.tree li:only-child::after { border-top: none; }
.tree li:first-child::before, .tree li:last-child::after { border: 0 none; }
.tree li:last-child::before { border-right: 1px solid var(--line); border-top-right-radius: 10px; }
.tree li:first-child::after { border-top-left-radius: 10px; }
.tree li:only-child::after { left: 50%; border-radius: 0; border-left: 1px solid var(--line); }

.tree__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 170px;
  padding: 14px 18px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(180deg, #0d0f0f, #090a0a);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.tree__card--lead {
  padding: 18px 24px;
  border-color: rgba(111, 184, 174, 0.35);
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(58, 130, 122, 0.25), transparent 70%),
    linear-gradient(180deg, #0f1414, #090a0a);
  box-shadow: 0 18px 50px -20px rgba(42, 107, 102, 0.6);
}
.tree__avatars { display: flex; margin-bottom: 8px; }
.tree__avatars .quote__avatar { width: 40px; height: 40px; font-size: 14px; box-shadow: 0 0 0 3px #0c1110; }
.tree__avatars .quote__avatar + .quote__avatar { margin-left: -10px; }
.tree__role { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.tree__card--lead .tree__role { font-size: 16px; }
.tree__where { font-size: 13px; font-weight: 500; color: var(--accent); }

/* role descriptions under the chart */
.roles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 44px auto 0;
}
.roles__item {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.roles__item dt { font-size: 15px; font-weight: 700; color: #fff; }
.roles__item--lead dt { color: var(--accent); }
.roles__item dd { margin-top: 6px; font-size: 14px; line-height: 1.55; color: #8f9998; }

.ab-regions__grid--three { max-width: 1100px; }

/* Jose's own words closing the model section */
.ab-jose {
  max-width: 720px;
  margin: 48px auto 0;
  padding: 32px 34px;
  border-radius: 22px;
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(58, 130, 122, 0.22), transparent 65%),
    linear-gradient(180deg, #0f1414, #090a0a);
  border: 1px solid rgba(111, 184, 174, 0.25);
}
.ab-jose__text {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #b4bdbc;
}
.ab-jose__text strong { color: #fff; font-weight: 700; }
.ab-jose .quote__who { padding-top: 22px; }


@media (max-width: 860px) {
  .ab-hero { padding: 140px 16px 60px; }
  .ab-stats { padding-bottom: 60px; }
  .ab-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-stat { padding: 22px 12px; }
  .ab-stat + .ab-stat { border-left: none; }
  .ab-stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, 0.08); }
  .ab-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .ab-prose p { font-size: 17px; }
  .ab-path__list {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }
  .ab-path__list::before {
    top: 14px;
    bottom: 14px;
    left: 13px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), #2a6b66 70%, #6fb8ae);
  }
  .ab-path__step { display: flex; align-items: center; gap: 18px; text-align: left; }
  .ab-path__dot { flex: none; margin: 0; }
  .ab-path__label { margin-top: 0; }
  .ab-section { padding: 100px 16px 20px; }
  .ab-cards { grid-template-columns: 1fr; }
  .ab-proof { padding: 28px; }
  .ab-regions__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .roles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .tree { --gap: 22px; }
  .tree li { padding-left: 4px; padding-right: 4px; }
  .tree__card { min-width: 0; width: 150px; padding: 11px 10px; }
  .tree__card--lead { width: auto; padding: 16px 18px; }
  .tree__role { font-size: 13px; }
  .tree__where { font-size: 12px; }
  .roles { grid-template-columns: 1fr; }
}
