/*
 * One Earth readability pass v35
 * Improves functional microcopy legibility without changing the overall visual language.
 * Decorative E·ART·H micro-type is intentionally excluded.
 */

/* Common functional labels and captions: 9–10px was too small on common laptop/phone displays. */
:where(
  .eyebrow,
  .editorial-kicker,
  .sub-hero-sign,
  .small-label,
  .solution-visual figcaption,
  .solution-story figcaption,
  .system-visual figcaption,
  .cs-diagnosis-visual figcaption,
  .op-data-visual figcaption,
  .career-grow-visual figcaption,
  .ceo-expertise-visual figcaption,
  .rd-visual figcaption,
  .rd-visual-top,
  .rd-record-label,
  .motion-gallery-meta,
  .journey-source,
  .pipeline-step .step-en,
  .company-facts dt,
  .ceo-profile-facts dt,
  .rnd-role,
  .career-cycle-nodes small,
  .career-principle-list strong,
  .career-people-list span,
  .career-knowledge-grid span,
  .career-knowledge-grid strong,
  .career-grow-list span,
  .career-workstyle-track span,
  .career-workstyle-track strong,
  .sol-match-grid b,
  .sol-flow-node small,
  .sol-flow-node span,
  .sol-branch span,
  .sol-service-links span,
  .op-question-list article > span,
  .op-data-items strong,
  .op-loop strong,
  .op-point-list span,
  .op-standard-list span,
  .op-principle span,
  .cs-service-list article > span,
  .cs-visual-caption strong,
  .cs-diagnostic-lenses strong,
  .matrix-title span,
  .matrix-title strong,
  .cs-matrix > p,
  .cs-eval-criteria article > span,
  .cs-eval-criteria strong,
  .cs-small-label,
  .cs-opt-levers article > span,
  .cost-head span,
  .cost-rule strong,
  .decision-no,
  .cs-decision-line strong,
  .cs-output-list article > span,
  .cs-output-list strong,
  .basis-editorial-grid span,
  .system-lenses article > span,
  .system-lenses strong,
  .step-no,
  .engineering-steps strong,
  .deliverable-card > div:last-child > span,
  .operation-statement .eyebrow,
  .operation-editorial span,
  .approach-steps article > span
){
  font-size:11px !important;
  line-height:1.45;
}

/* Dense matrices can remain compact, but not at 8–9px. */
.matrix-grid > b,
.matrix-grid > strong{
  font-size:10px !important;
  line-height:1.35;
}

/* Design flow: keep eight steps, but prevent long headings from colliding. */
.design-flow-section .engineering-steps article{
  min-width:0;
  padding-right:18px;
}
.design-flow-section .engineering-steps strong{
  letter-spacing:.09em;
  white-space:normal;
  overflow-wrap:normal;
}
.design-flow-section .engineering-steps h3{
  font-size:clamp(18px,1.25vw,21px);
  line-height:1.25;
  white-space:normal;
  overflow-wrap:normal;
  min-height:2.5em;
  margin:8px 0 9px;
}
.design-flow-section .engineering-steps p{
  font-size:14px;
  line-height:1.58;
  padding-right:4px;
}
.design-flow-section .flow-caption{
  font-size:10px;
}

@media (max-width:1439px){
  .design-flow-section .engineering-steps h3{min-height:0}
}

@media (max-width:760px){
  :where(
    .eyebrow,
    .editorial-kicker,
    .sub-hero-sign,
    .small-label,
    .rd-visual-top,
    .rd-record-label,
    .journey-source,
    .pipeline-step .step-en,
    .company-facts dt,
    .ceo-profile-facts dt,
    .career-principle-list strong,
    .career-people-list span,
    .career-knowledge-grid span,
    .career-knowledge-grid strong,
    .career-grow-list span,
    .career-workstyle-track span,
    .career-workstyle-track strong,
    .sol-match-grid b,
    .sol-flow-node small,
    .sol-flow-node span,
    .sol-branch span,
    .sol-service-links span,
    .op-question-list article > span,
    .op-data-items strong,
    .op-loop strong,
    .op-point-list span,
    .op-standard-list span,
    .op-principle span,
    .cs-service-list article > span,
    .cs-visual-caption strong,
    .cs-diagnostic-lenses strong,
    .matrix-title span,
    .matrix-title strong,
    .cs-eval-criteria article > span,
    .cs-eval-criteria strong,
    .cs-small-label,
    .cost-head span,
    .cost-rule strong,
    .cs-decision-line strong,
    .cs-output-list strong,
    .basis-editorial-grid span,
    .system-lenses article > span,
    .system-lenses strong,
    .step-no,
    .engineering-steps strong,
    .deliverable-card > div:last-child > span,
    .operation-editorial span
  ){
    font-size:12px !important;
    line-height:1.45;
  }

  :where(
    .solution-visual figcaption,
    .solution-story figcaption,
    .system-visual figcaption,
    .cs-diagnosis-visual figcaption,
    .op-data-visual figcaption,
    .career-grow-visual figcaption,
    .ceo-expertise-visual figcaption,
    .rd-visual figcaption
  ){
    font-size:11.5px !important;
    line-height:1.5;
  }

  .design-flow-section .engineering-steps h3{
    font-size:21px;
    min-height:0;
    line-height:1.3;
  }
  .design-flow-section .engineering-steps p{
    font-size:14px;
  }
}

/* Additional functional microcopy found in the full-site audit. */
:where(
  .concept-hero .hero-caption,
  .company-v2 .company-hero-code,
  .ceo-current-focus span,
  .expertise-list strong,
  .journey-list span,
  .career-field-top strong,
  .career-cycle-nodes span,
  .career-cycle-return,
  .monitor-top,
  .monitor-bottom
){
  font-size:11px !important;
  line-height:1.45;
}

@media (max-width:760px){
  :where(
    .concept-hero .hero-caption,
    .company-v2 .company-hero-code,
    .ceo-current-focus span,
    .expertise-list strong,
    .journey-list span,
    .career-field-top strong,
    .career-cycle-nodes span,
    .career-cycle-return,
    .monitor-top,
    .monitor-bottom,
    .career-field li
  ){
    font-size:12px !important;
    line-height:1.45;
  }
}

/* Short explanatory notes should remain readable, not microcopy. */
.earth-brand-method-title > span{font-size:11px !important}
.earth-brand-method-grid p{font-size:12px !important;line-height:1.6}
.experience-note{font-size:12.5px !important;line-height:1.65}
.cs-matrix > p{font-size:12px !important;line-height:1.65}
.footer-bottom{font-size:11px}

@media (max-width:760px){
  .earth-brand-method-title > span{font-size:12px !important}
  .earth-brand-method-title p{font-size:13px !important}
  .earth-brand-method-grid p{font-size:12.5px !important}
  .experience-note{font-size:12.5px !important}
  .footer-bottom{font-size:12px !important}
}
