/* One reading scale for the five language editions, including the technical
   library. Use native text faces, so no new font download blocks first paint.
   This layer is declared before the imported catalogues' own priority layers.
   It owns type only; the logo lock-up, film captions and navigation motion
   are separate brand components. */
:root {
  --wm-face:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --wm-display:clamp(1.65rem,1.3rem + 1.55vw,2.55rem);
  --wm-section:clamp(1.32rem,1.14rem + .72vw,1.76rem);
  --wm-item:clamp(1.08rem,1.01rem + .35vw,1.29rem);
  --wm-small-title:1rem; --wm-copy:1rem; --wm-detail:.9375rem; --wm-caption:.875rem;
  --wm-display-lead:1.12; --wm-section-lead:1.22; --wm-item-lead:1.32;
  --wm-copy-lead:1.53; --wm-compact-lead:1.41;
  --wm-heading-track:-.025em; --wm-section-track:-.018em; --wm-item-track:-.008em;
  --wm-meta-track:.045em;
}
:root:lang(ar) {
  --wm-face:"Geeza Pro","Noto Sans Arabic",Tahoma,system-ui,sans-serif;
  --wm-display-lead:1.34; --wm-section-lead:1.39; --wm-item-lead:1.44;
  --wm-copy-lead:1.65; --wm-compact-lead:1.53;
  --wm-heading-track:normal; --wm-section-track:normal; --wm-item-track:normal; --wm-meta-track:normal;
}
/* The homepage hero has a broad measure; the waterjet title shares its
   column with specifications. These are intentional display-role variants. */
body[data-af-page="home"] .hero {--wm-display:clamp(2rem,1.4rem + 2.65vw,3.24rem)}
.wj35-copy {--wm-display:clamp(1.36rem,1.1rem + 1.05vw,1.94rem)}
body.home-editorial .e190-product-heading {--wm-display:clamp(1.43rem,1.12rem + 1.45vw,2.12rem)}

