/* ============================================================================
   EMS-Trade Cooling · pages-worker-6.css   (bundle worker-6 · thermal materials)
   Pages: /thermal-materials/ · /thermal-materials/gap-filler-pads/
          /thermal-materials/grease-and-pcm/ · /thermal-materials/graphite/

   Every selector below carries the w6- prefix and is defined in this file only,
   so the single-authority rule holds: one class, one stylesheet.

   What this bundle adds to the sheet language:
     · w6-index   — the specimen index head (H5): a row of real parts on white
                    mounts with the title pressed into the lower left of the
                    leftmost frame. Two compositions of the same variant.
     · w6-ladder  — the four interface ranges drawn on one shared scale from
                    1.0 to 15.0 W/m·K. A ladder a buyer reads across, not four
                    numbers in four cells that cannot be compared.
     · w6-marks   — the tick and the cross as drawn SVG, never a glyph
                    (a check mark character is an emoji-range code point).
     · the block carriers: the body of every page is a sequence of w6-block
       bands, so the density the whole sheet is judged on is carried by the
       markup rather than by one long section.

   Ratios stay inside the whitelist: 3/2 for anything with a photograph box.
   ========================================================================= */

/* ============================================================ 0 · THE HEAD ==
   The band the head of a page sits in. The specimen index head is a framed
   object, so it needs air above it; the plate-over-band head does too. */

.w6-hero {
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-8);
}

/* The split head puts its copy on paper, so it cannot borrow the on-scrim
   labels the specimen index uses: those are near-white by design. */
.w6-split__note {
  display: block;
  margin-top: var(--sp-3);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--muted);
}

.w6-split__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);
}

.w6-split__meta b {
  color: var(--ink);
  font-weight: 500;
}

/* ==================================================== 1 · SPECIMEN INDEX ==
   The H5 head. Height-driven, like every other frame on the sheet: the asset
   is 3/2 and CSS does the cropping, so the index reads as one mounted row of
   real parts with the title pressed into the leftmost frame. */

.w6-index {
  display: grid;
  grid-template-columns: 2.3fr repeat(4, minmax(0, 1fr));
  height: var(--hero-h);
  border: var(--hair-strong);
  background: var(--raise);
  box-shadow: var(--shadow-plate);
}

/* The second composition of the same variant: the lead frame takes the full
   height of the left column, and the four parts sit beside it in two rows.
   Same head, different page rhythm. */
.w6-index--ledger {
  grid-template-columns: 1.55fr repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr 1fr;
}

.w6-index--ledger .w6-index__lead {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.w6-index--ledger .w6-index__cell {
  border-bottom: var(--hair-soft);
}

.w6-index--ledger .w6-index__cell:nth-child(3),
.w6-index--ledger .w6-index__cell:nth-child(5) {
  border-right: 0;
}

.w6-index--ledger .w6-index__cell:nth-child(4),
.w6-index--ledger .w6-index__cell:nth-child(5) {
  border-bottom: 0;
}

.w6-index__lead {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-right: var(--hair-soft);
}

.w6-index__shot,
.w6-index__shot img {
  display: block;
  width: 100%;
  height: 100%;
}

.w6-index__shot img {
  object-fit: cover;
}

/* The band on the lead frame. Scrim and gradient are the frozen pair: the
   measured worst case under it is 5.07:1 for --on-scrim and 4.69:1 for
   --on-scrim-2. The band sits at the lower left corner of the leftmost frame,
   which is where the brief puts the copy for this variant. */
.w6-index__slip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--band-y) var(--band-x);
  background-color: var(--scrim);
  background-image: linear-gradient(180deg, var(--scrim) 0%, var(--scrim-deep) 100%);
  color: var(--on-scrim);
}

.w6-index__slip h1 {
  color: var(--on-scrim);
  font-size: var(--fs-h1);
  letter-spacing: var(--tr-display);
  max-width: 21ch;
  text-shadow: var(--shadow-text);
}

.w6-index__eyebrow {
  display: block;
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--stamp-on-plate);
}

