/* ==========================================================================
   Work page figures

   Structure — contents column, headings, rules, the enquiry — comes from the
   shared document grammar in site.css. This file carries only what is
   particular to this page: the panorama, the family splits, the service
   register rows and the two published charts.

   The charts restate figures the site already publishes (each maintenance
   activity's stated on-site interval, and the four illustrative quotation
   fleets) and their notes say so. Nothing here is measured or claimed beyond
   that.
   ========================================================================== */
.work-page main.wrap { max-width: none; padding: 0; }
.work-eyebrow { font: 500 .6875rem/1.6 var(--font-grotesk); letter-spacing: .05em;
  text-transform: uppercase; margin: 0 0 var(--space-4); color: var(--ink-muted); }

/* --- Panorama: the site's one secondary illustration ----------------------- */
.work-panorama { margin: 0; }
.work-panorama > img { display: block; width: 100%; height: clamp(260px, 36vw, 560px);
  object-fit: cover; object-position: center 57%; }
.work-panorama figcaption { display: flex; justify-content: space-between; gap: 16px;
  padding-block: 16px; font-family: var(--font-grotesk); font-size: .6875rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }

/* --- Family split: schematic beside its service register ------------------ */
.work-family__split { display: grid; gap: var(--space-8); grid-template-columns: minmax(0, 1fr);
  align-items: start; margin-top: var(--space-6); }
@media (min-width: 900px) {
  .work-family__split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
.work-schematic { display: block; width: 100%; height: auto; margin: 0; }

/* --- Service register rows: references, so they read as references -------- */
.work-service-list { list-style: none; padding: 0; margin: 0; max-width: none;
  border-top: var(--rule-w-fine) solid var(--rule); }
.work-service-list li { margin: 0; padding: 0; }
.work-service-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 64px; padding: var(--space-4) 0;
  border-bottom: var(--rule-w-fine) solid var(--rule);
  color: var(--link); font: 400 clamp(1.125rem, 1.6vw, 1.4rem)/1.3 var(--font-heading);
  text-decoration: underline; text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--link) 40%, transparent);
  text-underline-offset: 3px; transition: color 150ms, padding 150ms; }
.work-service-list a:visited { color: var(--link-visited); }
.work-service-list a:hover, .work-service-list a:focus-visible {
  color: var(--link-hover); text-decoration-color: currentColor; padding-inline: 8px; }
.work-service-list a > span:last-child { font: 400 1.125rem var(--font-grotesk);
  text-decoration: none; transition: transform 150ms; }
.work-service-list a:hover > span:last-child { transform: translate(2px, -2px); }

/* --- Published evidence: the two charts ------------------------------------ */
.work-data__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px); margin-top: var(--space-6); }
.work-data__grid figure { margin: 0; min-width: 0; }
.work-data__grid figcaption .work-eyebrow { display: block; margin-bottom: 12px; }
.work-data__grid h3 { margin-bottom: var(--space-6); }
.cadence-chart__axis, .cadence-chart__row { display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 1.5fr); align-items: center; gap: 14px; }
.cadence-chart__axis { font-family: var(--font-grotesk); font-size: .625rem;
  margin-bottom: 12px; color: var(--ink-muted); }
.cadence-chart__axis > div, .cadence-chart__dots { display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center;
  justify-items: center; gap: 5px; }
.cadence-chart__row { min-height: 43px; border-bottom: var(--rule-w-fine) solid var(--rule-soft); }
.cadence-chart__label { font-family: var(--font-grotesk); font-size: .75rem; line-height: 1.4;
  color: var(--ink); }
.cadence-chart__dots > span { width: 100%; max-width: 12px; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--ink-muted); }
.cadence-chart__dots .is-scheduled { background: var(--evergreen); border-color: var(--evergreen); }
.work-chart-note { font-family: var(--font-grotesk); font-size: .75rem; line-height: 1.6;
  margin: var(--space-4) 0 var(--space-3); max-width: 56ch; color: var(--ink-muted); }
.fleet-chart__plot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fleet-chart__column { min-width: 0; text-align: center; }
.fleet-chart__track { height: 240px; border-bottom: 1px solid var(--evergreen);
  display: flex; align-items: flex-end; justify-content: center; }
.fleet-chart__bar { display: block; width: 70%; background: var(--evergreen); position: relative; }
.fleet-chart__bar > span { position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); font: 500 .75rem/1 var(--font-mono); color: var(--evergreen);
  white-space: nowrap; }
.fleet-chart__bar--64 { height: 6.25%; }
.fleet-chart__bar--128 { height: 12.5%; }
.fleet-chart__bar--256 { height: 25%; }
.fleet-chart__bar--1024 { height: 100%; }
.fleet-chart__column strong { display: block; margin-top: 12px; font-family: var(--font-grotesk);
  font-size: .8125rem; font-weight: 500; color: var(--evergreen); }
.fleet-chart__use { display: block; font-family: var(--font-grotesk); font-size: .625rem;
  color: var(--ink-muted); }

@media (max-width: 959px) {
  .work-data__grid { grid-template-columns: 1fr; gap: 48px; }
  .work-data__grid figure + figure { border-top: var(--rule-w-fine) solid var(--rule);
    padding-top: 32px; }
  .cadence-chart__axis, .cadence-chart__row { grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr); }
}
@media (max-width: 639px) {
  .work-panorama > img { height: 300px; }
  .work-panorama figcaption { font-size: .5625rem; letter-spacing: .03em; }
  .work-service-list a { min-height: 56px; }
  .cadence-chart__axis > div, .cadence-chart__dots { gap: 3px; }
  .fleet-chart__plot { gap: 12px; }
  .fleet-chart__track { height: 200px; }
  .cadence-chart__axis > div > span:not(:nth-child(3n)) { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .work-service-list a, .work-service-list a > span:last-child { transition: none; }
  .work-service-list a:hover > span:last-child { transform: none; }
}
/* Allow enlarged text to reflow without pushing the page beyond the viewport. */
.work-page h1, .work-page h2, .work-page h3, .work-service-list a { overflow-wrap: anywhere; }
