/* Electric Matter — type scale v1.1
   Space Grotesk stops at h3 (22px); IBM Plex Sans takes every role below it.
   Body copy sets to a 65-75 character measure (--em-measure). */

.em-display {
  font-family: var(--em-font-display);
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 500;
}

.em-h1 {
  font-family: var(--em-font-display);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.em-h2 {
  font-family: var(--em-font-display);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.em-h3 {
  font-family: var(--em-font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.em-h4 {
  font-family: var(--em-font-text);
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  font-weight: 500;
}

.em-body {
  font-family: var(--em-font-text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  font-weight: 400;
}

.em-ui {
  font-family: var(--em-font-text);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-weight: 500;
}

.em-small {
  font-family: var(--em-font-text);
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: 0;
  font-weight: 400;
}

.em-label {
  font-family: var(--em-font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.18em;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--em-text-secondary);
}

.em-body, .em-small { max-width: var(--em-measure); text-wrap: pretty; }
.em-display, .em-h1, .em-h2, .em-h3 { text-wrap: balance; }
