/* Set the product's type here. The design lab's --type-<role>-size is a
   unitless multiplier of the base size. The same roles shape HTML and SVG.
   Every role stands on one of the page system's five sizes, 12, 14, 16, 20 and 24
   (web/system/page-system.css; docs/work/hive/references/hierarchy-and-ink.md), and
   nothing between them: meta and every role that follows it at 14, the literal face
   at 12, the body and a name at 16, a title at 20, a question on a desk at 24. */
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../vendor/sdk-fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../vendor/sdk-fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../vendor/sdk-fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../vendor/sdk-fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Plus Jakarta Sans'; src: url('../vendor/sdk-fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../vendor/sdk-fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --type-size-floor: 12px;
  --type-lead-base-size: var(--type-body-base-size);
  --type-lead-line: var(--type-body-line);
  --type-lead-weight: 600;
  --type-meta-strong-base-size: var(--type-meta-base-size);
  --type-meta-strong-line: var(--type-meta-line);
  --type-meta-strong-weight: var(--type-lead-weight);

  --type-body-family: "Plus Jakarta Sans", system-ui, sans-serif;
  --type-body-base-size: 16px;
  --type-body-size: 1;
  --type-body-weight: 400;
  --type-body-style: normal;
  --type-body-tracking: normal;
  --type-body-case: none;
  --type-body-features: normal;
  --type-body-line: 1.5;

  --type-brand-family: var(--type-body-family);
  --type-brand-base-size: var(--type-lead-base-size);
  --type-brand-size: 1;
  --type-brand-weight: var(--type-lead-weight);
  --type-brand-style: normal;
  --type-brand-tracking: normal;
  --type-brand-case: none;
  --type-brand-features: normal;
  --type-brand-line: var(--type-lead-line);

  --type-nav-family: var(--type-body-family);
  --type-nav-base-size: var(--type-body-base-size);
  --type-nav-size: 1;
  --type-nav-weight: var(--type-body-weight);
  --type-nav-style: normal;
  --type-nav-tracking: normal;
  --type-nav-case: none;
  --type-nav-features: normal;
  --type-nav-line: var(--type-body-line);

  --type-area-family: var(--type-body-family);
  --type-area-base-size: 16px;
  --type-area-size: 1;
  --type-area-weight: 800;
  --type-area-style: normal;
  --type-area-tracking: .1em;
  --type-area-case: uppercase;
  --type-area-features: normal;
  --type-area-line: 1.2;

  --type-area-tag-family: var(--type-body-family);
  --type-area-tag-base-size: var(--type-meta-base-size);
  --type-area-tag-size: 1;
  --type-area-tag-weight: var(--type-meta-weight);
  --type-area-tag-style: normal;
  --type-area-tag-tracking: normal;
  --type-area-tag-case: none;
  --type-area-tag-features: normal;
  --type-area-tag-line: var(--type-meta-line);

  --type-section-family: var(--type-body-family);
  --type-section-base-size: var(--type-meta-base-size);
  --type-section-size: 1;
  --type-section-weight: var(--type-meta-weight);
  --type-section-style: normal;
  --type-section-tracking: normal;
  --type-section-case: none;
  --type-section-features: normal;
  --type-section-line: var(--type-meta-line);

  --type-count-family: var(--type-figure-family);
  --type-count-base-size: var(--type-title-base-size);
  --type-count-size: 1;
  --type-count-weight: var(--type-title-weight);
  --type-count-style: normal;
  --type-count-tracking: normal;
  --type-count-case: none;
  --type-count-features: var(--type-figure-features);
  --type-count-line: 1.2;

  --type-title-family: var(--type-body-family);
  --type-title-base-size: 20px;
  --type-title-size: 1;
  --type-title-weight: var(--type-lead-weight);
  --type-title-style: normal;
  --type-title-tracking: normal;
  --type-title-case: none;
  --type-title-features: normal;
  --type-title-line: 1.4;

  --type-words-family: var(--type-body-family);
  --type-words-base-size: var(--type-body-base-size);
  --type-words-size: 1;
  --type-words-weight: var(--type-body-weight);
  --type-words-style: normal;
  --type-words-tracking: normal;
  --type-words-case: none;
  --type-words-features: normal;
  --type-words-line: var(--type-body-line);

  --type-question-base-size: var(--type-title-base-size);
  --type-question-line: var(--type-title-line);
  --type-question-weight: var(--type-lead-weight);
  --type-question-desk-base-size: 24px;
  --type-question-desk-line: calc(32 / 24);

  --type-reply-base-size: 16px;
  --type-reply-line: calc(24 / 16);
  --type-reply-desk-base-size: var(--type-title-base-size);
  --type-reply-desk-line: var(--type-title-line);
  --type-reply-weight: var(--type-body-weight);

  --type-filing-base-size: var(--type-body-base-size);
  --type-filing-line: var(--type-body-line);
  --type-filing-weight: var(--type-body-weight);

  --type-receipt-quote-base-size: var(--type-meta-base-size);
  --type-receipt-quote-line: var(--type-meta-line);
  --type-receipt-quote-weight: var(--type-meta-weight);

  --type-meta-family: var(--type-body-family);
  --type-meta-base-size: 14px;
  --type-meta-size: 1;
  --type-meta-weight: var(--type-body-weight);
  --type-meta-style: normal;
  --type-meta-tracking: normal;
  --type-meta-case: none;
  --type-meta-features: normal;
  --type-meta-line: calc(20 / 14);

  --type-figure-family: var(--type-body-family);
  --type-figure-base-size: var(--type-meta-base-size);
  --type-figure-record-base-size: var(--type-figure-base-size);
  --type-figure-clock-column: 6ch;
  --type-figure-size: 1;
  --type-figure-weight: var(--type-meta-weight);
  --type-figure-style: normal;
  --type-figure-tracking: normal;
  --type-figure-case: none;
  --type-figure-features: "lnum" 1, "tnum" 1;
  --type-figure-line: var(--type-meta-line);

  --type-data-family: "JetBrains Mono", ui-monospace, monospace;
  --type-data-base-size: 12px;
  --type-data-size: 1;
  --type-data-weight: 500;
  --type-data-style: normal;
  --type-data-tracking: normal;
  --type-data-case: none;
  --type-data-features: "lnum" 1, "tnum" 1;
  --type-data-line: calc(16 / 12);

  --type-action-family: var(--type-body-family);
  --type-action-base-size: var(--type-body-base-size);
  --type-action-size: 1;
  --type-action-weight: var(--type-body-weight);
  --type-action-style: normal;
  --type-action-tracking: normal;
  --type-action-case: none;
  --type-action-features: normal;
  --type-action-line: var(--type-body-line);

  --type-person-family: var(--type-body-family);
  --type-person-base-size: var(--type-meta-strong-base-size);
  --type-person-size: 1;
  --type-person-weight: var(--type-meta-strong-weight);
  --type-person-style: normal;
  --type-person-tracking: normal;
  --type-person-case: none;
  --type-person-features: normal;
  --type-person-line: var(--type-meta-strong-line);
}

/* The stage measures and positions its own words. Its non-clock metrics stay
   at their layout values while the surrounding rail and pane use reading type. */
.area-map__stage {
  --type-size-floor: 12px;
  --type-words-weight: 600;
  --type-meta-base-size: 12px;
  --type-meta-line: 1.45;
  --type-meta-weight: 500;
  --type-person-base-size: 12px;
  --type-person-line: 1.2;
}
