/* ============================================================================
   ai-impact.css — AI Impact pillar: lane pages + story pages
   TheCatch.AI · REQ-034
   White broadsheet ground; extends broadsheet.css tokens.
   ============================================================================ */

/* ---- page shell ---- */
.ai-impact-page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
}

/* ---- sticky deck (masthead) ---- */
.ai-deck {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px,4vw,40px);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
}
.ai-back {
  font-family: var(--label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
}
.ai-back:hover { color: var(--ink); }
.ai-brand {
  font-family: var(--display);
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 auto;
}
.ai-brand span { color: var(--slate); }
.ai-kicker {
  font-family: var(--label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---- lane page wrapper ---- */
.ai-lane-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(32px,5vw,60px) clamp(16px,4vw,28px) 100px;
}

/* ---- lane header ---- */
.ai-lane-eyebrow {
  font-family: var(--label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 10px;
}
.ai-lane-h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(48px,9vw,96px);
  line-height: .9;
  text-transform: uppercase;
  margin: 0 0 .12em;
  letter-spacing: -.01em;
}
.ai-lane-tagline {
  font-family: var(--serif);
  font-size: clamp(17px,2.2vw,22px);
  line-height: 1.5;
  color: var(--slate);
  max-width: 66ch;
  margin: 0 0 28px;
}
.ai-lane-rule {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 0 0 32px;
}

/* ---- lane intro block (authored verbatim) ---- */
.ai-lane-intro {
  font-family: var(--serif);
  font-size: clamp(16px,1.9vw,19px);
  line-height: 1.68;
  max-width: 72ch;
  margin: 0 0 40px;
  border-left: 4px solid var(--ink);
  padding-left: 20px;
}
.ai-lane-intro .ai-trace {
  display: block;
  font-family: var(--label);
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 14px;
}

/* ---- story grid ---- */
.ai-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  margin: 0 0 48px;
  border: 2px solid var(--ink);
}

/* ---- story card ---- */
.ai-story-card {
  display: block;
  background: var(--paper);
  padding: 24px 22px 20px;
  border: none;
  text-decoration: none;
  color: var(--ink);
  transition: background .18s ease;
  position: relative;
}
.ai-story-card:hover {
  background: var(--cream);
}
.ai-story-card.positive {
  background: var(--cream);
}
.ai-story-card.positive:hover {
  background: var(--mist);
}
.ai-card-franchise {
  font-family: var(--label);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 8px;
}
.ai-card-headline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(16px,2.2vw,22px);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.ai-card-dek {
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0 0 14px;
}
.ai-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ai-verdict {
  font-family: var(--label);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 9px;
  color: #fff;
}
.verdict-human       { background: #7a2222; }
.verdict-positive    { background: #3a6b4f; }
.verdict-split       { background: #5a5a3a; }
.verdict-tool        { background: #2a4a7a; }
.ai-card-tag {
  font-family: var(--label);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--slate);
}

/* ---- hero placeholder ---- */
.hero-placeholder {
  width: 100%;
  aspect-ratio: 1216 / 832;
  background: var(--cream);
  border: 2px dashed var(--ash);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--label);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 32px;
}

/* ---- curated story hero (REQ-042) ---- */
.ai-story-hero {
  width: 100%;
  margin: 0 0 32px;
  padding: 0;
}
.ai-story-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1216 / 832;
  object-fit: cover;
}

/* ---- story page ---- */
.ai-story-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px,5vw,56px) clamp(16px,4vw,28px) 100px;
}
.ai-story-franchise {
  font-family: var(--label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 10px;
}
.ai-story-h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(32px,6vw,58px);
  line-height: .95;
  text-transform: uppercase;
  margin: 0 0 .2em;
}
.ai-story-dek {
  font-family: var(--serif);
  font-size: clamp(16px,2vw,20px);
  line-height: 1.55;
  color: var(--slate);
  max-width: 62ch;
  margin: 0 0 10px;
  font-style: italic;
}
.ai-story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--mist);
}
.ai-story-tag {
  font-family: var(--label);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---- article body ---- */
.ai-article {
  font-family: var(--serif);
  font-size: clamp(16px,1.8vw,18.5px);
  line-height: 1.72;
  color: var(--ink);
}
.ai-article p { margin: 0 0 1.3em; }
.ai-article h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(18px,2.4vw,24px);
  text-transform: uppercase;
  margin: 2em 0 .6em;
  letter-spacing: .02em;
}
.ai-article blockquote {
  border-left: 4px solid var(--ink);
  margin: 1.5em 0;
  padding: .5em 1em .5em 1.25em;
  font-style: italic;
  color: var(--graphite);
}
.ai-article strong { font-weight: 600; }

