/* "Fewer cards" variant of the v7 case studies. Loaded after case.css.
   Only screenshots keep a background. Points stay as white cards,
   chapter cards become plain headings, figure notes become short text columns. Remove this file's link to go back. */

/* chapters: a heading with a line above, no card */
.chapter { background: none; box-shadow: none; border-radius: 0; padding: 22px 0 0; border-top: 2px solid var(--ink); grid-template-columns: auto 1fr; align-items: baseline; gap: 10px 20px; }
.chapter-num { display: inline; width: auto; aspect-ratio: auto; border-radius: 0; background: none; color: var(--peri); font: 500 clamp(15px, 1.2vw, 18px) var(--mono); }
.chapter-title { font-size: clamp(38px, 4.4vw, 68px); }
.chapter-tabs { gap: 4px 0; padding-top: 4px; }
.chapter-tabs li { padding: 0; background: none; border-radius: 0; font: 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.chapter-tabs li + li::before { content: "·"; margin: 0 12px; color: var(--line); }

/* points stay as cards, all white: the periwinkle highlight implied an importance it did not have */
.panel-head { margin-bottom: 18px; }
.card.dark { background: var(--white); color: var(--ink); box-shadow: 0 6px 24px rgba(40, 50, 140, .05); }
.card.dark h3 { color: var(--ink); }
.card.dark .num { background: var(--peri-soft); color: var(--peri); }
.card.dark p { color: var(--soft); }
.card.dark.stat .num { color: var(--ink); background: none; }

/* notes under a screenshot: short text columns, no boxes */
.callouts { gap: 28px; margin-top: 26px; }
.callouts li { padding: 14px 0 0; border-radius: 0; background: none; border-top: 2px solid var(--peri); }
.callouts .num { margin-bottom: 10px; }
.callouts h3 { font-size: 19px; }

/* requirement map and steps: lines instead of panels */
.map { background: none; border-radius: 0; border-top: 1px solid var(--line); }
.map > div { padding: 18px 0; }
.map > div:last-child { border-bottom: 1px solid var(--line); }
.steps { gap: 0 20px; }
.steps li { padding: 16px 0 0; border-radius: 0; background: none; border-top: 2px solid var(--peri); }

/* client quote: no box */
figure.quote { padding: 0 0 0 26px; border-radius: 0; background: none; border-left: 4px solid var(--peri); }

/* project facts in the hero: keep the boxed table from case.css; an odd last item spans the full row so no empty cell shows */
.meta > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .chapter { grid-template-columns: 1fr; }
}
