/* Carey Creative — AI vs. a real team page (/ai-vs-agency/), plus the
   homepage "People + AI" section. Loads after services.css and home.css,
   which hold the shared sections, cards and buttons. */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ai-hero { padding: 100px 0 120px; }
.ai-hero__title em, .ai-italic em, .people-ai .h2 em { font-style: italic; font-weight: 500; }
.ai-hero__title { font-weight: 400; font-size: clamp(44px, 6.4vw, 84px); line-height: 1.05; }
.ai-hero .hero__lede { font-size: 17px; }

.ai-split { align-items: start; }
.ai-copy { gap: 16px; }
.ai-copy .body-copy { font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.ai-center { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* ---------- Comparison table ---------- */
.compare {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-card);
}
.compare__row {
  display: grid;
  grid-template-columns: minmax(140px, .7fr) 1fr 1.25fr;
  border-top: 1px solid var(--border-subtle);
}
.compare__row:first-child { border-top: none; }
.compare__row > span { padding: 18px 24px; font-size: 15px; line-height: 1.55; }
.compare__topic { font-weight: 700; color: var(--text-primary); }
.compare__ai { color: var(--text-secondary); }
.compare__us { background: var(--accent-tint); color: var(--text-primary); }
.compare__row--head > span {
  padding-top: 16px; padding-bottom: 16px;
  font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase;
}
.compare__row--head .compare__ai { color: var(--text-muted); }
.compare__row--head .compare__us { background: var(--indigo-500); color: var(--paper); }
.compare__label { display: none; }

@media (max-width: 720px) {
  .compare__row--head { display: none; }
  .compare__row { grid-template-columns: 1fr; padding: 4px 0; }
  .compare__row > span { padding: 10px 20px; }
  .compare__topic { padding-top: 18px !important; font-family: var(--font-display); font-size: 18px !important; }
  .compare__us { margin: 0 12px 14px; border-radius: var(--radius-sm); }
  .compare__label {
    display: block; margin-bottom: 4px;
    font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-muted);
  }
  .compare__us .compare__label { color: var(--indigo-700); }
}

/* ---------- Experience ---------- */
.ai-person__role { font-size: var(--text-xs); font-weight: 700; letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--accent-secondary); }
.ai-sublabel { margin: 8px 0 -24px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.ai-proofs { max-width: none; }

/* ---------- How we use AI ---------- */
.ai-list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ai-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.ai-list li::before { content: "→"; position: absolute; left: 0; color: var(--indigo-500); font-weight: 700; }
.ai-list--check li { color: var(--text-primary); }
.ai-list--check li::before { content: "✓"; color: var(--orange-700, var(--orange-500)); }

/* ---------- Promises ---------- */
.ai-promise { flex-direction: row; align-items: flex-start; gap: 14px; }
.ai-promise__mark {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint); color: var(--accent-secondary); font-weight: 700;
}
.ai-promise__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-secondary); }
.ai-promise__text strong { color: var(--text-primary); }

/* ---------- Is AI enough? ---------- */
.ai-honest .fit-card { min-height: 0; padding: 40px 32px; gap: 16px; justify-content: flex-start; }
.ai-honest .body-copy { font-size: 16px; color: var(--text-secondary); }
.ai-honest__note .body-copy { color: var(--ink-800); font-size: 16px; }

/* ---------- Homepage: People + AI ---------- */
.people-ai { padding: 100px 24px 110px; }
.people-ai__note { max-width: 760px; margin: 0 auto; text-align: center; }
.people-ai__note .body-copy { font-size: 14px; color: var(--text-muted); }
.people-ai__note a { font-weight: 600; }
.people-ai__cta { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: center; align-items: center; }
.people-ai__cta-note { font-size: 14px; font-style: italic; color: var(--text-secondary); }