/* ---- verify-hold — the credibility gate ---- */
.verify-hold {
  background: #fff3cd;
  border: 1px solid #d4a017;
  border-radius: 2px;
  padding: 1px 5px;
  font-family: var(--label);
  font-size: .85em;
  font-weight: 700;
  font-style: normal;
  color: #7a5500;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* ---- verify-chip — flagship unverified marker (REQ-041) ---- */
/* Figures stay visible; chip flags pending source check. Author clears via verify pass. */
.verify-chip {
  display: inline-block;
  font-family: var(--label);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a5c12;
  background: #faf3dc;
  border: 1px solid #e6d59d;
  border-radius: 3px;
  padding: 1px 6px;
  margin: 0 3px;
  vertical-align: .18em;
  white-space: nowrap;
}

/* ---- verdict block ---- */
.ai-verdict-block {
  background: var(--cream);
  border-top: 3px solid var(--ink);
  padding: 22px 24px;
  margin: 2.5em 0;
}
.ai-verdict-label {
  font-family: var(--label);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 8px;
}
.ai-verdict-text {
  font-family: var(--serif);
  font-size: clamp(15px,1.8vw,17.5px);
  line-height: 1.6;
  margin: 0;
}

/* ---- receipts (source list) ---- */
.ai-receipts {
  border-top: 1px solid var(--mist);
  padding-top: 20px;
  margin-top: 40px;
}
.ai-receipts-label {
  font-family: var(--label);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 10px;
}
.ai-receipts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ai-receipts li {
  font-family: var(--label);
  font-size: 12.5px;
  color: var(--slate);
  padding: 5px 0;
  border-bottom: 1px solid var(--mist);
}
.ai-receipts li:last-child { border-bottom: none; }

/* ---- flagship placeholder card ---- */
.ai-flagship-slot {
  border: 2px dashed var(--ash);
  padding: 30px 24px;
  margin: 32px 0;
  text-align: center;
}
.ai-flagship-slot-label {
  font-family: var(--label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 8px;
}
.ai-flagship-slot-title {
  font-family: var(--display);
  font-size: clamp(18px,2.4vw,26px);
  text-transform: uppercase;
  color: var(--ash);
  margin: 0;
}

/* ---- back-nav at bottom ---- */
.ai-back-nav {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--mist);
}
.ai-back-nav a {
  font-family: var(--label);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
}
.ai-back-nav a:hover { color: var(--ink); }

/* ---- human & machine link card ---- */
.ai-hm-card {
  display: block;
  background: var(--cream);
  border: 2px solid var(--ink);
  padding: 24px;
  margin: 32px 0 0;
  text-decoration: none;
  color: var(--ink);
  transition: background .15s ease;
}
.ai-hm-card:hover { background: var(--mist); }
.ai-hm-card-label {
  font-family: var(--label);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 6px;
}
.ai-hm-card-title {
  font-family: var(--display);
  font-size: clamp(18px,2.5vw,28px);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.ai-hm-card-body {
  font-size: 14.5px;
  color: var(--slate);
  margin: 0;
}

/* ============================================================================
   ARTICLE SHELL (REQ-036) — full site width, 3-region grid
   LEFT rail "More in <lane>" · CENTRE article (~46rem) · RIGHT rail "Across the site"
   Mirrors the build-tech-stack.py .ts-shell pattern.
   ============================================================================ */

.ai-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);  /* REQ-078d: 1/3 left + 2/3 right standard, no right rail */
  gap: 0;
  padding: clamp(32px,5vw,56px) var(--edge, clamp(18px,3.5vw,56px)) 100px;
}

