/* P3+4 · page-specific pieces on top of the v4 system (../../shared/cs/style.css) */

/* Hero: Harish's purple image (Figma 47:6768 / 47:6793), plain cover fit */
.hero .hero-img { top: 0; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* Research · stage scorecard (stands in for the photo tiles) */
.score { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.sc {
  min-height: 194px; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 20px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.sc-n { font: 500 12px/16px var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.sc-t { font: 500 18px/24px var(--sans); color: #000; letter-spacing: -0.01em; }
.stars { display: flex; gap: 4px; }
.stars i { width: 16px; height: 16px; background: #E6E2DA; clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.r5 .stars i.f { background: var(--green); }
.r2 .stars i.f { background: var(--amber); }
.r1 .stars i.f { background: var(--red); }
.sc-d { margin-top: auto; font-size: 14px; line-height: 20px; color: var(--muted); }

/* Research · findings pills reuse .myths; just space the longer pills */
.findings .myth { font-size: 18px; }

/* Decision 01 · readout cards */
.readout { padding: 24px; display: grid; gap: 12px; }
.ro-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; display: grid; gap: 6px; justify-items: start; }
.ro-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--sans); letter-spacing: .02em; }
.ok .ro-chip { background: #E3F1E8; color: var(--green); }
.gap .ro-chip { background: #FCEFD9; color: #8A5200; }
.crit .ro-chip { background: var(--myth-bg); color: var(--myth); }
.ro-stage { font-size: 12px; line-height: 16px; color: var(--muted); }
.ro-txt { font-size: 14px; line-height: 22px; color: #000; }
.ro-cap { font-size: 12px; line-height: 18px; color: var(--muted); }

/* Decision 02 · 16 fixes, 9 shipped */
.fixes { padding: 24px; display: grid; gap: 16px; }
.fix-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fix-count { font: 700 24px/32px var(--serif); color: var(--green); }
.fix-count b { display: inline-block; min-width: 1ch; font-weight: 700; text-align: right; }
.fix-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.fix-key i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.fix-key i + * { margin-right: 4px; }
.fix-key .k-on { background: var(--green); }
.fix-key .k-off { border: 1px dashed #A8A196; margin-left: 8px; }
.fix-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fix-g { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.fix-gt { font: 600 12px/16px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.fix-g ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fix-g li { position: relative; padding-left: 24px; font-size: 13px; line-height: 18px; color: #8A857C; transition: color .3s var(--ease); }
.fix-g li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border-radius: 50%;
  border: 1px dashed #A8A196; background: transparent; transition: background .3s var(--ease), border-color .3s var(--ease);
}
.fix-g li::after {
  content: ""; position: absolute; left: 5.5px; top: 4.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg); opacity: 0; transition: opacity .2s var(--ease);
}
.fix-g li.on { color: #000; }
.fix-g li.on::before { background: var(--green); border: 1px solid var(--green); }
.fix-g li.on::after { opacity: 1; }
.fix-g li.off { filter: blur(3.5px); opacity: .55; user-select: none; pointer-events: none; }

/* Decision 03 · Talk to a Student panel, exported from Figma (47:7022 / 47:7157) */
.tts-pic { display: block; border-radius: 16px; overflow: hidden; }
.tts-pic img { width: 100%; height: auto; display: block; }

/* Decision 03 · feature funnel */
.funnel { padding: 24px; display: grid; gap: 16px; }
.fn-row { display: grid; gap: 8px; }
.fn-l { font-size: 14px; line-height: 20px; color: #000; }
.fn-l b { font: 700 24px/28px var(--serif); color: var(--green); margin-right: 4px; }
.fn-l em { font-style: normal; color: var(--muted); margin-left: 6px; font-size: 13px; }
.fn-bar { display: block; height: 10px; border-radius: 999px; background: #E9E5DC; overflow: hidden; }
.fn-bar i { display: block; height: 100%; width: var(--w); background: var(--green); border-radius: 999px; transform-origin: 0 50%; }
.fn-cap { font-size: 12px; line-height: 18px; color: var(--muted); }

/* Results · caveat + two boards */
.caveat { margin-top: 24px; font-size: 12px; line-height: 18px; color: var(--muted); max-width: 688px; }
.fj-cap { margin: 40px 0 12px; font: 500 14px/20px var(--sans); color: var(--muted); }
.fj-cap + .figjam { margin-top: 0; }

/* Reflections · 3 learned over 3 differently, all equal (uses the base 3-column .dcards grid) */
.dcards.refl6 { grid-auto-rows: 1fr; }

@media (max-width: 1140px) {
  .score { gap: 20px; }
}
@media (max-width: 900px) {
  .score { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .score { grid-template-columns: 1fr; }
  .sc { min-height: 0; }
  .readout, .fixes, .funnel { padding: 24px 16px; }
  .fix-grid { grid-template-columns: 1fr; }
  .dcards.refl6 { grid-auto-rows: auto; }
  .hero .hero-img { width: 100%; object-position: 58% 50%; }
  .fj-cap { margin-top: 32px; }
}