.w6-slip__lede {
  margin-top: var(--sp-3);
  max-width: 46ch;
  font-size: var(--fs-data);
  line-height: 1.5;
  color: var(--on-scrim-2);
  text-shadow: var(--shadow-text);
}

.w6-slip__act {
  margin-top: var(--sp-4);
}

.w6-index__note {
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--on-scrim-2);
  text-shadow: var(--shadow-text);
}

.w6-index__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-4);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--on-scrim-2);
  text-shadow: var(--shadow-text);
}

.w6-index__meta b {
  color: var(--on-scrim);
  font-weight: 500;
}

/* One part per cell, on its own mount. object-fit is contain: a supplier
   photograph of a part is not a photograph of a scene, and cropping it to a
   ratio would cut the part. Same reason the header frame is grid + auto. */
.w6-index__cell {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-right: var(--hair-soft);
  min-width: 0;
  color: var(--ink);
  transition: background var(--dur-2) var(--ease);
}

.w6-index__cell:last-child {
  border-right: 0;
}

.w6-index__cell:hover {
  background: var(--link-wash);
  text-decoration: none;
}

.w6-index__mount {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: var(--sp-3);
  overflow: hidden;
  background: var(--raise);
}

.w6-index__mount img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--dur-3) var(--ease-out);
}

.w6-index__cell:hover .w6-index__mount img {
  transform: scale(1.03);
}

.w6-index__key {
  padding: var(--sp-3);
  border-top: var(--hair-soft);
}

.w6-index__no {
  display: block;
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-label);
  color: var(--stamp);
}

.w6-index__name {
  display: block;
  margin-top: 2px;
  font-family: var(--f-display);
  font-size: var(--fs-data);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.w6-index__spec {
  display: block;
  margin-top: 2px;
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ======================================================= 2 · BLOCK CARRIERS ==
   One class per visually distinct band. The body of a page is this sequence,
   not one section that happens to contain four bands. */

.w6-block {
  padding-bottom: var(--sp-8);
}

.w6-block--head {
  padding-bottom: var(--sp-4);
}

.w6-block--tight {
  padding-bottom: var(--sp-5);
}

/* A block that is a framed object: no trailing padding of its own, the frame
   carries the rhythm. */
.w6-block--frame {
  padding-bottom: var(--sp-6);
}

/* A figure that sits in a grid cell. Without the zero minimum a 1536px
   photograph is the track's automatic minimum and the whole grid is pushed
   off the sheet, which is what a bare 1fr track does. */
.w6-fig {
  min-width: 0;
}

/* ========================================================= 3 · THE LADDER ==
   Four interface ranges on one shared scale, so the four classes can be
   compared across the page instead of read as four unrelated numbers. The
   track spans 1.0 to 15.0 W/m·K; each fill is positioned in per cent of that
   span, which is why the four rows line up. */

.w6-ladder {
  border: var(--hair);
  background: var(--raise);
}

.w6-ladder__head,
.w6-ladder__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 168px;
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-3) var(--sp-4);
}

.w6-ladder__head {
  border-bottom: var(--hair);
  background: var(--paper-2);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: var(--tr-micro);
  color: var(--muted);
}

.w6-ladder__row {
  border-bottom: var(--hair-soft);
}

.w6-ladder__row:last-child {
  border-bottom: 0;
}

.w6-ladder__row:hover {
  background: var(--link-wash);
}

.w6-ladder__name {
  font-family: var(--f-display);
  font-size: var(--fs-data);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.w6-ladder__name span {
  display: block;
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--muted);
  margin-top: 2px;
}

.w6-ladder__track {
  position: relative;
  height: 14px;
  background: var(--paper-2);
  border-left: var(--hair-strong);
  border-right: var(--hair-strong);
}

.w6-ladder__fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(13, 116, 206, 0.14);
  border-left: 2px solid var(--link-brand);
  border-right: 2px solid var(--link-brand);
}

