/* =========================================================================
   About BotTalk — page-specific layouts.
   Inherits tokens, typography, .nav and .footer from ../styles.css.
   Page-specific component prefix: .ab-
   ========================================================================= */

/* ============================================================
   Section grid overlay — square 12-col chrome on drench/light.
   ============================================================ */
.s__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    repeating-linear-gradient(to right,
      var(--grid-line-drench) 0 1px,
      transparent 1px calc(100% / 12));
}
.s[data-surface="light"] .s__grid,
.s[data-surface="white"] .s__grid {
  background-image:
    repeating-linear-gradient(to right,
      var(--grid-line-light) 0 1px,
      transparent 1px calc(100% / 12));
}

/* ============================================================
   HERO — Moin from Hamburg.
   ============================================================ */
.ab-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--section-y) + 60px);
}
.ab-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  gap: clamp(20px, 3vw, 36px);
}

.ab-hero__ticker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.85;
  margin: 0;
}
.ab-hero__dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  display: inline-block;
  animation: ab-pulse 2.4s var(--ease-out-quart) infinite;
}
.ab-hero__sep { opacity: 0.5; }

.ab-hero__display {
  font-size: clamp(3rem, 11vw, 8.5rem);
  line-height: 0.84;
  letter-spacing: -0.045em;
}
.ab-hero__lede {
  max-width: 56ch;
  font-size: clamp(1.125rem, 1.55vw, 1.5rem);
  line-height: 1.45;
  opacity: 0.92;
}

.ab-hero__chips {
  list-style: none;
  margin: clamp(16px, 3vw, 32px) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ab-hero__chips li {
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 9px 14px;
}

@keyframes ab-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* ============================================================
   MANIFESTO — Two-column editorial on white-smoke.
   ============================================================ */
.ab-manifesto__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 880px) {
  .ab-manifesto__inner { grid-template-columns: 1fr; }
}
.ab-manifesto__eyebrow {
  display: block;
  color: var(--rocket-blue);
  margin: 0 0 18px;
}
.ab-manifesto__statement {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 24px;
}
.ab-manifesto__statement em {
  font-style: italic;
  font-weight: 900;
  color: var(--rocket-blue);
}
.ab-manifesto__pull {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  line-height: 1.5;
  color: var(--graphite);
  max-width: 38ch;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(10, 10, 10, 0.18);
}
.ab-manifesto__right {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}
.ab-manifesto__right .body {
  color: var(--graphite);
  font-size: clamp(1rem, 1.2vw, 1.1875rem);
  line-height: 1.6;
  max-width: 52ch;
}

/* ============================================================
   COMMITMENTS — Three declarative cells on drench.
   ============================================================ */
.ab-commit__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(40px, 6vw, 80px);
}
.ab-commit__head {
  display: grid;
  gap: 16px;
  max-width: 24ch;
}
.ab-commit__head .mono { opacity: 0.7; }
.ab-commit__head .headline {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.0;
}

.ab-commit__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
@media (max-width: 900px) {
  .ab-commit__list { grid-template-columns: 1fr; }
}
.ab-commit__item {
  background: var(--rocket-blue);
  padding: clamp(28px, 3.5vw, 48px);
  display: grid;
  gap: 14px;
  align-content: start;
}
.ab-commit__no {
  font-size: 0.7rem;
  opacity: 0.7;
}
.ab-commit__title {
  font-weight: 900;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  letter-spacing: -0.01em;
}
.ab-commit__body {
  font-size: clamp(0.95rem, 1.1vw, 1.0625rem);
  line-height: 1.5;
  opacity: 0.88;
  max-width: 32ch;
}

/* ============================================================
   TEAM — Six-card grid on white.
   ============================================================ */
.ab-team__inner {
  position: relative;
  z-index: 2;
  color: var(--ink);
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}
.ab-team__head {
  display: grid;
  gap: 14px;
}
.ab-team__head .mono { color: var(--rocket-blue); }
.ab-team__head .headline {
  color: var(--ink);
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  max-width: 22ch;
}

.ab-team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 56px) clamp(20px, 2.5vw, 40px);
}
@media (max-width: 1000px) {
  .ab-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ab-team__grid { grid-template-columns: 1fr; }
}

.ab-team__card {
  display: grid;
  gap: 12px;
  align-content: start;
}
.ab-team__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--white-smoke);
  margin-bottom: 8px;
}
.ab-team__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1) contrast(1.04);
  transition: filter 360ms var(--ease-out-quart);
}
.ab-team__card:hover .ab-team__photo {
  filter: grayscale(0) contrast(1);
}
.ab-team__name {
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  letter-spacing: -0.005em;
}
.ab-team__role {
  color: var(--rocket-blue);
  margin: -4px 0 6px;
}
.ab-team__bio {
  color: var(--graphite);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 36ch;
  margin: 0;
}
.ab-team__link {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  opacity: 0.72;
  transition: opacity 160ms;
  width: max-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.ab-team__link:hover { opacity: 1; }

/* ============================================================
   PROOF STRIP — Mono chip row on light.
   ============================================================ */
.ab-proof {
  padding-top: clamp(40px, 5vh, 64px);
  padding-bottom: clamp(40px, 5vh, 64px);
  border-top: 1px solid rgba(10, 10, 10, 0.08);
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
}
.ab-proof__row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.ab-proof__chip {
  border: 1px solid rgba(10, 10, 10, 0.32);
  padding: 9px 14px;
  color: var(--ink);
}

/* ============================================================
   CTA — Drench. "Talk to Andrey."
   ============================================================ */
.ab-cta {
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.ab-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(18px, 2.5vw, 32px);
  max-width: 28ch;
}
.ab-cta__eyebrow { opacity: 0.7; margin: 0; }
.ab-cta__display {
  font-size: clamp(3rem, 10vw, 7.5rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
}
.ab-cta__lede { max-width: 32ch; }

.ab-cta__actions {
  margin-top: clamp(8px, 2vw, 24px);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ab-cta__btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 180ms var(--ease-out-quart),
              color 180ms var(--ease-out-quart),
              transform 240ms var(--ease-out-quart);
}
.ab-cta__btn--primary {
  background: var(--white);
  color: var(--rocket-blue);
  border: 1px solid var(--white);
}
.ab-cta__btn--primary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-1px);
}
.ab-cta__btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.ab-cta__btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .ab-hero__dot { animation: none; }
  .ab-team__photo { transition: none; }
  .ab-cta__btn { transition: none; }
}
