/* Natural editorial reflow, without changing the approved typefaces or scale. */
main :is(h1,h2,h3,h4,h5,p,li,figcaption,summary,label){
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:manual;
}
main :is(h1,h2,h3,h4,h5){text-wrap:balance}
main :is(p,li,figcaption){text-wrap:pretty}
:is(.page-hero,.page-steps,.technology-heading,.technology-grid,.technology-pair,
  .care-group-heading,.study-visual-overview,.visual-outcome-grid,
  .ingredient-study-panel,.professional,.partner-options)>*{min-width:0}
.collection-title>span:first-child,.text-link>span:first-child{min-width:0}
.collection-title>span[aria-hidden],.text-link>span[aria-hidden]{flex-shrink:0}
.text-link{max-width:100%;white-space:normal}
.desktop-nav>a{white-space:nowrap}
.page-contact-email,.form-privacy a{overflow-wrap:anywhere}
.science-opening .opening-top>*{min-width:0}
.science-opening .opening-patent{max-width:34ch;text-wrap:pretty}
.science-opening .opening-links{min-width:0;max-width:100%}
/* The expanded scientific copy must determine the section height. The old
   730px box cut off its links and let its footer overlap the count. */
.hero:has(.scientific-lead){
  height:auto;min-height:730px;padding-block:72px 112px;
}
.hero:has(.scientific-lead) .hero-copy{
  position:relative;inset:auto;
  width:min(420px,calc(100% - 2 * var(--gutter)));
  max-width:none;margin-inline-start:var(--gutter);
}
@media(min-width:701px) and (max-width:1100px){
  .technology .technology-grid,.page-steps{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;
  }
  .technology .technology-grid>:last-child:nth-child(odd),
  .page-steps>:last-child:nth-child(odd){grid-column:1/-1}
  .ingredient-laboratory{grid-template-columns:1fr;gap:24px}
  .hero:has(.scientific-lead){
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:40px;min-height:0;padding:60px var(--gutter) 0;
  }
  .hero:has(.scientific-lead) .hero-copy{
    grid-column:1;grid-row:1;position:static;width:auto;
    max-width:none;margin:0;
  }
  .hero:has(.scientific-lead) .hero-image{
    grid-column:2;grid-row:1;position:relative;inset:auto;z-index:0;
    width:100%;height:auto;aspect-ratio:.9;align-self:center;
  }
  .hero:has(.scientific-lead) .hero-foot{
    grid-column:1/-1;position:static;width:auto;height:auto;
    min-height:76px;margin-top:40px;padding-block:16px;
    flex-wrap:wrap;gap:12px 20px;
  }
}
@media(max-width:700px){
  /* Keep copy, photograph and foot navigation in flow. A relatively positioned
     full-width copy block was shifted right by the gutter and clipped; the
     absolutely positioned photograph also occupied the same space as the copy. */
  .hero:has(.scientific-lead){
    display:flex;flex-direction:column;height:auto;min-height:0;padding:0;
  }
  .hero:has(.scientific-lead) .hero-copy{
    order:0;position:static;inset:auto;width:auto;max-width:none;
    margin-inline:var(--gutter);padding-top:35px;
  }
  .hero:has(.scientific-lead) .hero-image{
    order:1;position:relative;inset:auto;z-index:0;
    width:calc(100% - 2 * var(--gutter));height:auto;
    aspect-ratio:1.15;margin:32px auto 0;
  }
  .hero:has(.scientific-lead) .hero-image img{
    width:100%;height:100%;object-fit:contain;
  }
  .hero:has(.scientific-lead) .hero-foot{
    order:2;position:static;width:auto;height:auto;min-height:76px;
    margin:24px var(--gutter) 0;padding-block:16px;
    flex-wrap:wrap;gap:12px 20px;
  }
  .hero:has(.scientific-lead) .hero-foot>*{
    max-width:100%;min-width:0;
  }
  .science-opening .opening-signature{
    white-space:normal;text-wrap:balance;letter-spacing:.025em;
  }
  .science-opening .opening-links a{max-width:100%}
  .care-group .collection-title{gap:10px}
}
