/* About Us page — uses the site tokens from style.css
   (--signal, --signal-dark, --signal-tint, --ink, --slate, --paper-line, --void) */

/* ---------- hero ---------- */
.ab-hero {
  position: relative; overflow: hidden; text-align: center; background: var(--paper); color: var(--ink);
  padding: 64px 0 56px; border-bottom: 1px solid var(--paper-line);
}
.ab-hero::after {
  content: ""; position: absolute; top: -160px; right: -160px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,36,43,0.08), transparent 70%); pointer-events: none;
}
.ab-hero .wrap { position: relative; z-index: 1; }
.ab-hero h1 { font-size: clamp(36px, 5.4vw, 56px); color: var(--ink); }
.ab-hero p { max-width: 640px; margin: 16px auto 0; color: var(--slate); font-size: clamp(16px, 1.6vw, 18px); }

/* ---------- highlight strip ---------- */
.ab-strip { padding: 40px 0 20px; position: relative; z-index: 2; }
.ab-box {
  background: #fff; border: 1px solid var(--paper-line); border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(21,26,34,0.14);
}
.ab-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--paper-line); }
.ab-tab {
  font: inherit; cursor: pointer; color: var(--slate); background: #fff; border: 0;
  border-right: 1px solid var(--paper-line); border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 22px 16px; display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background .2s, color .2s, border-color .2s;
}
.ab-tab:last-child { border-right: 0; }
.ab-tab:hover { background: var(--paper-dim); color: var(--ink); }
.ab-tab:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.ab-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); background: #fff; }
.ab-tab-icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--signal-tint); color: var(--signal); transition: background .2s, color .2s;
}
.ab-tab[aria-selected="true"] .ab-tab-icon { background: var(--signal); color: #fff; }
.ab-tab-icon svg { width: 20px; height: 20px; }
.ab-tab-title { font-weight: 700; font-size: 16px; }
.ab-panel-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 36px; background: var(--paper-dim); }
.ab-panel { color: var(--slate); font-size: 16px; min-height: 76px; }
.ab-panel h3 { color: var(--ink); font-size: 19px; margin-bottom: 6px; }
.ab-panel p { margin: 0; max-width: 720px; }
.ab-call { flex: none; white-space: nowrap; }

/* ---------- who we are ---------- */
.ab-who-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.ab-who h2 { font-size: clamp(27px, 3.2vw, 38px); }
.ab-who p { color: var(--slate); font-size: 16.5px; margin: 16px 0 0; }
.ab-who-art {
  background: var(--signal-tint); border-radius: 24px; padding: 28px;
  box-shadow: 0 20px 50px rgba(21,26,34,0.10);
}
.ab-who-art svg { width: 100%; height: auto; }

/* ---------- stats ---------- */
.ab-stats { background: var(--paper-dim); }
.ab-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ab-stat {
  background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 30px 20px;
  text-align: center; box-shadow: 0 6px 20px rgba(21,26,34,0.05);
}
.ab-stat-num { display: block; font-size: clamp(32px, 4vw, 46px); font-weight: 800; color: var(--signal); letter-spacing: -0.02em; line-height: 1.1; }
.ab-stat-label { display: block; margin-top: 8px; color: var(--slate); font-size: 15px; font-weight: 500; }

/* ---------- reviews ---------- */
.ab-carousel { position: relative; }
.ab-viewport { overflow: hidden; }
.ab-track { display: flex; transition: transform .5s ease; }
.ab-slide { flex: 0 0 calc(100% / var(--per-view, 1)); padding: 10px; }
.ab-card {
  height: 100%; background: #fff; border: 1px solid var(--paper-line); border-radius: 16px; padding: 28px;
  box-shadow: 0 8px 24px rgba(21,26,34,0.06); display: flex; flex-direction: column;
}
.ab-quote-mark { font-size: 44px; line-height: 1; color: var(--signal); font-family: Georgia, serif; }
.ab-card blockquote { margin: 6px 0 20px; color: var(--ink); font-size: 16px; flex: 1; }
.ab-card figcaption b { display: block; }
.ab-card figcaption span { color: var(--slate); font-size: 14px; }
.ab-card figcaption b .ab-sample { color: var(--slate); }
.ab-sample {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 99px; vertical-align: middle;
  background: var(--paper-dim); font: 600 11px var(--font-mono); letter-spacing: .08em;
}
.ab-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.ab-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--paper-line); background: #fff;
  color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.ab-arrow:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.ab-arrow:focus-visible, .ab-dot:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.ab-arrow svg { width: 18px; height: 18px; }
.ab-dots { display: flex; gap: 4px; }
.ab-dot { width: 24px; height: 24px; background: none; border: 0; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ab-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #c9ccd2; transition: background .2s, transform .2s; }
.ab-dot[aria-current="true"]::before { background: var(--signal); transform: scale(1.25); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .ab-tabs { grid-template-columns: repeat(2, 1fr); }
  .ab-tab:nth-child(2) { border-right: 0; }
  .ab-tab:nth-child(-n+2) { border-bottom: 1px solid var(--paper-line); }
  .ab-panel-row { flex-direction: column; align-items: stretch; text-align: center; gap: 20px; }
  .ab-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ab-who-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .ab-hero { padding: 48px 0 40px; }
  .ab-tabs { grid-template-columns: 1fr; }
  .ab-tab { justify-content: flex-start; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--paper-line); margin: 0; }
  .ab-tab[aria-selected="true"] { box-shadow: inset 3px 0 0 var(--signal); border-bottom-color: var(--paper-line); }
  .ab-panel-row { padding: 22px 20px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-track, .ab-tab, .ab-dot::before { transition: none; }
}