/* 1.0 to 15.0 W/m·K across the track: left = (min-1)/14, width = (max-min)/14. */
.w6-fill--grease   { left: 0;     width: 35.7%; }
.w6-fill--pad      { left: 1.4%;  width: 45%; }
.w6-fill--pcm      { left: 7.1%;  width: 46.4%; }
.w6-fill--graphite { left: 14.3%; width: 85.7%; }

.w6-ladder__val {
  font-family: var(--f-util);
  font-size: var(--fs-data);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.w6-ladder__val span {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.w6-ladder__axis {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-2) var(--sp-4) 0;
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ========================================================== 4 · THE MARKS ==
   A tick and a cross drawn as stroke, not typed. U+2713 sits in the emoji
   block and is caught by the no-emoji gate; a drawn path is also the only way
   to keep the two marks the same optical weight. */

.w6-tick,
.w6-cross {
  fill: none;
  width: 15px;
  height: 15px;
  vertical-align: -2px;
}

.w6-tick {
  stroke: var(--link-brand);
  stroke-width: 2.2;
}

.w6-cross {
  stroke: var(--stamp-brand);
  stroke-width: 2.2;
}

/* ==================================================== 5 · LISTS AND PAIRS ==
   Two loose bands that the briefs ask for by name: the misuse list (one line
   per entry, each with the consequence it produces) and the two-up frame
   row used where a block carries two photographs of the same subject. */

.w6-misuse {
  list-style: none;
  border-top: var(--hair-strong);
}

.w6-misuse li {
  display: grid;
  grid-template-columns: 30px minmax(0, 190px) minmax(0, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: var(--hair-soft);
  align-items: baseline;
}

.w6-misuse li b {
  font-family: var(--f-display);
  font-size: var(--fs-data);
  font-weight: 600;
  color: var(--ink);
}

.w6-misuse li span {
  font-size: var(--fs-data);
  line-height: var(--lh-ui);
  color: var(--body);
}

.w6-misuse__no {
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-label);
  color: var(--stamp);
}

.w6-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
}

/* ==================================================== 6 · MATERIAL MOUNTS ==
   A real part photographed on a white ground, mounted on the sheet as a
   specimen with its number, name and one line of specification. */

.w6-mat {
  border: var(--hair);
  background: var(--raise);
}

.w6-mat__mount {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  background: var(--raise);
  border-bottom: var(--hair-soft);
}

.w6-mat__mount img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.w6-mat__key {
  padding: var(--sp-4);
}

.w6-mat__no {
  display: block;
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  letter-spacing: var(--tr-label);
  color: var(--stamp);
}

.w6-mat__name {
  display: block;
  margin-top: 2px;
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: var(--tr-title);
}

.w6-mat__spec {
  display: block;
  margin-top: var(--sp-2);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--muted);
}

.w6-mat__note {
  display: block;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: var(--hair-soft);
  font-size: var(--fs-cap);
  line-height: 1.5;
  color: var(--body);
}

/* ====================================================== 7 · AXIS SPLIT ====
   Graphite and graphene sheet are anisotropic: the same sheet carries two
   conductivities a decade apart, and a figure that does not name its axis is
   not comparable with anything. This band states which axis the sheet is
   indexed on, without inventing the second figure. */

.w6-axis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: var(--hair);
  background: var(--raise);
}

.w6-axis > div {
  padding: var(--sp-5);
  border-right: var(--hair-soft);
}

.w6-axis > div:last-child {
  border-right: 0;
}

.w6-axis h3 {
  font-size: var(--fs-h4);
  letter-spacing: var(--tr-title);
}

.w6-axis p {
  margin-top: var(--sp-3);
  font-size: var(--fs-data);
  line-height: var(--lh-ui);
  color: var(--body);
}

.w6-axis__tag {
  display: inline-block;
  margin-bottom: var(--sp-3);
  padding: 3px 8px;
  background: var(--link-wash);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--link);
}

.w6-axis__tag--hold {
  background: var(--stamp-wash);
  color: var(--stamp);
}

