/* r18 places (owner: pixel): the Demo project page (/dev/<id>/projects/<id>), the University (/university), the Employment Agency (/agency), and the two
   place buildings on the City map. Linked by those pages only, after site.css (budgets.mjs PAGE_CSS). Numbers sit on solid slabs. */
.v3 .pl { display: grid; gap: var(--s-7); }
.v3 .pl-hero { display: grid; gap: var(--s-5); }
.v3 .pl-art, .v3 .pj-hero .pj-art { margin-inline: calc(-1 * var(--gutter)); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.v3 .pl-art img, .v3 .pj-art img { display: block; width: 100%; height: auto; }
.v3 .pl-art img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 35% 50%; }
.v3 .pl-h1 { font-size: var(--t-h1); line-height: 1.12; letter-spacing: -0.03em; }
.v3 .pl-lede { font-size: var(--t-stat); line-height: var(--lh-read); color: var(--fg); max-width: 40rem; margin-top: var(--s-3); }
.v3 .pl-band, .v3 .pl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-4); color: var(--fgl); }
.v3 .pl-band { padding: var(--s-3) var(--s-4); background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r-sheet); max-width: 40rem; }
.v3 .pl-sec h2 { font-size: var(--t-h2); margin-bottom: var(--s-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.v3 .pl-sec h3 { font-size: var(--t-h3); margin: var(--s-5) 0 var(--s-3); }
.v3 .pl-sec p { color: var(--fgl); max-width: 44rem; } .v3 .pl-sec p + p { margin-top: var(--s-3); }
.v3 .pl-how { display: grid; gap: var(--s-3); padding-inline-start: 1.4em; max-width: 46rem; color: var(--fgl); }
.v3 .pl-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.v3 .pl-rows li, .v3 .pl-role, .v3 .pl-fig > div { background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r-sheet); padding: var(--s-3) var(--s-4); color: var(--fgl); overflow-wrap: anywhere; }
.v3 .pl-r { display: block; color: var(--mu); font-size: var(--t-small); margin-top: 2px; }
.v3 .pl-cat { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr)); }
.v3 .pl-role h3 { font-size: var(--t-body); margin: 0 0 var(--s-2); color: var(--fg); }
.v3 .pl-role ul { list-style: none; margin: 0; padding: 0; color: var(--fgl); font-size: var(--t-small); line-height: 1.7; }
.v3 .pl-fig { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.v3 .pl-fig dt { color: var(--mu); font-size: var(--t-small); } .v3 .pl-fig dd { color: var(--fg); font-weight: var(--w-strong); font-size: var(--t-h3); }
.v3 .pl-two { display: grid; gap: var(--s-7); }
.v3 .pl-tag { font-size: var(--t-small); color: var(--mu); } .v3 .pl-tag[data-on="true"] { color: var(--warm-amber-text); }
.v3 .pl-back { margin: 0; }
.v3 .pj-kick { color: var(--mu); font-size: var(--t-small); }
.v3 .pj-st { color: var(--warm-amber-text); font-weight: var(--w-strong); }
.v3 .pj-ms { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.v3 .pj-ms li { display: grid; gap: 2px; padding: var(--s-3) var(--s-4); background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r-sheet); }
.v3 .pj-mn { color: var(--fg); font-weight: var(--w-strong); } .v3 .pj-mw { color: var(--mu); font-size: var(--t-small); }
.v3 .pj-bar { display: block; height: 4px; background: var(--sf3); border-radius: 2px; overflow: hidden; } .v3 .pj-bar span { display: block; height: 100%; background: var(--warm-amber); }
@media (min-width: 64em) {
  .v3 .pl-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
  .v3 .pl-art, .v3 .pj-hero .pj-art { margin: 0; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .v3 .pl-art img { aspect-ratio: 1920 / 1086; }
  .v3 .pl-two { grid-template-columns: 1fr 1fr; }
}
/* the City: the University and the Employment Agency as two special places on the painted plate (r18 cut-outs, measured open ground) */
.v3 .city-places { pointer-events: none; }
.v3 .cpl { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 6.5%; transform: translate(-50%, -88%); pointer-events: auto; display: block; border-radius: 12px; }
.v3 .cpl img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 8px rgb(15 12 24 / .55)); }
.v3 .cpl-t { position: absolute; left: 50%; top: 92%; transform: translateX(-50%) scale(var(--iz, 1)); transform-origin: 50% 0; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 3px 8px; border: 1px solid rgba(255,182,92,.32); border-radius: 8px; background: rgb(23 18 31 / .9); color: var(--fg); font: var(--w-strong) 12px/1.2 var(--sans); }
.v3 .cpl-t .chip { font-size: 10px; padding: 0 4px; min-height: 0; }
.v3 .cpl:hover img, .v3 .cpl:focus-visible img { filter: drop-shadow(0 0 10px rgb(255 182 92 / .8)); }
.v3 .cpl:focus-visible { outline: 2px solid var(--warm-amber-text); outline-offset: 2px; }
/* phones: until the map is zoomed in, the two labels stay out of sight (kept as the link names) so they never cover each other or the frontier plate */
@media (max-width: 47.99em) { .v3 .city-map:not([data-near]) .cpl-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
