/* Esker (PROPOSAL, src/world.ts, off unless ESKER is set): the city band on home, a character's In Esker part, and /world.
   Lit warm on purpose: the plates carry the mood, the copy sits on a veil of the page's own paper, accent from the palette. */
.esker-band,.world-hero{position:relative;overflow:hidden;background:var(--paper);margin-top:var(--sp-section)}
.esker-plate{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;background:var(--card)}
.esker-plate::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(var(--paper-rgb),0) 35%,rgba(var(--paper-rgb),.7) 72%,var(--paper) 100%)}
.esker-plate img{width:100%;height:100%;object-fit:cover;display:block}
.esker-veil{display:none}
.esker-copy{position:relative;margin-top:-16vw;padding-bottom:var(--sp-8)}
.esker-copy .role,.esker-copy .display{text-shadow:0 1px 12px rgba(var(--paper-rgb),.9),0 0 2px rgba(var(--paper-rgb),.9)}
.esker-copy .display{margin:0}
.esker-line{font-size:var(--fs-1);line-height:1.3;color:var(--ink);margin:var(--sp-2) 0 var(--sp-4);max-width:34ch}
.esker-intro{color:var(--ink-soft);max-width:60ch;margin:0 0 var(--sp-5)}
.esker-people{list-style:none;margin:0 0 var(--sp-5);padding:0;display:grid;gap:var(--sp-2)}
.esker-people a{display:flex;align-items:center;gap:var(--sp-3);min-height:44px;padding:var(--sp-1) var(--sp-3) var(--sp-1) var(--sp-1);border-radius:999px;background:rgba(var(--paper-rgb),.6);color:var(--ink-soft);text-decoration:none;border:0;box-shadow:none;background-image:none}
.esker-people a:hover{color:var(--ink);background:var(--card)}
.esker-people img{width:44px;height:44px;border-radius:50%;flex:0 0 auto;object-fit:cover}
.esker-people strong{color:var(--ink);font-weight:600}
/* The this-week line (Season 1): the reader's own week, painted by the server. */
.season-now{max-width:60ch;margin:0 0 var(--sp-5);padding:var(--sp-3) var(--sp-4);border-radius:var(--radius);background:rgba(var(--paper-rgb),.72);color:var(--ink-soft)}
.season-now-label{display:block;font-size:var(--fs--1);letter-spacing:.04em;text-transform:uppercase;color:var(--ink-soft);margin-bottom:var(--sp-1)}
.season-now strong{color:var(--ink);font-weight:600}
.season-centre{font-weight:600;color:var(--ink);margin:0 0 var(--sp-4)}
/* /lowband: Ambrose's bulletins, newest first. */
.lowband-plate{display:block;width:100%;aspect-ratio:21/9;max-height:46vh;overflow:hidden;background:var(--card)}
.lowband-plate img{width:100%;height:100%;object-fit:cover;display:block}
.lowband-head{padding-top:var(--sp-5)}
.bulletin{margin:var(--sp-7) 0}
.bulletin-plate{display:block;width:100%;max-width:720px;height:auto;aspect-ratio:21/9;object-fit:cover;border-radius:var(--radius);margin:0 0 var(--sp-3)}
.bulletin-when{margin:0 0 var(--sp-2)}
.bulletin-text{margin:0;max-width:64ch;font-size:clamp(17px, 0.6vw + 14px, 20px);line-height:1.5;color:var(--ink)}
.city-vote{margin:var(--sp-5) 0 0;max-width:64ch;padding:var(--sp-4);border-radius:var(--radius);background:rgba(var(--paper-rgb),.72)}
.city-vote-h{margin:0 0 var(--sp-2);font-size:var(--fs-1)}
.city-vote p{margin:0 0 var(--sp-3)}
.city-vote .actions{margin:0 0 var(--sp-3)}
.city-vote-result strong{color:var(--ink)}
.in-esker{margin:var(--sp-7) 0}
.in-esker-plate,.stratum-plate{display:block;width:100%;max-width:720px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);margin:0 0 var(--sp-3)}
.in-esker-where{margin:0 0 var(--sp-2)}
.in-esker-knows a{font-weight:600}
.stratum{margin:var(--sp-8) 0}
.world-hero{margin-top:0}
@media (min-width:760px){
  .esker-plate{aspect-ratio:21/8}
  .esker-copy{margin-top:-11vw}
  .esker-people{grid-template-columns:repeat(2,minmax(0,1fr));max-width:880px}
}
/* More than five in the strip (the neighbours): desktop wraps to rows of four instead of squeezing every card into one row. */
@media (min-width:1000px){
  .cast-strip:has(>:nth-child(6)){flex-wrap:wrap;overflow:visible;row-gap:var(--sp-5)}
  .cast-strip:has(>:nth-child(6))>*{flex:0 0 calc((100% - 3 * var(--sp-4)) / 4)}
}
.timeline{list-style:none;padding:0;margin:var(--sp-4) 0 var(--sp-8);display:grid;gap:var(--sp-6);grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.timeline img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:var(--radius);margin:0 0 var(--sp-2)}
.timeline h3{margin:0 0 var(--sp-1)}
.timeline .meta{margin:0}
/* The faction quiz (factions.ts): an emblem fills the card's portrait slot, its object a little below centre. */
.faction-emblem{object-position:center 58%}
