/* ═══════════════════════════════════════════
   ABOUT PAGE
   What TalentSheets is, beside a sheet answering the request that
   started it; the story; the numbers as a sheet row; what we stand by.
   ═══════════════════════════════════════════ */

.about-page .page-content { padding-bottom: 0; }

/* ── Intro ───────────────────────────────────── */
.ab-hero { padding: 0 0 var(--space-4xl); }

.ab-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.ab-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.ab-hero__title {
  margin: 0 0 var(--space-lg);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
}

.ab-hero__title em { font-style: normal; color: var(--color-blue); }

.ab-hero__lead {
  margin: 0 0 var(--space-md);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.ab-hero__lead strong { font-weight: 600; color: var(--color-text); }

.ab-hero__google {
  margin: 0 0 var(--space-xl);
  padding-left: 0.9rem;
  border-left: 3px solid #34a853;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.ab-hero__google a,
.ab-link {
  font-weight: 600;
  color: var(--color-blue);
  text-underline-offset: 3px;
}

.ab-hero__google a { text-decoration: underline; }

.ab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-lg);
}

.ab-link { text-decoration: none; }
.ab-link:hover { text-decoration: underline; }

/* The sheet: the clients' request in A1, answered by the rows below it */
.ab-sheet {
  margin: 0;
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 30px 70px -30px rgba(32, 33, 36, 0.35);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  transform: rotate(-1.2deg);
}

.ab-sheet__top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #e1e3e1;
  font-size: 14.5px;
  color: #202124;
}

.ab-sheet__fx {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-bottom: 1px solid #e1e3e1;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  color: #202124;
}

