/* school.css - The school home: one school and its three doors, the other schools, and
   the numbers that only exist across schools. Was portfolio.css until the two pages
   became one on 7 Sep 2026; the .pf- prefix stays because renaming a working selector
   set buys nothing.
   Page scoped. Only this page loads it, so a phone opening Capture never parses
   the landing page hero. Shared chrome is assets/base.css; colours are ONLY ever
   tokens from assets/tokens.css. */

/* Portfolio · the school picker behind the school home. One centered column,
   one card per school, and almost no words. Echoes the .home- vocabulary. */
main { max-width: 640px; margin: 0 auto; }
.pf-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 48px 24px 64px;
}
.pf-title {
  font-size: clamp(28px, 5vw, 40px); font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink-1); margin-top: 10px; line-height: 1.15;
}
.pf-list { width: 100%; margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.pf-school {
  position: relative; background: var(--card); border-radius: 22px; padding: 24px;
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(46,45,44,0.07);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.pf-school:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(46,45,44,0.12); text-decoration: none; }
.pf-school b { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-1); transition: color 160ms ease; padding-right: 56px; }
.pf-school:hover b { color: var(--kz-red); }
.pf-meta { font-size: 13px; color: var(--ink-2); }
.pf-closed { position: absolute; top: 26px; right: 24px; font-size: 11.5px; color: var(--ink-3); }
.pf-new {
  border: 1.5px solid var(--grid); border-radius: 22px; padding: 20px 24px;
  text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; transition: color 160ms ease, border-color 160ms ease;
}
.pf-new:hover { color: var(--kz-red); border-color: var(--kz-red); text-decoration: none; }
.pf-across {
  width: 100%; margin-top: 44px; border: 1px solid var(--grid); border-radius: 22px;
  padding: 20px 24px; display: flex; flex-direction: column; gap: 8px;
}
.pf-across h2 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); margin: 0;
}
.pf-funnel { font-size: 14px; color: var(--ink-1); font-variant-numeric: tabular-nums; line-height: 1.7; }
.pf-compare { font-size: 13px; color: var(--ink-3); text-decoration: none; }
.pf-compare:hover { color: var(--kz-red); text-decoration: none; }
@media (max-width: 560px) {
  .pf-wrap { padding: 36px 16px 56px; }
  .pf-school { padding: 20px; }
  .pf-closed { top: 22px; right: 20px; }
}
