/* =========================================================
   Applied AI — site styles
   New file for the brand refresh. Layered on top of custom.css.
   ========================================================= */

:root {
  /* Brand palette — derived from YouTube channel art.
     Restrained: warm-black + warm off-white do the heavy lifting,
     rust is the single accent and is used sparingly. */
  --aai-ink: #2c2c2c;          /* warm near-black — primary dark */
  --aai-ink-soft: #4a4642;     /* warm body text */
  --aai-muted: #7a7470;        /* warm muted (meta, captions) */
  --aai-accent: #a0522d;       /* rust — single accent, used sparingly */
  --aai-accent-deep: #7d3e1e;  /* rust hover/active deeper tone */
  --aai-accent-soft: #c98060;  /* rust tinted for dark-bg eyebrows */
  --aai-line: #e8e2d6;         /* warm hairline */
  --aai-surface: #ffffff;
  --aai-surface-soft: #f5f1eb; /* warm off-white — section bg */
}

/* Placeholder blocks — visible during the refresh cycle.
   Anywhere you see this styling, the copy is awaiting Jaden's approval.
   See COPY-TODOS.md for the inventory. */
[data-approval="pending"] {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: #fff8db;
  border: 1px dashed #d4a017;
  border-radius: 4px;
  color: #6b4f00;
  font-style: italic;
  font-size: 0.95em;
  line-height: 1.4;
}

[data-approval="pending"]::before {
  content: "TODO ";
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  font-size: 0.85em;
  margin-right: 0.35rem;
  color: #8a6a00;
}

.copy-block[data-approval="pending"] {
  display: block;
  margin: 0.5rem auto;
  max-width: 100%;
}

/* Top nav */
.aai-nav {
  border-bottom: 1px solid var(--aai-line);
  background: #ffffffcc;
  backdrop-filter: saturate(180%) blur(10px);
}
.aai-nav-link {
  color: var(--aai-ink-soft);
  font-weight: 500;
  transition: color 0.15s ease;
}
.aai-nav-link:hover {
  color: var(--aai-accent);
}
.aai-nav-link.is-active {
  color: var(--aai-ink);
  font-weight: 600;
}

/* Buttons */
.aai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.aai-btn-primary {
  background: var(--aai-ink);
  color: #ffffff;
}
.aai-btn-primary:hover {
  background: var(--aai-accent-deep);
}
.aai-btn-secondary {
  background: transparent;
  color: var(--aai-ink);
  border-color: var(--aai-ink);
}
.aai-btn-secondary:hover {
  background: var(--aai-ink);
  color: #ffffff;
}
.aai-btn-ghost {
  background: transparent;
  color: var(--aai-ink-soft);
  padding: 0.6rem 0;
}
.aai-btn-ghost:hover {
  color: var(--aai-accent);
}

/* Fork cards on homepage */
.aai-fork-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--aai-line);
  background: var(--aai-surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.aai-fork-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.15);
}
.aai-fork-card--enterprise {
  background: var(--aai-ink);
  color: #ffffff;
  border-color: var(--aai-ink);
}
.aai-fork-card--enterprise:hover {
  border-color: var(--aai-accent);
}
.aai-fork-card--newsletter {
  background: var(--aai-surface);
}
.aai-fork-card--newsletter:hover {
  border-color: var(--aai-accent);
}
.aai-fork-card .aai-fork-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.75rem;
  opacity: 0.7;
}
.aai-fork-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

/* Section utilities */
.aai-section {
  padding: 5rem 1rem;
}
@media (min-width: 768px) {
  .aai-section { padding: 6rem 2rem; }
}
.aai-container {
  max-width: 1120px;
  margin: 0 auto;
}
.aai-container--narrow {
  max-width: 760px;
  margin: 0 auto;
}
.aai-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--aai-accent);
  margin-bottom: 1rem;
}
.aai-h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--aai-ink);
  margin-bottom: 1rem;
}
.aai-lede {
  font-size: 1.125rem;
  color: var(--aai-ink-soft);
  line-height: 1.6;
}