.ai-rail {
  min-width: 0;
}
.ai-rail.left {
  padding-right: clamp(16px,2vw,30px);
}
.ai-rail.right {
  padding-left: clamp(16px,2vw,30px);
  border-left: 1px solid var(--mist);
}
.ai-rail.left .inner {
  border-right: 1px solid var(--mist);
  padding-right: clamp(16px,2vw,30px);
  margin-right: -1px;
}
.ai-rail-h {
  font-family: var(--label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--slate);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 8px;
  margin: 0 0 4px;
}

/* rail link cards */
.ai-rl {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--mist);
  text-decoration: none;
  color: var(--ink);
}
.ai-rl:first-of-type { border-top: 0; }
.ai-rl-k {
  font-family: var(--label);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hot, #7a2222);
}
.ai-rl-t {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.25;
  margin: .25em 0 0;
}
.ai-rl:hover .ai-rl-t { color: var(--hot, #7a2222); }

/* REQ-078c(B): compact HYPE rail card (text left + small image right) — matches landing + build-articles article rail */
.ai-rail .hype {
  display: grid;
  grid-template-columns: 1fr clamp(72px, 26%, 92px);
  align-items: stretch;
  min-height: 74px;
  border: 1px solid #e4e0d8;
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .15s, transform .2s;
}
.ai-rail .hype:hover { border-color: #0c0b0a; transform: translateY(-1px); box-shadow: 0 10px 22px -16px rgba(0,0,0,.4); }
.ai-rail .hype-txt { padding: 9px 11px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ai-rail .hype-t {
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 14px; line-height: 1.12;
  text-transform: uppercase; letter-spacing: .01em; color: #0c0b0a; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ai-rail .hype:hover .hype-t { color: #cc3735; }
.ai-rail .hype-d {
  font-family: "Source Serif 4", Georgia, serif; font-size: 11px; line-height: 1.3; color: #6b6459; margin: .3em 0 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ai-rail .hype-img { position: relative; background: #05070A; overflow: hidden; }
.ai-rail .hype-img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.ai-rail .hype:hover .hype-img img { transform: scale(1.05); }
.ai-rail .hype.noimg { grid-template-columns: 1fr; min-height: 0; }
.ai-rl-d {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--slate);
  margin: .3em 0 0;
}

/* pulse mini */
.ai-pulse {
  border: 1px solid var(--mist);
  background: var(--cream);
  padding: 14px 16px;
  margin: 0 0 18px;
}
.ai-pulse-k {
  font-family: var(--label);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--slate);
}
.ai-pulse-h {
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: .3em 0 .4em;
}
.ai-pulse-v {
  font-family: var(--label);
  font-size: 12px;
  color: var(--slate);
}
.ai-pulse a {
  font-family: var(--label);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hot, #7a2222);
}

/* centre column gets the story/lane content with correct padding */
.ai-shell-art {
  min-width: 0;
  padding: 0 clamp(18px,2.5vw,36px);
}

/* responsive: collapse to single column below ~1100px */
@media (max-width: 1100px) {
  .ai-shell {
    grid-template-columns: 1fr;
  }
  .ai-shell-art {
    padding: 0;
  }
  .ai-rail.left {
    order: 2;
    padding: 0;
    margin-top: 34px;
  }
  .ai-rail.left .inner {
    border-right: 0;
    padding-right: 0;
    margin-right: 0;
  }
  .ai-rail.right {
    order: 3;
    padding: 0;
    border-left: 0;
    margin-top: 34px;
  }
  /* lane pages stay single-column max-width centred */
  .ai-lane-wrap {
    max-width: 100%;
  }
}

/* ---- responsive ---- */
@media (max-width: 640px) {
  .ai-story-grid { grid-template-columns: 1fr; }
  .ai-deck { gap: 10px; }
  .ai-kicker { display: none; }
}
