/* Font trial (Oct 16): Montserrat for body, Darker Grotesque for titles. Loaded after each page's own styles. */
:root {
  --f-body:  "Montserrat", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --f-title: "Darker Grotesque", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
body, .bubble { font-family: var(--f-body); font-weight: 300; letter-spacing: -0.02em; }

/* titles: Darker Grotesque runs small (short lowercase), so titles go bigger and a bit heavier */
h1, aside h2, aside .expanded h3 { font-family: var(--f-title); letter-spacing: 0; }
h1 { font-weight: 600; font-size: min(5.6rem, calc((100vw - 56px) / 7.3)); white-space: nowrap; } /* as big as fits on one line */
aside h2 { font-weight: 500; font-size: 1.5rem; line-height: 1.1; }
aside .expanded h3 { font-weight: 600; font-size: 1.2rem; margin-bottom: 4px; }
@media (max-width: 600px) {
  aside h2 { font-size: 1.85rem; }
  aside .expanded h3 { font-size: 1.35rem; }
}

/* links, buttons and one-word labels: 500 */
header a, .world, .center-label, .area-label, .label, .open-label, .bubble-toggle, aside .more {
  font-family: var(--f-title); font-weight: 500; letter-spacing: 0;
}

/* the robot's closed bubble reads bigger and heavier */
.bubble-toggle { font-size: 1.15em; font-weight: 700; }
