/* ─── Tweak modes ─────────────────────────────────────────── */

/* Chrome density */
html.chrome-quiet .sheet-footer,
html.chrome-quiet .regmark { display: none !important; }

html.chrome-stripped .sheet-header,
html.chrome-stripped .sheet-footer,
html.chrome-stripped .regmark,
html.chrome-stripped .ref,
html.chrome-stripped .stamp { display: none !important; }

html.chrome-stripped .eyebrow {
  font-family: var(--fm-ff-mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--fm-graphite);
}

html.chrome-stripped deck-stage > section {
  background-image: none !important;
}

/* Slightly lighten chrome in quiet mode too */
html.chrome-quiet .ref { opacity: 0.6; }

/* ─── Type expression ────────────────────────────────────── */

/* Editorial: heavier weight, larger optical size, tighter tracking */
html.type-editorial .headline,
html.type-editorial .headline-sm {
  font-variation-settings: "opsz" 144, "SOFT" 20 !important;
  font-weight: 400 !important;
  letter-spacing: -0.035em !important;
}
html.type-editorial .bignum {
  font-variation-settings: "opsz" 144, "SOFT" 20 !important;
  font-weight: 400 !important;
  letter-spacing: -0.045em !important;
}

/* Display: dramatic — heavier still, italic creep, more contrast */
html.type-display .headline,
html.type-display .headline-sm {
  font-variation-settings: "opsz" 144, "SOFT" 100 !important;
  font-weight: 500 !important;
  letter-spacing: -0.04em !important;
  line-height: 0.95 !important;
}
html.type-display .headline em,
html.type-display .headline-sm em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  letter-spacing: -0.02em;
}
html.type-display .bignum {
  font-variation-settings: "opsz" 144, "SOFT" 100 !important;
  font-weight: 500 !important;
}
html.type-display .lede {
  font-style: italic;
  color: var(--fm-ink-2);
}
html.type-display .bp .lede { color: var(--fm-cyan); }

/* ─── Tweaks root mount ──────────────────────────────────── */
#tweaks-root { position: fixed; inset: 0; pointer-events: none; z-index: 2147483640; }
#tweaks-root > * { pointer-events: auto; }
