/* ZMKVS readability scale v2 */
html { font-size: 18px; }
:root {
  --fs-micro: 0.75rem;      /* 13.5px */
  --fs-small: 0.8125rem;    /* 14.6px */
  --fs-secondary: 0.875rem; /* 15.8px */
  --fs-body: 0.9375rem;     /* 16.9px */
  --fs-body-large: 1rem;    /* 18px */
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Brand and navigation */
.brand-subtitle { font-size: 0.72rem; line-height: 1.35; }
.brand-mark { font-size: 0.82rem; line-height: 1; }
.home-route__label { font-size: var(--fs-micro); line-height: 1.3; }
.home-route a { font-size: 0.875rem; }
.mobile-dock a { font-size: var(--fs-micro); line-height: 1.2; }
.detail-nav a { font-size: 0.9rem; line-height: 1.4; }
.detail-nav a span { font-size: var(--fs-micro); line-height: 1; }

/* Labels, chips and disclosures */
.eyebrow,
.eyebrow.light { font-size: 0.78rem; line-height: 1.35; }
.page-chip { font-size: var(--fs-micro); line-height: 1.3; }
.case-hero-note,
.case-hero-note--review { font-size: 0.8rem; line-height: 1.5; }
.media-disclosure,
#production .production-live-layout .media-disclosure,
#projects .featured-editorial-case .media-disclosure { font-size: var(--fs-micro); line-height: 1.3; }
.project-proof__status { font-size: 0.72rem; line-height: 1.3; }
.case-metrics__status { font-size: var(--fs-micro); line-height: 1.4; }
.brief-caption,
.brief-kicker,
.contour-result__kicker,
.contour-result__input small { font-size: var(--fs-micro); line-height: 1.3; }
.capability-status { font-size: var(--fs-micro); line-height: 1.2; }

/* Home blocks */
.hero-fact span { font-size: var(--fs-secondary); line-height: 1.45; }
#cycle .cycle-step__content > p { font-size: var(--fs-secondary); line-height: 1.55; }
#cycle .cycle-step__output { font-size: var(--fs-secondary); line-height: 1.5; }
#cycle .cycle-step__output strong { font-size: 0.72rem; line-height: 1.3; }
.contour-result__note { font-size: var(--fs-micro); line-height: 1.45; }
.contour-result__input p { font-size: var(--fs-secondary); line-height: 1.5; }
#estimate .estimate-prep > ul span { font-size: var(--fs-secondary); line-height: 1.5; }

/* Production and capabilities */
#production .editorial-episode__copy p { font-size: var(--fs-secondary); line-height: 1.55; }
#production .production-live-episodes__link { font-size: var(--fs-secondary); line-height: 1.4; }
.capability-metric span { font-size: var(--fs-secondary); line-height: 1.5; overflow-wrap: anywhere; }
.capability-equipment-grid p,
.capability-doc-list p { font-size: var(--fs-secondary); line-height: 1.55; }
.capability-control-grid p { font-size: 0.9rem; line-height: 1.6; }
.capability-entry > p,
.capability-panel > p:not(.eyebrow),
.capability-request p:not(.eyebrow) { font-size: var(--fs-body); line-height: 1.65; }
.production-media-card figcaption small { font-size: 0.9rem; line-height: 1.5; }

/* Services */
.service-page-note { font-size: var(--fs-secondary); line-height: 1.6; }
.service-page-cards p,
.service-page-steps p { font-size: var(--fs-body); line-height: 1.65; }
.service-page-brief dd { font-size: var(--fs-body); line-height: 1.6; }
.service-card p { font-size: var(--fs-body); line-height: 1.6; }

/* Cases and projects */
.case-brief dt { font-size: var(--fs-secondary); line-height: 1.4; }
.case-brief dd { font-size: 0.9rem; line-height: 1.45; }
.case-scope span,
.case-steps p { font-size: 0.9rem; line-height: 1.55; }
.case-story-card figcaption small { font-size: var(--fs-secondary); line-height: 1.5; }
#projects .featured-editorial-case__copy > p { font-size: 0.9rem; line-height: 1.6; }
#projects .featured-editorial-case__copy > small { font-size: var(--fs-micro); line-height: 1.3; }
#projects .featured-editorial-case__cta { font-size: var(--fs-secondary); line-height: 1.4; }
#projects .project-scenarios__heading > p,
#projects .project-scenarios__heading > :last-child:not(:first-child) { font-size: 0.9rem; line-height: 1.6; }
.project-proof__link { font-size: 0.9rem; line-height: 1.4; }

/* Forms and footer */
.form-mode-note,
.noscript-note { font-size: var(--fs-small); line-height: 1.55; }
.brief-step-heading p { font-size: var(--fs-secondary); line-height: 1.5; }
.brief-progress li > strong { font-size: 0.84rem; }
.field input,
.field select,
.field textarea { font-size: 1rem; }
.field label,
.field-label { font-size: var(--fs-small); line-height: 1.35; }
.field-error { font-size: var(--fs-small); line-height: 1.4; }
.footer-column h3 { font-size: var(--fs-micro); line-height: 1.3; }
.footer-column a,
.footer-column span { font-size: var(--fs-secondary); line-height: 1.45; }
.footer-bottom { font-size: 0.8rem; line-height: 1.5; }

/* Secondary labels that were previously 9–11px. */
.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span { font-size: 0.78rem; line-height: 1.4; }
.service-page-steps li > span,
.service-page-cards article > span,
.service-page-related__grid a > span,
.capability-equipment-grid article > span,
.capability-control-grid article > span,
.detail-media figcaption span,
.production-media-card figcaption span,
.case-story-card figcaption span,
.case-validation article > span { font-size: var(--fs-micro); line-height: 1.35; }
.service-page-brief dt { font-size: var(--fs-small); line-height: 1.4; }
.service-page-visual figcaption span { font-size: var(--fs-micro); line-height: 1.3; }
.service-page-visual figcaption small { font-size: 0.78rem; line-height: 1.45; }
.contour-options label span { font-size: 0.8125rem; line-height: 1.35; }
.brief-progress li > span,
.brief-step-heading > span,
.production-stage-tabs button > span,
.production-stage-panel__head > span { font-size: var(--fs-micro); line-height: 1.3; }
.brief-progress li > strong { font-size: var(--fs-small); line-height: 1.3; }
.case-brief > span,
.capability-panel--visual > span { font-size: var(--fs-micro); line-height: 1.35; }
.capability-equipment-grid article > small,
.capability-metric > small,
.production-stage-tabs button > small { font-size: 0.78rem; line-height: 1.4; }
.production-stage-facts dt,
.production-stage-panel__head small { font-size: 0.78rem; line-height: 1.4; }
.production-visual__caption span { font-size: 0.75rem; line-height: 1.3; }
.production-visual__caption small { font-size: var(--fs-small); line-height: 1.45; }
#production .editorial-episode__copy > small { font-size: var(--fs-micro); line-height: 1.3; }
.capability-caption { font-size: var(--fs-small); line-height: 1.55; }
.case-compare__controls label,
.case-compare__titles a { font-size: 0.78rem; line-height: 1.35; }
.case-compare__row > span { font-size: var(--fs-micro); line-height: 1.3; }
.case-compare__row > strong { font-size: 0.78rem; line-height: 1.35; }
#cycle .cycle-step__output strong,
#cycle .cycle-step__summary small { font-size: var(--fs-micro); line-height: 1.3; }
.capabilities-jump__inner > span { font-size: var(--fs-micro); line-height: 1.4; }
.brand-subtitle { font-size: 0.75rem; }
.project-proof__status { font-size: var(--fs-micro); }

/* Keep enlarged type inside narrow cards. */
.service-card,
.capability-entry,
.case-brief,
.case-story-card,
.production-media-card { min-width: 0; }
.service-card p,
.capability-entry p,
.case-brief dd,
.case-story-card figcaption small,
.production-media-card figcaption small { overflow-wrap: break-word; }

.capability-metric strong { overflow-wrap: anywhere; }

@media (max-width: 640px) {
  .case-compare__titles,
  .case-compare__row { grid-template-columns: 92px repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 360px) {
  .hero-fact strong { font-size: 0.82rem; letter-spacing: -0.06em; }
  .capability-metric strong { font-size: 1.7rem; white-space: normal; }
}

@media (max-width: 480px) {
  .service-page-hero__content h1,
  .page-hero h1 { font-size: 2rem; line-height: 1.02; }
  .service-page-overview h2,
  .service-page-result h2,
  .case-intro-grid h2,
  .case-result h2 { font-size: 1.75rem; line-height: 1.05; overflow-wrap: anywhere; }
  .hero-fact strong { font-size: 0.9rem; }
  .brand-subtitle { font-size: 0.68rem; }
  .case-hero-note,
  .case-hero-note--review { font-size: 0.78rem; }
  .footer-column a,
  .footer-column span { font-size: 0.85rem; }
}