.w6-axis__fig {
  display: block;
  margin-top: var(--sp-4);
  font-family: var(--f-util);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ==================================================== 8 · DOCUMENT STRIP ==
   What travels with the goods. One cell per document, ruled, no paragraph. */

.w6-docstrip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-bottom: var(--hair);
}

.w6-docstrip > div {
  padding: var(--sp-4) var(--sp-3);
  border-right: var(--hair-soft);
}

.w6-docstrip > div:last-child {
  border-right: 0;
}

.w6-docstrip b {
  display: block;
  font-family: var(--f-display);
  font-size: var(--fs-data);
  font-weight: 600;
  color: var(--ink);
}

.w6-docstrip span {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--fs-cap);
  line-height: 1.45;
  color: var(--body);
}

.w6-docstrip small {
  display: block;
  margin-top: var(--sp-2);
  font-family: var(--f-util);
  font-size: var(--fs-micro);
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ======================================================= 9 · RANGE READOUT ==
   The four classes as one line of figures under a plate, with the failure of
   each class on the same line: the pairing the brief asks for. */

.w6-readout {
  border-top: var(--hair-strong);
}

.w6-readout__row {
  display: grid;
  grid-template-columns: 190px 150px minmax(0, 1fr);
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: var(--hair-soft);
  align-items: baseline;
}

.w6-readout__row:last-child {
  border-bottom: 0;
}

.w6-readout__row b {
  font-family: var(--f-display);
  font-size: var(--fs-data);
  font-weight: 600;
  color: var(--ink);
}

.w6-readout__val {
  font-family: var(--f-util);
  font-size: var(--fs-data);
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.w6-readout__row span {
  font-size: var(--fs-data);
  line-height: var(--lh-ui);
  color: var(--body);
}

/* ==================================================== 9b · THE REQUEST BAND ==
   The conversion device sits outside the ruled column, so it carries its own
   top division: the link-blue bar the primary control already uses, run full
   width. Nothing is added to the band itself, which is a frozen component. */

.w6-cta {
  border-top: var(--bw-bar) solid var(--link-brand);
}

/* ========================================================= 10 · RESPONSIVE = */

@media (max-width: 1080px) {
  .w6-index {
    grid-template-columns: 2fr repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr 1fr;
    height: auto;
  }

  .w6-index__lead {
    grid-row: 1 / span 2;
  }

  .w6-index--ledger {
    grid-template-columns: 1.4fr repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .w6-index,
  .w6-index--ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    height: auto;
  }

  .w6-index__lead,
  .w6-index--ledger .w6-index__lead {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 420px;
    border-right: 0;
  }

  .w6-index__cell {
    border-top: var(--hair-soft);
  }

  .w6-index__mount {
    padding: var(--sp-2);
  }

  .w6-ladder__head,
  .w6-ladder__row {
    grid-template-columns: minmax(0, 1fr) 110px;
    gap: var(--sp-2) var(--sp-3);
  }

  .w6-ladder__head {
    display: none;
  }

  .w6-ladder__track {
    grid-column: 1 / -1;
    order: 3;
  }

  .w6-misuse li {
    grid-template-columns: 26px minmax(0, 1fr);
  }

  .w6-misuse li b {
    grid-column: 2;
  }

  .w6-pair,
  .w6-axis,
  .w6-docstrip {
    grid-template-columns: minmax(0, 1fr);
  }

  .w6-axis > div,
  .w6-docstrip > div {
    border-right: 0;
    border-bottom: var(--hair-soft);
  }

  .w6-readout__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--sp-2) var(--sp-3);
  }

  .w6-readout__row span {
    grid-column: 1 / -1;
  }
}

/* ============================================================ 11 · PRINT = */

@media print {
  .w6-index {
    height: auto;
  }

  .w6-index__slip {
    position: static;
    background: none;
    color: var(--ink);
  }

  .w6-index__slip h1,
  .w6-slip__lede,
  .w6-index__meta {
    color: var(--ink);
    text-shadow: none;
  }
}
