/* THROWAWAY SPIKE (2026-11-12, branch trust-carousel): the trust carousel, three more places the explorer reaches (the brief:
   docs/inputs/2026-11-12-brief-trust-carousel.md). design/places.js fills an empty
   <section class="band on-paper places" data-places="support,data,partners"></section>, as footer.js fills the footer.
   A band like any other (site.css 9.1): the words on the left, the picture on the right with its controls under it; on phones
   the picture first, then the controls, then the words, never the words over the picture. data-places-size="quiet": smaller. */
.band.places{padding-block:clamp(56px,6vw,88px)}
.places-in{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(28px,4.4vw,72px);align-items:center}

/* the words: every place's words in the page, stacked in one cell so the band keeps the tallest one's height and never jumps */
.places-words{display:grid}
.places-slide{grid-area:1/1;transition:opacity .28s ease}
.places-slide[aria-hidden="true"]{opacity:0;visibility:hidden}
.places-slide h2{font-size:clamp(28px,2.9vw,40px);margin:10px 0 12px}
.places-slide>p{margin:0 0 16px;font-size:16.5px;line-height:1.6;color:hsl(var(--text-soft))}
.places-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 18px;margin:0;font-size:15px;line-height:1.5}
.places-facts dt,.places-facts dd{padding:9px 0;border-top:1px solid hsl(var(--line))}
.places-facts dt{font-weight:750;color:hsl(var(--text))}
.places-facts dd{margin:0;color:hsl(var(--text-soft))}
.places-facts .planned{color:hsl(var(--chalk-ink))}
.places-slide .btn{margin-top:6px}

/* the picture: one strip of the world, its camera moved from place to place by the script (never by CSS) */
.places-pic{margin:0;min-width:0}
.places-svg{display:block;width:100%;height:auto;aspect-ratio:2/1;border-radius:24px;background:var(--world-mist);touch-action:pan-y;user-select:none;-webkit-user-select:none}
/* the drawing's words keep their own faces on a page whose stylesheet sets every svg text (cases.css): Inter, the notes in Sansita */
.places-svg text{font-family:Inter, system-ui, sans-serif}
.places-svg text[font-style="italic"]{font-family:Sansita, Georgia, serif}

/* the controls: back, the three places by name, on. The place in view is marked by an indigo rule over its name */
.places-nav{display:flex;align-items:stretch;gap:10px;margin-top:14px}
.places-step{flex:none;align-self:center;width:44px;height:44px;border-radius:50%;border:1px solid color-mix(in srgb,hsl(var(--depth-indigo)) 40%,white);background:rgba(255,255,255,.62);color:hsl(var(--depth-indigo));display:grid;place-items:center;padding:0}
.places-step svg{width:18px;height:18px;display:block}
.places-step:hover{background:#fff}
/* unavailable (the first place has no back, the last no next): the site's quiet paper (site.css .btn:disabled), never faded, since it
   keeps its place in the keyboard's order */
.places-step[aria-disabled="true"]{cursor:default;background:hsl(var(--paper-raised));border-color:hsl(var(--border));color:hsl(var(--ink-soft))}
.places-tabs{list-style:none;margin:0;padding:0;display:flex;flex:1;min-width:0;border-top:1px solid hsl(var(--line))}
.places-tabs li{flex:1;min-width:0}
.places-tabs button{width:100%;min-height:52px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:9px 10px 6px;margin-top:-1px;border:0;border-top:2px solid transparent;background:none;text-align:left;font-family:var(--font-display);font-size:17px;line-height:1.2;color:hsl(var(--text-soft))}
.places-tabs button span{font-family:var(--font-mono);font-size:11px;letter-spacing:.16em;color:hsl(var(--accent-text))}
.places-tabs button:hover{color:hsl(var(--text))}
.places-tabs button[aria-current="true"]{color:hsl(var(--text));border-top-color:hsl(var(--depth-indigo))}

@media (max-width:860px){
  .places-in{grid-template-columns:1fr;gap:22px}
  .places-pic{order:-1}
  .places-svg{aspect-ratio:4/3;border-radius:18px}
}
@media (max-width:520px){
  .places-nav{gap:6px}
  .places-tabs button{font-size:15px;padding:8px 6px 6px}
  .places-tabs button span{font-size:10px}
}

/* quiet (the Journal): a lower picture, smaller words, the same places */
.band.places.quiet{padding-block:clamp(40px,4.5vw,64px)}
.places.quiet .places-in{grid-template-columns:minmax(0,320px) minmax(0,1fr)}
.places.quiet .places-svg{aspect-ratio:3/1;border-radius:18px}
.places.quiet .places-slide h2{font-size:clamp(22px,2vw,28px)}
.places.quiet .places-slide>p{font-size:15px}
.places.quiet .places-facts{font-size:14px}
.places.quiet .places-tabs button{font-size:15px;min-height:46px}
@media (max-width:860px){.places.quiet .places-in{grid-template-columns:1fr}.places.quiet .places-svg{aspect-ratio:2/1}}
