/* home-polish.css — HOME page only.
   Linked from previews/index.html AFTER every other stylesheet, so it never
   affects other pages. Conservative polish only: no section is added, removed,
   reordered or rewritten. Rules are scoped with #section ids so they win over
   the sig/*.css sheets that loader.js injects at runtime (equal-class rules
   would otherwise lose on source order). Bump ?v= in index.html on every change. */

/* ---------------------------------------------------------------------------
   CITIES — "Three Cities, One Team" reads as one view: heading + three offices
   on the left, the globe on the right. cities.css already keeps it on one
   screen down to ~760px tall. On very short desktops (<=700px) the third office
   (India) was clipped below the fold. Gently tighten the left column and the
   section padding so all three offices stay visible. Purely additive: taller
   desktops and phones/tablets are untouched.
   --------------------------------------------------------------------------- */
@media (min-width: 1024px) and (max-height: 700px) {
  #cities { padding-top: clamp(40px, 6vh, 64px); padding-bottom: clamp(24px, 4vh, 48px); }
  #cities .cities-head .h2 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
  #cities .cities-head .body { margin-top: 10px; }
  #cities .cities-list { margin-top: 14px; }
  #cities .city-card { padding-block: 9px; }
  #cities .city-card h3 { font-size: clamp(1.85rem, 2.4vw, 2.4rem); line-height: 1; }
  #cities .city-now { margin-top: 7px; }
  #cities .city-wa { margin-top: 7px; }
}

/* review 13 Nov 2026: the logomaker live-region (1px, screen readers only) sat past the right edge on phones and let the page scroll sideways by 20px; pin it inside its box */
#logomaker .sig-logomaker-sr { left: 0; top: 0; }

/* review 13 Nov 2026 (responsive pass): tablets in portrait (768-1023px) squeezed the agent graph and its brief list into
   a 260px column beside the copy, so the list was cut off at the screen edge. On those widths the graph sits under the
   copy at full width, the same as on phones. (agents.css is injected after this file, hence the html prefix) */
@media (min-width: 768px) and (max-width: 1023px) {
  html.gl #idea.sig-agents-on, html.no-gl #idea.sig-agents-on { min-height: 0; display: block; }
  html #idea.sig-agents-on .idea-copy { max-width: 600px; }
  html #idea.sig-agents-on .idea-gl { position: relative; left: auto; right: auto; top: auto; bottom: auto; height: 720px; margin: 28px calc(var(--pad) * -1) 0; }
  html #idea .ag-ui { left: var(--pad); right: var(--pad); bottom: 24px; }
}
/* phones: the "Brief the Conductor" button gets a taller tap area */
@media (max-width: 767px) { html #idea .ag-go { padding-block: 12px; } }