@layer site-reading-edition {
  /* Explicit role selectors are necessary: older collections install their
     own fonts directly on headings, table cells and even inline runs. */
  :where(body,main,article,footer,header nav,button,input,select,textarea),
  main :is(h1,h2,h3,h4,h5,h6,p,ul,ol,li,dl,dt,dd,blockquote,figcaption,summary,
           td,th,button,input,select,textarea,label,legend):not(.mill-hero *),
  :is(.main-nav,.language-links,.company-footer,.wm-guide,.af-site-main) :is(a,button):not(.site-identity *) {
    font-family:var(--wm-face) !important;
    font-kerning:normal; font-optical-sizing:auto;
  }
  header[data-site-mast] :is(.main-nav,.language-links,.mast-home-key) :is(span,button,a),
  .company-footer :is(p,a,button,summary) {font-family:var(--wm-face) !important}

  main h1:not(.mill-hero *) {
    font-size:var(--wm-display) !important; font-weight:630 !important;
    line-height:var(--wm-display-lead) !important; letter-spacing:var(--wm-heading-track) !important;
    text-wrap:balance;
  }
  main h1:not(.mill-hero *) :is(span,em,b,strong):not(.eyebrow) {
    font-family:inherit !important; font-weight:inherit !important; letter-spacing:inherit !important;
  }
  main :is(h2,.chapter-heading h3,.detail-section-title h4,.visual-config-heading h4,
    .shedding-system-heading h4,.airjet-product-intro h3,.e190-buyer-faq > h4):not(.mill-hero *) {
    font-size:var(--wm-section) !important; font-weight:630 !important;
    line-height:var(--wm-section-lead) !important; letter-spacing:var(--wm-section-track) !important;
    text-wrap:balance;
  }
  main h3:not(.chapter-heading h3,.airjet-product-intro h3,.mill-hero *) {
    font-size:var(--wm-item) !important; font-weight:600 !important;
    line-height:var(--wm-item-lead) !important; letter-spacing:var(--wm-item-track) !important;
  }
  main :is(h4,h5,h6):not(.detail-section-title h4,.visual-config-heading h4,.shedding-system-heading h4,
      .e190-buyer-faq > h4,.mill-hero *), main details > summary {
    font-size:var(--wm-small-title) !important; font-weight:600 !important;
    line-height:var(--wm-item-lead) !important; letter-spacing:var(--wm-item-track) !important;
  }
  main :is(h2,h3,h4,h5,h6,summary):not(.mill-hero *) :is(span,b,strong,em) {
    font-family:inherit !important; letter-spacing:inherit !important;
  }
  main p:not(.mill-hero *), main :is(ul,ol) > li:not(nav *, .mill-hero *), main blockquote {
    font-size:var(--wm-copy) !important; font-weight:400 !important;
    line-height:var(--wm-copy-lead) !important; letter-spacing:normal !important;
  }
  main :is(.eyebrow,.kicker,.af-kicker,.wm-kicker,.wj35-kicker,.section-kicker,.support-brow,
    .service-topic,.product-landing-hero__eyebrow,.knowledge-card-label,.hero-manufacturer):not(.mill-hero *) {
    font-size:.8125rem !important; font-weight:600 !important; line-height:var(--wm-item-lead) !important;
    letter-spacing:var(--wm-meta-track) !important;
  }
  /* Facts, photographs and operating ranges are scanned, not read like prose. */
  main :is(figcaption,figcaption p,.af-note,.spec-config-copy,.spec-guidance,.q-advice):not(.mill-hero *) {
    font-size:var(--wm-caption) !important; line-height:var(--wm-compact-lead) !important;
  }
  main :is(table th,table td,.spec-table > div > span,.spec-table > div > p,dt,dd):not(.mill-hero *) {
    font-family:var(--wm-face) !important; font-size:var(--wm-detail) !important;
    line-height:var(--wm-compact-lead) !important; letter-spacing:normal !important;
    font-variant-numeric:lining-nums tabular-nums;
  }
  main :is(th,dt,.spec-table > div > span):not(.mill-hero *) {font-weight:600 !important}
  main :is(td,dd,.spec-table > div > p):not(.mill-hero *) {font-weight:430 !important}
  main .weave-facts dt {font-size:.875rem !important}
  main :is(.button,.af-btn,.range-detail,.text-link,.wm-chat,.q-submit,button[type=submit]):not(.mill-hero *) {
    font-family:var(--wm-face) !important; font-size:var(--wm-detail) !important;
    font-weight:570 !important; line-height:var(--wm-item-lead) !important; letter-spacing:normal !important;
  }
  main :is(label,legend):not(.mill-hero *) {font-weight:560 !important;line-height:var(--wm-item-lead) !important}
  /* Only control families/labels change: keep existing compact input, focus
     and hit-area geometry, including the original minimum mobile input size. */
  main :is(input,textarea,select) {letter-spacing:normal !important}
  /* The statistics are visual figures, not loose paragraphs. */
  main .support-stat {font-size:clamp(1.18rem,1rem + .8vw,1.65rem) !important;font-weight:610 !important;line-height:var(--wm-item-lead) !important}
  /* This reference heading is a strip of short feature names, not one sentence. */
  main.mg728-source:not([data-theme]) .feature-section h2.benefits-title {
    font-size:var(--wm-item) !important; line-height:var(--wm-item-lead) !important;
    flex-wrap:wrap !important; white-space:normal !important; row-gap:.15em;
  }
  main.mg728-source:not([data-theme]) .feature-section h2.benefits-title > .benefit-item {
    flex:0 0 auto; max-inline-size:100%; white-space:normal !important;
  }
  @media(max-width:860px) {
    main.mg728-source:not([data-theme]) .feature-section h2.benefits-title {font-size:var(--wm-detail) !important}
  }
  .company-footer .company-name {font-weight:620 !important;letter-spacing:var(--wm-item-track) !important}
  .company-footer :is(.company-descriptor,.company-brands) {line-height:var(--wm-compact-lead) !important}
}
@media(max-width:640px) {
  :root {--wm-copy-lead:1.47; --wm-compact-lead:1.36}
  :root:lang(ar) {--wm-copy-lead:1.6; --wm-compact-lead:1.49}
}
