/* ============================================================================
   EMS-Trade Cooling · assets/pages-worker-7.css
   Bundle worker-7 · the telemetry line (four sheets). Loaded after
   assets/site.css, on those four pages only.

   SCOPE — only what the shared sheet does not carry:
     · the sheet-reference strip above the hero
     · hero H4 `document-head` with the small plate in the right four columns
     · hero H2 `split-copy-plate` — the meta line under the copy
     · hero H3 `plate-over-band` — the wide field and its band
     · hero H5 `specimen-index` — the row of specimens with the title on the
       left one, and the conversion control line under the row
     · the band carriers that give each visually distinct band its own element
     · a dark mount cell for a part photographed on black

   HOUSE RULE — single authoritative source for every class. This file declares
   no class name that site.css or design-tokens.css already defines, and no
   selector here mentions a shared class, not even as an ancestor:
   check-css-conflicts.py reads every selector in this file, so naming a shared
   class anywhere in it trips hard constraint 54. Where a shared component
   needs its own spacing, the markup wraps it in one of these w7- classes and
   the spacing lives on the wrapper.

   CSP: no inline style attribute and no <style> block anywhere on these pages.
   Every interface is a class; nothing is injected as a custom property.

   RATIOS: hard constraint 25 allows 3/2 · 2/3 · 1/1 · 3/4 only, and
   check-css-conflicts fails on 21/9, 17/9 and 16/9. The wide fields below are
   therefore height-driven in vw, exactly the way site.css sizes a hero
   photograph, and the 3:2 asset inside is cropped by object-fit.
   ========================================================================= */

/* ================================================== 1 · SHEET REFERENCE ===
   The strip above the hero naming where this sheet sits in the set. It
   carries the same two destinations the page's BreadcrumbList points at, so
   the structured data and the visible anchors describe the same two URLs. */

.w7-refs {
  border-bottom: var(--hair);
  background: var(--paper-2);
}

.w7-refs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  min-height: 40px;
  padding: var(--sp-2) 0;
  list-style: none;
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--muted);
}

.w7-refs li + li::before {
  content: "/";
  margin-right: var(--sp-2);
  color: var(--rule-strong);
}

.w7-refs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--link);
}

.w7-refs [aria-current="page"] {
  color: var(--ink);
}

/* ================================================ 2 · HERO H4 DOC HEAD ==
   `document-head`. The photograph is small and sits in the right four
   columns; the head is the document, not a picture. This sheet is the one
   that has no single hero object — five readings are taken at five places —
   so the page opens as a schedule and the loop hardware arrives in the strip
   below. The hero still carries a plate and a control, and the control is
   inside the first section so it lands above the fold at 1440x900. */

.w7-doc__cols {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: var(--sp-7);
  align-items: start;
}

.w7-doc__act {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  align-items: center;
  margin-top: var(--sp-5);
}

.w7-doc__note {
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--muted);
}

/* The small plate rides the top of the right column: it is the only
   photograph above the fold and is sized by its own ratio box. */
.w7-doc__plate {
  margin-top: var(--sp-5);
}

/* =========================================== 3 · HERO H2 SPLIT-COPY-PLATE ==
   The shared .hero--split already cuts the sheet 5fr / 7fr with a hairline
   between the halves. What this file adds is the meta line under the copy:
   the decisive figures of the page, in the utility face, one hairline above
   them. Nothing else about the split is restyled. */

.w7-copy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-5);
  padding-top: var(--sp-3);
  border-top: var(--hair);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--muted);
}

.w7-copy__meta b {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* The caption mount under the hero photograph. */
.w7-fig__cap {
  margin-top: var(--sp-3);
  padding-top: var(--sp-2);
  border-top: var(--hair-soft);
  font-family: var(--f-util);
  font-size: var(--fs-cap);
  line-height: 1.5;
  color: var(--body);
}

/* ============================================== 4 · HERO H3 PLATE-OVER ==
   `plate-over-band`: the photograph is above, the copy band overlaps its
   lower edge. The field is a 21:9 read at the design width and is therefore
   height-driven — 34vw lands just under 21:9 at 1180px and the clamp keeps a
   phone from turning it into a letterbox. The band itself is the shared one,
   on the frozen scrim, never lightened. */

.w7-over {
  border-bottom: var(--hair-strong);
  padding-bottom: var(--sp-7);
}

.w7-over__frame {
  height: clamp(340px, 34vw, 520px);
}

.w7-over__shot {
  height: 100%;
}

/* ============================================ 5 · HERO H5 SPECIMEN-INDEX ==
   `specimen-index`: a row of specimens with the title pressed onto the left
   one. The row is four ratio boxes on a ruled ground; the band sits on the
   scrim over the left half of the row. Under the row the page puts the
   control and the figures, so the h1 never depends on the picture behind it
   for legibility — the scrim is the ground, and it is measured at 5.07:1. */

.w7-indexsec {
  padding: var(--sp-8) 0 var(--sp-7);
}

.w7-index {
  margin: 0;
}

.w7-index__top {
  position: relative;
}

.w7-index__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: var(--hair-strong);
  background: var(--rule);
}

