/* Shared type tokens for reading, metadata and actions. Keep interface art untouched. */
:root {
  --type-readable-label: .875rem;
  --type-readable-detail: .9375rem;
  --type-readable-action: 1rem;
}

main .eyebrow,
.site-footer :is(.footer-directory h2, .footer-products h2, .footer-nav-heading) {
  font-size: var(--type-readable-label);
  line-height: 1.45;
}

main .editorial-case-card .eyebrow,
main .editorial-case-card .card-evidence > p,
main .card-evidence > p {
  font-size: var(--type-readable-label) !important;
  line-height: 1.35;
  letter-spacing: .065em;
}

main .editorial-case-card .home-case-services,
main .editorial-case-card .card-evidence-values span,
main .card-evidence-values span,
main .case-scope-inline dt,
main .editorial-case-card .proof-type {
  font-size: var(--type-readable-detail);
  line-height: 1.45;
}

main .editorial-case-card .home-case-services {
  color: #c5c1bb;
  row-gap: 5px;
}

main .editorial-case-card .card-evidence-values:has(> div:only-child) { grid-template-columns: minmax(0, 1fr); }

main .editorial-case-card .text-link { font-size: var(--type-readable-action) !important; }

main :is(.case-visual-caption a, .case-context-hero figcaption, .case-brief-body figcaption, .case-evidence-status,
         .capability-engagement > .eyebrow, .capability-engagement dt, .product-status, .product-site-soon,
         .scope-note, .metric small),
.site-footer :is(.footer-bottom, .footer-legal, .footer-journey small),
body .site-guide :is(.guide-page-nav a, .guide-page-nav-label, .guide-bar .guide-modes button, .guide-reopen),
main :is(.guide-recommendation-heading h3, .guide-result-list small) {
  font-size: var(--type-readable-label);
}

body .site-guide .guide-bar .guide-modes button { line-height: 1.3; }
body .site-guide .guide-page-nav { row-gap: 2px; }
body .site-guide .guide-page-nav a { line-height: 1.4; }

/* IHI interface and editorial copy share the same reading-scale defaults;
   keep product and client application exhibits faithful to their originals. */
.site-webinar-inner :is(p,a),
.site-footer :is(.footer-nav a,.footer-bottom a),
main :is(.product-index a span,.form-note,.case-media-caption,.artifact-caption),
body .site-guide :is(.guide-direct-contact,.advisory-note) {
  font-size: max(var(--type-readable-label),.875rem);
  line-height: 1.45;
}
main :is(.card-proof-label,.case-note,.product-site-soon,.inquiry-service) {
  line-height: 1.5;
}
main :is(input,select,textarea),
body .site-guide :is(input,select,textarea) {
  font-size: max(1rem,var(--type-readable-action));
}
.light :is(.eyebrow,.inline-link):not(.advisory-link) { color:#983911; }

/* At a reflow-height viewport the dedicated Ask page already carries its
   navigation modes in the page. Keep the dock to a single input row. */
@media (max-width: 620px) and (max-height: 360px) {
  .ask-page { padding-block-start: 20px; }
  .ask-intro-copy .heading { font-size: clamp(37px, 11vw, 54px); }
  body:has(#ask-page-content):not(.advisory-open) .guide-bar .guide-modes {
    display: none;
  }
  body:has(#ask-page-content):not(.advisory-open) #guide-bar {
    min-block-size: min(58px, var(--guide-dock-room, 58px));
  }
}

/* A single accessible setting keeps the cinematic surfaces free of controls. */
.footer-utilities { display:flex; flex-wrap:wrap; align-items:center; gap:0 20px; }
.footer-utilities [data-home-motion-setting] { color:#d4c9c0; border:0; background:none; padding:0 2px; min-height:44px; font:inherit; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
.footer-utilities [data-home-motion-setting][hidden] { display:none; }
.footer-utilities [data-home-motion-setting]:hover { color:#fff1e7; }