.ab-sheet__ref { width: 28px; color: #444746; }
.ab-sheet__fxsign { padding-left: 0.6rem; border-left: 1px solid #e1e3e1; font-style: italic; color: #9aa0a6; }
.ab-sheet__fxval { overflow: hidden; text-overflow: ellipsis; }

.ab-sheet__view { overflow-x: auto; }

.ab-sheet__grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
  color: #202124;
}

.ab-sheet__grid td,
.ab-sheet__grid th {
  padding: 0.6rem 0.7rem;
  border-right: 1px solid #e1e3e1;
  border-bottom: 1px solid #e1e3e1;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}

.ab-sheet__grid tr > :first-child {
  width: 32px;
  padding: 0.6rem 0;
  background: #f8f9fa;
  font-size: 11px;
  text-align: center;
  color: #5f6368;
}

.ab-sheet__grid thead td {
  padding: 0.25rem 0.7rem;
  background: #f8f9fa;
  font-size: 11px;
  text-align: center;
  color: #5f6368;
}

.ab-sheet__ask td:last-child {
  padding: 1rem 0.9rem;
  white-space: normal;
  box-shadow: inset 0 0 0 2px #1a73e8;
  font-size: 1.05rem;
  font-weight: 700;
  color: #202124;
}

.ab-sheet__hdr th { font-size: 12px; font-weight: 700; color: #fff; }
.ab-sheet__hdr .g1, .ab-numbers__label.g1 { background: #ff9900; }
.ab-sheet__hdr .g2, .ab-numbers__label.g2 { background: #f1c232; }
.ab-sheet__hdr .g3, .ab-numbers__label.g3 { background: #6aa84f; }
.ab-sheet__hdr .g4 { background: #6d9eeb; }

.ab-pill { display: inline-block; padding: 0.15rem 0.55rem; border-radius: 4px; font-size: 12px; }
.ab-pill--signed { background: #ceead6; }
.ab-pill--sent { background: #d2e3fc; }
.ab-pill--neg { background: #fbbc04; }

.ab-sheet__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: #f8f9fa;
  font-size: 13px;
  font-weight: 700;
  color: #202124;
}

.ab-sheet__caption span { font-size: 12px; font-weight: 400; color: #9aa0a6; }

/* While js/about.js types the request, the rows wait, then fill in one by one */
.ab-sheet.is-typing [data-ab-ask]::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: #202124;
  animation: ab-caret 1s steps(1) infinite;
}

.ab-sheet.is-typing [data-ab-row],
.ab-sheet.is-typing .ab-sheet__caption { opacity: 0; transform: translateY(6px); }

.ab-sheet [data-ab-row],
.ab-sheet .ab-sheet__caption { transition: opacity 0.4s ease, transform 0.4s ease; }

.ab-sheet.is-typing [data-ab-row].is-in,
.ab-sheet.is-typing .ab-sheet__caption.is-in { opacity: 1; transform: none; }

@keyframes ab-caret { 50% { opacity: 0; } }

/* ── Story ───────────────────────────────────── */
.ab-story { padding: var(--space-4xl) 0; background: var(--color-white); }

.ab-story__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}

.ab-story__title {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  margin: 0;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.ab-story__text p {
  margin: 0 0 var(--space-lg);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.ab-story__text .ab-story__quote {
  padding-left: 1.1rem;
  border-left: 4px solid var(--color-blue);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
}

.ab-story__text p:last-child { margin-bottom: 0; }

/* ── Numbers, as one row of a sheet ──────────── */
.ab-section-title {
  margin: 0 0 var(--space-xl);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--color-text);
}

.ab-numbers { padding: var(--space-4xl) 0 var(--space-2xl); }

.ab-numbers__sheet {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dadce0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px -30px rgba(32, 33, 36, 0.3);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.ab-numbers__letters,
.ab-numbers__row {
  display: grid;
  grid-template-columns: 40px repeat(3, minmax(0, 1fr));
}

.ab-numbers__letters span {
  padding: 0.3rem 0;
  border-right: 1px solid #e1e3e1;
  border-bottom: 1px solid #e1e3e1;
  background: #f8f9fa;
  font-size: 11px;
  text-align: center;
  color: #5f6368;
}

.ab-numbers__rownum {
  display: grid;
  place-items: center;
  border-right: 1px solid #e1e3e1;
  background: #f8f9fa;
  font-size: 11px;
  color: #5f6368;
}

.ab-numbers__cell { display: flex; flex-direction: column; border-right: 1px solid #e1e3e1; }
.ab-numbers__cell:last-child { border-right: 0; }

.ab-numbers__label { padding: 0.6rem 0.9rem; font-size: 12.5px; font-weight: 700; color: #fff; }
.ab-numbers__label { flex: 1; }   /* labels share the tallest label's height, so the numbers line up */

.ab-numbers__value {
  padding: 1.4rem 0.9rem 1.6rem;
  font-family: var(--font-family);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

/* ── What we stand by ────────────────────────── */
.ab-values { padding: var(--space-2xl) 0 var(--space-4xl); }

.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ab-values__grid li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: var(--space-md);
  border-top: 3px solid #ff9900;
}

.ab-values__grid li:nth-child(2) { border-top-color: #f1c232; }
.ab-values__grid li:nth-child(3) { border-top-color: #6aa84f; }
.ab-values__grid li:nth-child(4) { border-top-color: #6d9eeb; }

.ab-values__grid b { font-size: 1.1rem; font-weight: 700; color: var(--color-text); }
.ab-values__grid span { font-size: 0.95rem; line-height: 1.6; color: var(--color-text-secondary); }

/* ── Smaller screens ─────────────────────────── */
@media (max-width: 960px) {
  .ab-hero__inner,
  .ab-story__inner { grid-template-columns: 1fr; }
  .ab-story__title { position: static; }
  .ab-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .ab-sheet { transform: none; }
  .ab-numbers__letters,
  .ab-numbers__row { grid-template-columns: 30px repeat(3, minmax(0, 1fr)); }
  .ab-numbers__label { padding: 0.5rem 0.55rem; font-size: 11px; }
  .ab-numbers__value { padding: 1rem 0.55rem 1.1rem; font-size: 1.7rem; }
  .ab-values__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ab-sheet [data-ab-row],
  .ab-sheet .ab-sheet__caption { transition: none; }
}

/* main.js counts these up; keep the old about-page number styling off them */
.ab-numbers__value .about__stat-number {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
