@font-face {
  font-family: "Enersud Manrope";
  src: url("../banners/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@layer ens-studio-typography {
  body.ens-studio-type {
    --ens-type-family: "Enersud Manrope", system-ui, sans-serif;
    --ens-type-title: #092744;
    --ens-type-copy: #40586c;
    --ens-type-accent: #066ab2;
    --ens-type-h1: clamp(2rem, 1.5rem + 2.5vw, 3.75rem);
    --ens-type-h2: clamp(1.625rem, 1.28rem + 1.73vw, 2.75rem);
    --ens-type-h3: clamp(1.125rem, .94rem + .92vw, 1.75rem);
    --ens-type-h4: clamp(1rem, .92rem + .4vw, 1.25rem);
    --ens-type-p: clamp(.9375rem, .88rem + .29vw, 1.125rem);
  }

  body.ens-studio-type :is(.entry-content, .ens-type, .ens-about, .ep, #enm-landing) {
    font-family: var(--ens-type-family);
  }

  /* Important declarations in a layer give the shared scale priority over legacy page-level rules. */
  body.ens-studio-type :is(.entry-content, .ens-type, .ens-about, .ep, #enm-landing) :is(h1,h2,h3,h4,p) {
    font-family: var(--ens-type-family) !important;
    font-size: var(--ens-type-size) !important;
    font-weight: var(--ens-type-weight) !important;
    line-height: var(--ens-type-leading) !important;
    letter-spacing: var(--ens-type-tracking) !important;
    color: var(--ens-type-ink) !important;
  }

  body.ens-studio-type :is(h1,h2,h3,h4) {
    --ens-type-ink: var(--ens-type-title);
    --ens-type-weight: 800;
  }
  body.ens-studio-type h1 { --ens-type-size: var(--ens-type-h1); --ens-type-leading: 1.06; --ens-type-tracking: -.045em; }
  body.ens-studio-type h2 { --ens-type-size: var(--ens-type-h2); --ens-type-leading: 1.12; --ens-type-tracking: -.038em; }
  body.ens-studio-type h3 { --ens-type-size: var(--ens-type-h3); --ens-type-leading: 1.2; --ens-type-tracking: -.025em; }
  body.ens-studio-type h4 { --ens-type-size: var(--ens-type-h4); --ens-type-leading: 1.3; --ens-type-tracking: -.018em; }
  body.ens-studio-type p {
    --ens-type-size: var(--ens-type-p);
    --ens-type-weight: 400;
    --ens-type-leading: 1.6;
    --ens-type-tracking: normal;
    --ens-type-ink: var(--ens-type-copy);
  }

  body.ens-studio-type :is(.ens-type-on-dark, .ep-ten, .ep-concept, .ena-interview, .enm-marine-cover, .enm-applications, .enm-specs, .enm-contact, #enm-explorer) {
    --ens-type-title: #f7fcff;
    --ens-type-copy: #dcebf5;
    --ens-type-accent: #88dafa;
  }
}
