/* hero-static.css - the element's own styles before and without the script: the still and the stages as a list.
   Built to dist/wikker-hero.css and linked from INSIDE the element (README), so the no-script view, a slow first
   load and every fallback are laid out before wikker-hero.js runs. Font paths are relative to dist/. */
@font-face { font-family: "WK Inter"; src: url("../fonts/InterVariable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "WK Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WK Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

.wk-machine {
  --wk-ink: #1d1f22; --wk-blue: #3b5278; --wk-grey: #66707d; --wk-rule: rgba(29, 31, 34, 0.14);
  --wk-mono: "WK Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  position: relative; color: var(--wk-ink); min-width: 0;
  font-family: "WK Inter", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-variant-numeric: tabular-nums;
}
.wk-machine .wk-ord, .wk-machine .wk-tag, .wk-machine__summary { font-family: var(--wk-mono); }
.wk-machine__still { margin: 0; }
.wk-machine__still img { display: block; width: auto; height: auto; max-width: 100%; max-height: 62vh; margin: 0 auto; }
.wk-machine__summary { margin: 12px 0 0; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wk-grey); }
.wk-machine__stages { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; font-size: 15px; }
.wk-machine__stages li { display: flex; gap: 8px; align-items: baseline; border-top: 1px solid var(--wk-rule); padding: 7px 0; }
.wk-ord { font-size: 11px; color: var(--wk-grey); letter-spacing: 0.06em; }
.wk-name { position: relative; }
.wk-tag { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wk-grey); }
.wk-machine__stages li[data-keep="false"] .wk-name { color: var(--wk-grey); text-decoration: line-through; }
@media (max-width: 699px) {
  .wk-machine__stages { font-size: 14px; }
  .wk-machine__still img { max-height: none; }
}
/* static on a wide screen: the still on the left, the stages in a column at its right, as the live labels sit, inside
   the element's own height. Below 1000 px the list stacks under the still, as on a phone (QA finding 9). */
@media (min-width: 1000px) {
  .wk-machine:not(.wk-live) { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto; column-gap: 32px; align-items: center; }
  .wk-machine:not(.wk-live) .wk-machine__still { grid-column: 1; grid-row: 1; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .wk-machine:not(.wk-live) .wk-machine__still img { max-height: 100%; }
  .wk-machine:not(.wk-live) .wk-machine__stages { grid-column: 2; grid-row: 1; grid-template-columns: 1fr; margin: 0; align-self: center; min-width: 190px; }
  .wk-machine:not(.wk-live) .wk-machine__summary { grid-column: 1 / -1; grid-row: 2; }
}
