/* Audience-specific compositions share the type roles and interaction cues below. */
:is(html[data-public-audience], html:has(.company-matched)) {
  --zt-editorial-label: 600 12px/1.45 var(--zt-font-body);
  --zt-editorial-ease: cubic-bezier(.22,1,.36,1);
}
html[data-public-audience] body main :is(.handoff-eyebrow,.quality-kicker,.z4-kicker,.eyebrow),
html[data-public-audience] body main #relevance .eyebrow,
html[data-public-audience] body main #evidence.eb h2,
html body .company-matched :is(.cm-eyebrow,.zcf .eyebrow) {
  font: var(--zt-editorial-label) !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
}
html[data-public-audience] body main :is(.lumbar-intro,.introStage .deck),
html body .company-matched .cm-section-aside {
  line-height: 1.6 !important;
  text-wrap: pretty;
}
html[data-public-audience="patient"] body #lower-back .lumbar-evidence-note {
  border-inline-start: 2px solid #72a7b2;
  padding-inline-start: 16px;
}
html[data-public-audience="patient"] body #lower-back .lumbar-citation {
  display:inline-flex; align-items:center; min-height:44px;
}
html[data-public-audience="patient"] body #patient-faq { background-color:#fff; }
html body .company-matched #areas-of-focus { background-color:#f5f8f8 !important; }
html body .company-matched #company-contact { background-color:#e7eff1 !important; }
@media (max-width:650px) {
  html[data-public-audience="patient"] body #lower-back .lumbar-layout { display:grid;grid-template-columns:minmax(0,1fr);row-gap:16px; }
  html[data-public-audience="patient"] body #lower-back .lumbar-copy { display:contents; }
  html[data-public-audience="patient"] body #lower-back .lumbar-copy > .eyebrow { grid-row:1;margin:0!important; }
  html[data-public-audience="patient"] body #lower-back .lumbar-photo { grid-row:2; }
  html[data-public-audience="patient"] body #lower-back .lumbar-copy > :is(h2,.lumbar-intro,.lumbar-evidence-note,.lumbar-open) { margin-block:0!important; }
  html[data-public-audience="patient"] body #lower-back .lumbar-open { justify-self:start; }
}
@keyframes zt-dialog-arrive {
  from { opacity:.65;translate:0 8px; }
  to { opacity:1;translate:0 0; }
}
@keyframes zt-image-arrive {
  from { opacity:.62;translate:0 16px; }
  to { opacity:1;translate:0 0; }
}
@media (prefers-reduced-motion:no-preference) {
  html[data-public-audience] dialog[open] {
    animation:zt-dialog-arrive 180ms var(--zt-editorial-ease);
  }
  @supports (animation-timeline:view()) {
    html body .company-matched #culture .cm-team-photo img {
      animation:zt-image-arrive linear both;
      animation-timeline:view();
      animation-range:entry 0% entry 80%;
    }
  }
}

/* Each Focus photograph follows its own frame as it reaches the reader. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll(root block)) {
    .company-matched .zcf .art {
      transform-origin: 75% 75%;
      animation: company-architecture-depth ease-out both;
      animation-timeline: scroll(root block);
      animation-range: 0px min(42vh, 340px);
    }
    .company-matched #areas-of-focus figure { view-timeline: --focus-photo block; }
    .company-matched #areas-of-focus figure img {
      animation: company-focus-detail linear both;
      animation-timeline: --focus-photo;
      animation-range: cover 3% cover 34%;
    }
    @media (max-width: 800px) {
      .company-matched .zcf .art {
        --architecture-scale: 1.025;
        animation-range-end: min(24vh, 180px);
      }
      .company-matched #areas-of-focus { --focus-scale: 1.02; }
    }
  }
}
@keyframes company-architecture-depth {
  from { scale: 1; }
  to { scale: var(--architecture-scale, 1.045); }
}
@keyframes company-focus-detail {
  from { scale: 1; }
  to { scale: var(--focus-scale, 1.04); }
}

.company-matched :is(#areas-of-focus .link, #opportunities .cp-paths a, #company-contact a):focus-visible {
  outline: 2px solid #067e93;
  outline-offset: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .company-matched :is(#areas-of-focus .link, #opportunities .cp-paths a, #company-contact a):hover {
    text-decoration: underline;
    text-underline-offset: .22em;
  }
}

/* Main editorial section titles share a scale; spread titles and compact panels keep theirs. */
@layer zentech-editorial-titles {
html[data-public-audience="patient"] body #lower-back #back-title,
html[data-public-audience="physician"] body #relevance #clinical-applications-title,
html body .company-matched #areas-of-focus h2 {
  font-family: var(--zt-font-display) !important;
  font-size: clamp(38px, 4.8vw, 52px) !important;
  line-height: 1.07 !important;
  letter-spacing: -.03em !important;
  text-wrap: balance;
}
}
@media (min-width:701px) and (max-width:1000px) {
  html body .company-matched .zcf .stage { padding-inline: var(--zt-gutter-tablet) !important; }
  html[data-public-audience="patient"] body #top .hero-contain { width:calc(100% - 2 * var(--zt-gutter-tablet)) !important;margin-inline:auto!important; padding-inline:0!important; }
}
@media (max-width:600px) {
  html body .company-matched .zcf .stage { padding-inline:var(--zt-gutter-phone)!important; }
}
@media (prefers-reduced-motion:no-preference) {
  :is(html[data-public-audience] #overview .handoff-primary,html[data-public-audience] #top .light-pill, html .company-matched .zcf .primary) {
    transition: scale 160ms var(--zt-editorial-ease);
  }
  :is(html[data-public-audience] #overview .handoff-primary,html[data-public-audience] #top .light-pill, html .company-matched .zcf .primary):active { scale:.98; }
}