.w7-index__cell {
  background: var(--raise);
  padding: 1px;
}

/* Real parts on the index row, one ratio box each, contained rather than
   cropped: this is a row of specimens, not a row of scenes. */
.w7-index__shot {
  background: var(--raise);
  border: var(--hair-soft);
  overflow: hidden;
}

.w7-index__shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The band sits on the lower left of the row, over the leftmost specimen and
   a little beyond it. It carries the title only: the sentence and the control
   sit under the row, so no line of text depends on what is behind it. */
.w7-index__band {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(52%, 540px);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: clamp(16px, 1.8vw, 28px);
  background-color: var(--scrim-strong);
  color: var(--on-scrim);
}

.w7-index__band h1 {
  color: var(--on-scrim);
  font-size: var(--fs-h1);
  letter-spacing: var(--tr-display);
  line-height: var(--lh-tight);
  text-shadow: var(--shadow-text);
}

.w7-index__band .w7-index__lede {
  max-width: 42ch;
  font-size: var(--fs-lede);
  line-height: 1.45;
  color: var(--on-scrim-2);
  text-shadow: var(--shadow-text);
}

.w7-index__band .w7-index__eyebrow {
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--on-scrim-2);
  text-shadow: var(--shadow-text);
}

/* Under the row: the sentence, the control and the figures it is indexed on. */
.w7-index__below {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto minmax(0, 1fr);
  gap: var(--sp-4) var(--sp-7);
  align-items: center;
  margin-top: var(--sp-5);
}

.w7-index__text {
  max-width: 54ch;
  font-size: var(--fs-body);
  line-height: var(--lh-ui);
  color: var(--body);
}

.w7-index__figures {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--muted);
}

.w7-index__figures b {
  color: var(--ink);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

/* ==================================================== 6 · BAND CARRIERS ==
   Every visually distinct band of a body gets its own element, so the sheet
   reads as 图版 → 参数表 → 图版 → 数据行 and not as one column of text.
   The carrier is a class, not an extra <h2>: a data row is a band, and it
   does not need a heading to be one. */

.w7-sheet {
  padding-bottom: var(--sp-9);
}

.w7-band {
  padding-bottom: var(--sp-7);
}

.w7-band--head {
  padding-bottom: var(--sp-5);
}

.w7-band--tight {
  padding-bottom: var(--sp-5);
}

/* Two halves that are not a grid-* container: used where a real part
   photograph and a generated figure sit side by side. The two are different
   subjects, not a row of the same thing. */
.w7-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: start;
}

/* A mount for a part photographed against black. site.css mounts real parts
   on white; this cell gives the dark ground back to the photograph instead of
   printing a black rectangle inside a cream cell. */
.w7-darkcell {
  background: var(--plate);
  border-color: rgba(246, 244, 239, 0.18);
}

/* A footnote line under a schedule, in the utility face. */
.w7-under {
  margin-top: var(--sp-3);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--muted);
  max-width: 96ch;
}

.w7-under b {
  color: var(--ink);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
}

/* The two figures that close a request band. They sit under the ink plate on
   paper, so the plate stays a document and the photographs stay legible. */
.w7-ctarow {
  margin-top: var(--sp-8);
  padding-top: var(--sp-6);
  border-top: 2px solid var(--ink);
  background: var(--paper);
}

/* ========================================================= 7 · RESPONSIVE ==
   Under 1000px the document head stops being two columns; under 720px the
   specimen band leaves the row and becomes an ordinary ruled block under it,
   the way every other band on the site behaves when the picture behind it
   has shrunk to a postcard. */

@media (max-width: 1000px) {
  .w7-doc__cols {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .w7-doc__plate {
    margin-top: 0;
  }

  /* Three columns do not fit once the middle one is an unbreakable control
     row: measured 52px of sideways scroll at 768px. One column under it. */
  .w7-index__below {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .w7-index__strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .w7-index__band {
    position: static;
    width: 100%;
    background-color: var(--plate);
  }

  .w7-index__below {
    grid-template-columns: 1fr;
  }

  .w7-pair {
    grid-template-columns: 1fr;
  }

  .w7-over__frame {
    height: 240px;
  }
}
