/* ============================================
   AM OPS HUB CASE STUDY — page-specific
   Loads after case-study.css. Adds the animated
   arc diagram frame, the tile catalogue, the
   screenshot frames (real + "swap for" slots),
   the access "two doors", and the win moment.
   ============================================ */

/* hero accent word */
.cs-hero h1 em { font-style: normal; color: var(--accent); }

/* ─── FIGURE PANEL (light, holds the am-diagram) ─── */
.cs-fig {
  margin: 40px 0 0;
  background: var(--warm);
  border: 1px solid var(--faint);
  border-radius: 8px;
  padding: 26px 22px 18px;
}
.cs-fig > svg { width: 100%; height: auto; display: block; }
.cs-fig-cap {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ─── SCREENSHOT FRAMES ─── */
/* .shot holds a real capture; .shot-ph is the labelled placeholder that
   holds the slot at true proportions until the capture exists. Never a
   blank grey box — hairline warm frame, faint glyph, "Swap for:" caption
   naming exactly which screen goes there. */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
.shot { margin: 0; }
.shot img {
  width: 100%; display: block;
  border-radius: 5px; border: 1px solid var(--faint);
}
.shot-ph {
  border: 1px solid var(--faint);
  background: var(--warm);
  border-radius: 5px;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}
.shot-ph svg {
  width: 34px; height: 34px;
  stroke: var(--faint); stroke-width: 1.4; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.shot-ph b {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--mid);
}
.shot-ph small {
  font-size: 11.5px;
  color: var(--mid);
  opacity: .8;
  max-width: 34ch;
  line-height: 1.5;
}
.shot-cap {
  margin: 14px 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--mid);
}

/* screenshots inside the sticky-steps artefact panel */
.ss-art-card img {
  width: 100%; display: block;
  border-radius: 5px; border: 1px solid var(--faint);
  margin-top: 2px;
}
.ss-art-card .shot-ph { margin-top: 2px; }

/* ─── TILE CATALOGUE (every view in the hub) ─── */
.tile-group { margin-top: 40px; }
.tile-group-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 500;
  margin-bottom: 14px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.tile {
  background: var(--warm);
  border: 1px solid var(--faint);
  border-radius: 6px;
  padding: 18px 20px;
}
.tile h3 {
  font-size: 15px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.tile p { font-size: 13.5px; margin-bottom: 0; }
.tile-kind {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 3px 7px;
  border: 1px solid var(--faint);
  background: var(--paper);
  color: var(--mid);
}
.tile-kind.ai { border-color: var(--accent-text); color: var(--accent-text); }

/* ─── ACCESS DOORS ─── */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0;
}
.door {
  background: var(--warm);
  border: 1px solid var(--faint);
  border-radius: 8px;
  padding: 24px;
}
.door-ico {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--faint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.door-ico svg {
  width: 24px; height: 24px;
  stroke: var(--accent); stroke-width: 1.7; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
}
.door h3 { font-size: 16px; margin-bottom: 8px; }
.door p { font-size: 14px; margin-bottom: 0; }

/* ─── WIN MOMENT (monkey + outcome heading) ─── */
.cs-win { display: flex; align-items: flex-end; gap: 18px; }
.cs-win h2 { margin-bottom: 0; }
.cs-win .cs-win-monkey { width: 54px; flex: none; }
.cs-win .cs-win-monkey svg { width: 100%; height: auto; display: block; }

@media (max-width: 860px) {
  .shots { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tiles, .doors, .shots { grid-template-columns: 1fr; }
}