/* Process steps */
.aai-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--aai-line);
}
.aai-step:last-child { border-bottom: 1px solid var(--aai-line); }
.aai-step-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--aai-accent);
  font-variant-numeric: tabular-nums;
}
.aai-step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--aai-ink);
}

/* Past-experience strip (text-only, replaces the old logo wall) */
.aai-experience {
  font-size: clamp(1.25rem, 2.2vw, 1.625rem);
  line-height: 1.5;
  color: var(--aai-ink-soft);
  font-weight: 400;
}
.aai-experience-co {
  color: var(--aai-ink);
  font-weight: 600;
  white-space: nowrap;
}

/* Logo wall (legacy — kept for reference; not used after the text-only pivot) */
.aai-logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
  align-items: center;
  justify-items: center;
}
@media (min-width: 640px) {
  .aai-logo-wall { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1024px) {
  .aai-logo-wall { grid-template-columns: repeat(8, 1fr); }
}
.aai-logo-wall img {
  max-height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.aai-logo-wall img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Pricing callout (workshops) */
.aai-pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2.5rem 2rem;
  border: 1px solid var(--aai-line);
  border-radius: 16px;
  background: var(--aai-surface-soft);
  text-align: center;
}
.aai-pricing-anchor {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--aai-ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.aai-pricing-anchor span {
  color: var(--aai-accent);
}

/* Outcomes list */
.aai-outcomes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .aai-outcomes { grid-template-columns: 1fr 1fr; }
}
.aai-outcome {
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--aai-surface-soft);
  border: 1px solid var(--aai-line);
}
.aai-outcome-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--aai-ink);
}

/* Testimonial card */
.aai-testimonial {
  padding: 2rem;
  border-radius: 16px;
  background: var(--aai-surface);
  border: 1px solid var(--aai-line);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.aai-testimonial-body {
  color: var(--aai-ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.aai-testimonial-attr {
  font-size: 0.875rem;
  color: var(--aai-muted);
  margin-top: auto;
}

/* Footer */
.aai-footer {
  background: var(--aai-ink);
  color: #d1d5db;
  padding: 3rem 1rem 2rem;
}
.aai-footer a { color: #ffffff; }
.aai-footer a:hover { color: var(--aai-accent); }
.aai-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto 2rem;
}
@media (min-width: 768px) {
  .aai-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.aai-footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.aai-footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 1.5rem;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
}
@media (min-width: 768px) {
  .aai-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Hero */
.aai-hero {
  padding: 4rem 1rem 3rem;
}
@media (min-width: 768px) {
  .aai-hero { padding: 6rem 2rem 4rem; }
}
.aai-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1120px;
  margin: 0 auto;
  align-items: center;
}
@media (min-width: 900px) {
  .aai-hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.aai-hero-lockup {
  max-width: 280px;
  height: auto;
  margin-bottom: 1.5rem;
}
.aai-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--aai-ink);
  margin-bottom: 1.25rem;
}

/* Split H1 — brand line + tagline (used on homepage hero) */
.aai-hero-h1 {
  margin-bottom: 0.5rem;
}
.aai-hero-h1-brand {
  display: block;
  font-weight: 800;
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--aai-ink);
}
.aai-hero-h1-tag {
  display: block;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: var(--aai-ink-soft);
  margin-top: 0.5rem;
  line-height: 1.3;
}

/* Whisper — italicized parenthetical aside in muted tone */
.aai-whisper {
  font-size: 0.95rem;
  color: var(--aai-muted);
  font-style: italic;
  line-height: 1.5;
}
.aai-hero-byline {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aai-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.aai-hero-portrait {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 16px;
  margin-left: auto;
  display: block;
}

/* Workshop hero (no portrait) */
.aai-page-hero {
  padding: 5rem 1rem 3rem;
  text-align: left;
  border-bottom: 1px solid var(--aai-line);
}
@media (min-width: 768px) {
  .aai-page-hero { padding: 7rem 2rem 4rem; }
}
.aai-page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--aai-ink);
  margin-bottom: 1rem;
}
