/* ==========================================================================
   H&H Machine Tools - Layout and components
   "Industrial redline" system, from the Claude Design handoff (Aug 2026):
   dark grounds, one loud red, condensed uppercase display type, mono
   annotations, hard square corners. Tokens live in tokens.css only.
   Hairline rules, no cards, no shadows, no gradients, radius 0.
   ========================================================================== */

body {
  background: var(--hh-black-1);
  color: var(--hh-dtext-1);
}

::selection { background: var(--hh-red); color: #fff; }

a {
  color: var(--hh-dtext-1);
  text-decoration-color: var(--hh-red);
}
a:hover { color: var(--hh-red); }

/* Focus: red outline everywhere except on red surfaces, where it inverts. */
:focus-visible {
  outline: 2px solid var(--hh-red);
  outline-offset: 2px;
}
.on-red :focus-visible,
.on-red:focus-visible {
  outline-color: #fff;
}

/* --------------------------------------------------------------------------
   1. Skip link
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--hh-red);
  color: #fff;
  padding: var(--sp-1) var(--sp-2);
  text-decoration: none;
  z-index: 10;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   2. Page gutter
   Design gutter is 56px at 1440; scales down on smaller viewports.
   -------------------------------------------------------------------------- */

:root {
  --gutter: clamp(1.25rem, 3.9vw, 3.5rem);
}

.shell {
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------------------
   3. Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--hh-dline-1);
  background: var(--hh-black-1);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--hh-dtext-1);
  white-space: nowrap;
}
.brand:hover { color: var(--hh-dtext-1); }

.brand__mark {
  width: 30px;
  height: 30px;
  display: block;
}

.brand__name {
  font-weight: 700;
  font-size: 20px;
}
.brand__name span {
  color: var(--hh-dtext-5);
  font-weight: 500;
}

.nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--hh-dtext-3);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}
.nav__link:hover { color: var(--hh-dtext-1); }
.nav__link[aria-current="page"] {
  color: var(--hh-dtext-1);
  border-bottom-color: var(--hh-red);
}

.nav__cta {
  background: var(--hh-red);
  color: #fff;
  font-family: var(--font-data);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 22px;
  transition: background-color 150ms ease;
}
.nav__cta:hover { background: var(--hh-red-dark); color: #fff; }

.nav__toggle {
  display: none;
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--hh-dline-3);
  color: var(--hh-dtext-1);
  padding: var(--sp-1) var(--sp-2);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 17px 36px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  cursor: pointer;
}

/* On red ground: solid ink button + white outline button. */
.btn--ink {
  background: var(--hh-panel);
  color: #fff;
}
.btn--ink:hover { background: #000; color: #fff; }

.btn--outline-white {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: transparent;
}
.btn--outline-white:hover { border-color: #fff; color: #fff; }

/* On dark ground: solid red primary. */
.btn--red {
  background: var(--hh-red);
  color: #fff;
}
.btn--red:hover { background: var(--hh-red-dark); color: #fff; }

/* --------------------------------------------------------------------------
   5. Hero - red/black split (option 1c geometry via 4a)
   -------------------------------------------------------------------------- */

/* Full-width claim band (2026-08 strata layout): no render column up here,
   the machines each get their own stratum below. */
.hero {
  display: block;
}

.hero__pitch {
  background: var(--hh-red);
  color: #fff;
  padding: clamp(2rem, 4vw, 3.25rem) var(--gutter) clamp(2rem, 4vw, 3.25rem);
}

.kicker {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 1; /* 0.85 white on red fails 4.5:1 at 13px (AUDIT P1-8) */
  margin: 0 0 30px;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.6rem, 9.6vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  max-width: none;
}
.hero__headline .full-stop { color: var(--hh-panel); }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
}

.head-figure {
  margin: var(--sp-4) 0 0;
  max-width: 320px;
}
.head-figure img {
  width: 100%;
  height: auto;
  display: block;
}
.head-figure figcaption {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-5);
  margin-top: var(--sp-1);
}

/* --------------------------------------------------------------------------
   5a2. Shared-element morph
   The hero render and the machine page's hero image carry the same
   view-transition-name, so navigating between them morphs the image from one
   layout slot to the other instead of cutting.
   -------------------------------------------------------------------------- */

.vt-machine,
.machine-hero img {
  view-transition-name: machine-render;
}

::view-transition-group(machine-render) {
  animation-duration: 320ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
}

/* --------------------------------------------------------------------------
   5a4. Machine page head: split layout with the render on the same line
   Intro left, framed render panel right, and the outlined designation
   watermark (data-mark) running behind both. The panel image carries the
   machine-render view-transition-name, so the morph lands here.
   -------------------------------------------------------------------------- */

.page-head--split {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 560px);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: end;
}

/* On split heads the watermark sits behind the left column, running under
   the opaque panel edge rather than hidden behind it. */
.page-head--split[data-mark]::after {
  right: auto;
  left: calc(var(--gutter) * -0.3);
}

/* No container: the render sits directly on the page ground, big enough to
   overhang the content BELOW it (never the header above: it is in flow, so it
   can only push the head taller, not cover it). The page head clips
   horizontally but lets the overhang through vertically, and stacks above
   the following section so the machine paints over it. */
/* The image is absolutely anchored to the TOP of its column, so the head's
   height comes from the text alone (no dead air above the title); everything
   the image measures beyond the text height hangs below, over the next
   section. */
.machine-hero {
  margin: 0;
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: 340px;
  pointer-events: none;
}
.machine-hero img {
  position: absolute;
  /* raised into the head's top padding, still well inside the page head */
  top: clamp(-56px, -3.5vw, -28px);
  left: 50%;
  transform: translateX(-50%);
  display: block;
  /* Constant size across viewport widths (per Alex): fixed height, stepped
     down at breakpoints rather than scaling fluidly with vh/vw. Horizontal
     excess clips at the head edge (overflow-x: clip). */
  height: 520px;
  width: auto;
  max-width: none;
}

/* Doubled class so this beats the artistic layer's later
   `.page-head { overflow: hidden }` at the cascade: without it the render's
   downward overhang is painted-clipped at the section seam even though its
   layout box extends past it. */
.page-head.page-head--split {
  overflow-x: clip;
  overflow-y: visible;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   5a6. Stat strip - heavy-ruled fact row (machine pages + home proof band)
   -------------------------------------------------------------------------- */

.statstrip {
  display: flex;
  align-items: stretch;
  border-top: 2px solid var(--hh-dtext-1);
  border-bottom: 2px solid var(--hh-dtext-1);
}
.statstrip__cell {
  flex: 1;
  padding: 20px var(--gutter);
  border-right: 1px solid var(--hh-dline-1);
}
.statstrip__cell:last-child { border-right: 0; }
.statstrip__v {
  display: block;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  white-space: nowrap;
}
.statstrip__v--red { color: var(--hh-red); }
.statstrip__l {
  display: block;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   5a7. Slash list (specified around your work) + tooling cards
   -------------------------------------------------------------------------- */

.speclist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  align-content: start;
}
.speclist__item {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hh-dline-1);
  font-size: var(--text-sm);
  color: var(--hh-dtext-2);
}
.speclist__item::before {
  content: "/";
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--hh-red);
}

.toolcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.toolcards--four { grid-template-columns: repeat(4, 1fr); }
.toolcards--four .toolcard__art { height: 180px; }
.toolcard {
  background: var(--hh-panel);
  border: 1px solid var(--hh-dline-1);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.toolcard__art {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toolcard__art img, .toolcard__art svg { max-height: 100%; max-width: 100%; }
/* Hairline figures (MIT, /js/hairline-LICENSE.txt). The kernel injects its
   own base styles; these six variables are its whole palette, so the
   figures take the site's tokens here and nowhere else. */
.hl {
  position: relative;
  --hairline-plate: var(--hh-panel);
  /* Engineering colour system (approved 2026-11-12). Meaning, not decoration:
     grey = stationary structure; red (.hi) = the mechanism being demonstrated,
     as the machines' own heads and rams are red; dark red dashed (.guide) =
     motion and toolpaths; red dot = measurement or contact point; white
     (.tool, .dot.t) = tools, probes, the single point of focus. No fills,
     gradients or glows. Kernel rules are :where(), so these win. */
  --hairline-hi: var(--hh-red);
  --hairline-edge: #9DA2A7;
  --hairline-mid: #5A5F65;
  --hairline-lo: #3F4348;
  --hairline-stroke: 1;
}
.hl svg .hi { stroke-width: 1.5px; }
.hl svg .tool { stroke: var(--hh-dtext-1); stroke-width: 1.25px; }
.hl svg .guide { fill: none; stroke: var(--hh-red-dark); stroke-dasharray: 4 3; }
.hl svg .dot.t { fill: var(--hh-dtext-1); }
/* The drafting grid sits further back behind drawings so the outlines lead. */
.toolcard__art.hl,
.figlead__art {
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px);
}
/* Capabilities drawings fill their card's width rather than a fixed height. */
.figsection .toolcards .toolcard { min-width: 0; }
.figsection .toolcards .toolcard__art { height: auto; }
.figsection .toolcards .hl__stage { width: 100%; max-width: 460px; height: auto; }
.hl__stage { height: 100%; aspect-ratio: 5 / 4; max-width: 100%; }
.hl__read {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--hh-dtext-3);
  pointer-events: none;
}
.toolcard__head {
  border-top: 1px solid var(--hh-dline-1);
  padding-top: 12px;
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.toolcard__name {
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.toolcard__tag {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* neutral, not red: 10px red fails contrast (INF-6) */
  color: var(--hh-dtext-2);
  white-space: nowrap;
}
.toolcard__body {
  font-size: var(--text-xs);
  color: var(--hh-dtext-4);
  line-height: 1.55;
  margin: 6px 0 0;
  max-width: none;
}

/* --------------------------------------------------------------------------
   5a8. Hazard stripe - machine page footer divider
   -------------------------------------------------------------------------- */

.hazard {
  height: 14px;
  background: repeating-linear-gradient(-45deg,
    var(--hh-red) 0 14px, var(--hh-panel) 14px 28px);
}

/* --------------------------------------------------------------------------
   5d. Hero claim band (2026-08 strata layout): the claim on red, full width.
   -------------------------------------------------------------------------- */

/* Tighter than the render-era hero: the claim band hands off to the
   flagship stratum fast, so the first machine lands at the fold. */
.hero__pitch {
  padding: clamp(2.25rem, 4.5vw, 3.25rem) var(--gutter);
}

/* With the lede in play, the claim steps down from the banner-era 10rem cap
   so the hero stays around one screen. */
.hero .hero__headline {
  font-size: clamp(3.2rem, 7.2vw, 7.5rem);
  text-wrap: balance;
}
.hero__pitch .hero__ctas { margin-top: 36px; }

/* Split hero (2026-11-12): the claim on red, the ULTRA5 render on the dark
   ground beside it, so Home opens on a machine. Stacks below 1000 px. */
.hero__stage {
  background: var(--hh-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter);
}
.hero__stage img { display: block; width: 100%; height: auto; max-width: 520px; }
@media (min-width: 1000px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hero .hero__headline { font-size: clamp(3rem, 5.2vw, 5.75rem); }
  .hero__stage img { max-width: 640px; }
}

.hero__lede {
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
  margin: var(--sp-3) 0 0;
}

/* --------------------------------------------------------------------------
   5e. The range as strata: one full-width band per machine, stacked as an
   ascent. At three models a card grid reads as a catalog fragment; a
   sequence of equal-weight bands reads as a range. Render sides alternate
   for rhythm; the flagship stratum is largest. Hairline rules and the dark
   ground do all the separation: no boxes, the machines float.
   -------------------------------------------------------------------------- */

.range.section { padding-top: clamp(2rem, 3vw, 2.75rem); padding-bottom: 0; }
.range .section__head { margin-bottom: 16px; }

.stratum {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  grid-template-areas: "text stage";
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2rem, 3.5vw, 3rem) var(--gutter);
  border-top: 1px solid var(--hh-dline-1);
  text-decoration: none;
  color: inherit;
}
.stratum:hover { color: inherit; }

.stratum--flip {
  grid-template-columns: minmax(360px, 560px) minmax(0, 1fr);
  grid-template-areas: "stage text";
}
.stratum--flagship {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 660px);
}
.stratum--flagship.stratum--flip {
  grid-template-columns: minmax(400px, 660px) minmax(0, 1fr);
}

/* The machine-page treatment on home: the designation as outlined art
   running behind its own machine, anchored to the render side. */
.stratum[data-mark]::after {
  content: attr(data-mark);
  position: absolute;
  /* Biased up and left of centre (Alex 2026-08-25) so the letter tops
     clear the render instead of hiding behind it. */
  top: 40%;
  left: 46%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8rem, 18vw, 16rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--hh-dline-2);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.stratum--flip[data-mark]::after {
  right: auto;
  left: 50%;
}
.stratum > * { position: relative; z-index: 1; }

.stratum__text { grid-area: text; max-width: 56ch; }
.stratum__stage { grid-area: stage; min-width: 0; }
.stratum__stage img {
  display: block;
  margin-inline: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 420px;
  transition: transform 150ms ease;
}
.stratum--flagship .stratum__stage img { max-height: 500px; }
.stratum:hover .stratum__stage img { transform: translateY(-4px); }

/* ALPHA and AGILE two-up under the flagship: the range in two screens. */
.stratum-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hh-dline-1);
}
.stratum-duo .stratum--compact {
  grid-template-columns: 1fr;
  grid-template-areas: "stage" "text";
  align-items: start;
  row-gap: var(--sp-2);
  padding: clamp(1.5rem, 2.5vw, 2rem) var(--gutter);
  border-top: 0;
}
.stratum-duo .stratum--compact + .stratum--compact {
  border-left: 1px solid var(--hh-dline-1);
}
.stratum--compact .stratum__stage img { max-height: 280px; }
.stratum--compact[data-mark]::after {
  font-size: clamp(5rem, 10vw, 9rem);
  top: 28%;
}
.stratum--compact .stratum__name { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.stratum--compact .stratum__claim { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.stratum--compact .stratum__text { max-width: none; }

.stratum__index {
  display: block;
  font-family: var(--font-data);
  /* 19px/700 qualifies as WCAG large text, where the red's 4.05:1 passes */
  font-weight: 700;
  font-size: 19px;
  color: var(--hh-red);
  margin-bottom: 8px;
}
.stratum__name {
  display: block;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.stratum__name span { color: var(--hh-red); }
.stratum__drive {
  display: block;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-4);
  margin-top: 10px;
}
.stratum__claim {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--hh-dtext-2);
  margin: 16px 0 0;
}
.stratum__cta {
  display: inline-block;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  margin-top: 20px;
  transition: color 150ms ease;
}
.stratum__cta span { color: var(--hh-red); }
.stratum:hover .stratum__cta { color: var(--hh-dtext-1); }

/* --------------------------------------------------------------------------
   6. Section furniture
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(3rem, 5vw, 4.5rem) clamp(2.75rem, 4.5vw, 4rem);
  border-bottom: 1px solid var(--hh-dline-1);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: 36px;
}

.display-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.section__note {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  /* dtext-4, not 5: 12px text needs 4.5:1 (INF-6) */
  color: var(--hh-dtext-4);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7. Machine family ladder
   -------------------------------------------------------------------------- */

.ladder {
  display: flex;
  flex-direction: column;
}

/* Every row is full-bleed so the red highlight can run gutter to gutter
   without the geometry shifting on hover. Selection model: hovering or
   focusing a row fades it to red (~200ms); ULTRA5 starts selected
   (`is-active` in markup, so no-JS still shows the flagship); once touched,
   the highlight stays wherever it was left - site.js moves the class and
   never restores a default. */
.ladder__row {
  display: grid;
  grid-template-columns: 132px 4fr 5fr 2fr 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--hh-dline-1);
  padding: 22px 0;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  text-decoration: none;
  color: inherit;
  transition: background-color 200ms ease;
}
.ladder__row:last-child { border-bottom: 1px solid var(--hh-dline-1); }

.ladder__row:hover,
.ladder__row.is-active {
  background: var(--hh-red);
  color: #fff;
}
.ladder__row:hover .ladder__name span,
.ladder__row.is-active .ladder__name span { color: rgba(255, 255, 255, 0.55); }
.ladder__row:hover .ladder__drive,
.ladder__row.is-active .ladder__drive { color: #fff; }
.ladder__row:hover .ladder__desc,
.ladder__row.is-active .ladder__desc { color: #fff; }
.ladder__row:hover .ladder__arrow,
.ladder__row.is-active .ladder__arrow { color: #fff; }

.ladder__thumb {
  height: 84px;
  width: auto;
  max-width: 100%;
  justify-self: center;
}

.ladder__name {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}
.ladder__name span { color: var(--hh-dtext-5); }

.ladder__drive {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
}

.ladder__desc {
  font-family: var(--font-data);
  font-size: 13px;
  color: var(--hh-dtext-4);
}

.ladder__arrow {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 20px;
  color: var(--hh-red);
  text-align: right;
}

/* Focus ring must survive on the red highlight. */
.ladder__row:focus-visible { outline-color: #fff; }

/* --------------------------------------------------------------------------
   8. Process strip
   -------------------------------------------------------------------------- */

/* Process as a ruled sequence (2026-11-12): no boxed cells or large numerals.
   Each stage sits under a hairline with a short red lead-in; the stage number
   is a quiet mono label. */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}

.process--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* Support: what can be re-specified on a machine in service. */
.respec {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
  margin-top: var(--sp-6);
  padding-top: 22px;
  border-top: 1px solid var(--hh-dline-2);
}
.respec::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--hh-red);
}
.respec__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.respec__body { font-size: 15px; line-height: 1.6; color: var(--hh-dtext-3); margin: 0; max-width: 52ch; }
.respec__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .respec { grid-template-columns: 1fr; }
}

.process__cell {
  position: relative;
  border-top: 1px solid var(--hh-dline-2);
  padding: 22px 0 0;
}
.process__cell::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--hh-red);
}

.process__num {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--hh-dtext-3);
}

.process__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  margin: 10px 0 8px;
}

.process__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hh-dtext-3);
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. Industries + stat grid
   -------------------------------------------------------------------------- */

.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.proof__industries {
  padding: clamp(2.75rem, 4.5vw, 4rem) var(--gutter);
  padding-left: 0;
  border-right: 1px solid var(--hh-dline-1);
  margin-right: 0;
}
/* Side by side, both columns start level and the right one clears the rule. */
@media (min-width: 901px) {
  .proof__industries { padding-top: 0; padding-bottom: 0; }
  .proof > div:last-child { padding-left: var(--gutter); }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  border: 1px solid var(--hh-dline-3);
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hh-dtext-2);
  padding: 12px 20px;
}





/* --------------------------------------------------------------------------
   10. Contact band
   -------------------------------------------------------------------------- */

.band {
  background: var(--hh-red);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: 44px var(--gutter);
}

.band__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--hh-black-0);
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* dtext-4, not 5: 12px text needs 4.5:1 (INF-6) */
  color: var(--hh-dtext-4);
  padding-block: 26px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__brand img { width: 20px; height: 20px; }

.site-footer__nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
  margin: 0;
  padding: 0;
}
.site-footer a {
  color: var(--hh-dtext-4);
  text-decoration: none;
}
.site-footer a:hover { color: var(--hh-dtext-1); }

/* --------------------------------------------------------------------------
   11b. Content pages - page head, prose, spec tables, forms
   -------------------------------------------------------------------------- */

.page-head {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hh-dline-1);
}

.page-head .kicker { color: var(--hh-dtext-3); opacity: 1; }

.page-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 8.5vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  max-width: none;
}
.page-head__title .full-stop { color: var(--hh-red); }

.page-head__lede {
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: var(--hh-dtext-2);
  max-width: 60ch;
  margin-top: var(--sp-3);
}

.prose { max-width: var(--measure); }
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  margin: var(--sp-4) 0 var(--sp-1);
}
.prose p { color: var(--hh-dtext-2); margin: 0 0 var(--sp-2); }
.prose strong { color: var(--hh-dtext-1); }

/* Two-column split: sticky label rail + content. */
.split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-6);
}

/* Spec tables - real HTML tables, mono values, dark hairlines. */
/* Wide tables scroll inside their own block on narrow screens; the section's
   overflow:hidden (watermark clipping) would otherwise cut off data. */
.spec-block { margin-bottom: var(--sp-6); overflow-x: auto; }

/* Neutral, not amber (2026-11 review): the notes it carries are confirmed
   context, and amber is reserved for genuinely unverified values. */
.spec-note {
  border: 1px solid var(--hh-dline-3);
  color: var(--hh-dtext-3);
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 14px;
  margin-bottom: var(--sp-3);
  display: inline-block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table caption {
  caption-side: bottom;
  text-align: left;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hh-dtext-5);
  padding-top: var(--sp-2);
}
.spec-table th {
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  text-align: left;
  border-bottom: 2px solid var(--hh-dtext-1);
  padding: 10px 16px 10px 0;
}
.spec-table td {
  border-bottom: 1px solid var(--hh-dline-1);
  padding: 12px 16px 12px 0;
  color: var(--hh-dtext-2);
  font-size: var(--text-sm);
}
.spec-table td.val {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  color: var(--hh-dtext-1);
  white-space: nowrap;
}

/* Wireframe placeholder for blocked content (BLK-4 / BLK-5). */

/* Contact form. */




.intents { display: grid; gap: 1px; background: var(--hh-dline-1); border: 1px solid var(--hh-dline-1); }
.intent {
  display: flex;
  gap: 12px;
  align-items: baseline;
  background: var(--hh-black-1);
  padding: 16px 18px;
  cursor: pointer;
}
.intent__title { font-weight: 600; color: var(--hh-dtext-1); }
.intent__desc { font-size: var(--text-sm); color: var(--hh-dtext-4); }


/* --------------------------------------------------------------------------
   11c. Artistic layer: outlined watermarks, drawing-margin notes, ticks
   Decorative only (aria-hidden / pseudo-elements); deliberately low-contrast.
   -------------------------------------------------------------------------- */

/* Huge outlined section index, top-right, behind content. */
.section { position: relative; overflow: hidden; }
.section[data-index]::before {
  content: attr(data-index);
  position: absolute;
  top: -0.12em;
  right: calc(var(--gutter) * 0.5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(8rem, 20vw, 18rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--hh-dline-1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.section > * { position: relative; z-index: 1; }

/* Vertical mono margin note along the right edge, like a drawing border. */
@media (min-width: 1100px) {
  .section[data-note]::after {
    content: attr(data-note);
    position: absolute;
    top: 50%;
    right: 14px;
    transform: rotate(90deg) translateX(-50%);
    transform-origin: right top;
    font-family: var(--font-data);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--hh-dline-3);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
  }
}

/* Machine designation as outlined art behind the page head. */
.page-head { position: relative; overflow: hidden; }
.page-head[data-mark]::after {
  content: attr(data-mark);
  position: absolute;
  top: 50%;
  right: calc(var(--gutter) * -0.4);
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(10rem, 26vw, 24rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--hh-dline-2);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.page-head > * { position: relative; z-index: 1; }


/* --------------------------------------------------------------------------
   11d. Numbered process steps (How We Work). Step 02 carries the weight:
   the design-review stage is the differentiator.
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--hh-dline-1);
}
.step:last-child { border-bottom: 1px solid var(--hh-dline-1); }
.step__num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  color: var(--hh-red);
  line-height: 1;
}
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  text-transform: uppercase;
  margin: 0 0 var(--sp-1);
}
.step__body { color: var(--hh-dtext-2); margin: 0; max-width: 68ch; }
.step--key {
  background: var(--hh-black-2);
  border-left: 3px solid var(--hh-red);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}

/* Sector tiles: treated photography (grayscale toward the dark ground)
   with mono labels; the hatched tile is the ISO 128 section-cut treatment
   for a sector without cleared imagery yet. */
.sectortiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hh-dline-1);
  border: 1px solid var(--hh-dline-1);
  margin-top: var(--sp-3);
}
.sectortile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--hh-black-1);
  display: block;
  text-decoration: none;
  color: inherit;
}
.sectortile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.75) contrast(1.05) brightness(0.72);
  transition: filter 200ms ease, transform 200ms ease;
}
.sectortile:hover img { filter: grayscale(0.35) contrast(1.05) brightness(0.85); }
.sectortile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 12, 13, 0.05) 40%, rgba(11, 12, 13, 0.82) 100%);
}
.sectortile__label {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 1;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
}
/* Tiles showing our own machines keep more of their colour than the
   generic sector stock beside them. */
.sectortile--work img { filter: grayscale(0.25) contrast(1.02) brightness(0.82); }
.sectortile--work:hover img { filter: grayscale(0) contrast(1.02) brightness(0.95); }
.sectortile--hatch::after,
.sectortile--you::after { background: none; }
.sectortile--you { background: var(--hh-red); }
.sectortile--you .sectortile__label { color: #fff; font-weight: 700; }
.sectortile--you:hover { background: #b81f28; color: inherit; }
.sectortiles__note {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-5);
  margin: 8px 0 0;
}

/* Machine-life diagram: the return arc is the message, so it runs full width. */
.lifeline { margin: var(--sp-4) 0 0; }
.lifeline svg { display: block; width: 100%; max-width: 860px; height: auto; }

/* Photo figures under section titles: same treatment as the sector tiles
   so photography sits in the dark world rather than on top of it. */
.head-figure--photo img {
  border: 1px solid var(--hh-dline-1);
  filter: grayscale(0.7) contrast(1.05) brightness(0.8);
}
/* Our own machines, photographed: these keep their colour. The red in the
   photographs is the brand red, so desaturating them would throw away the
   one thing that ties them to the palette. Stock sector imagery stays
   desaturated (see .head-figure--photo) precisely because it is generic. */
.head-figure--work { max-width: none; }
.head-figure--work img {
  border: 1px solid var(--hh-dline-1);
  width: 100%;
}
.head-figure--wide { max-width: none; }
.head-figure--wide img { width: 100%; }

/* Full-width cell render: floats on the ground, no frame. */


/* Dimension callout under the flagship hero render: sits in the ground
   strip between the machine base and the statstrip the overhang covers. */
.machine-hero__dim {
  position: absolute;
  top: 374px;
  left: calc(50% - 26px);
  transform: translateX(-50%);
  width: 380px;
  height: auto;
}

/* Faint drawing-grid ground behind line art, like section paper. */
.toolcard__art {
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px);
}

/* 12. (Unverified-content flags removed 2026-11-12: unconfirmed values are
   kept off the public pages and tracked in the engineering register.) */

/* --------------------------------------------------------------------------
   13. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1200px) {
  .machine-hero img { height: 460px; }
  .machine-hero__dim { top: 318px; width: 336px; }
}

@media (max-width: 1100px) {
  .ladder__row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name arrow" "drive drive" "desc desc";
    row-gap: 6px;
  }
  .ladder__thumb { display: none; }
  .ladder__name  { grid-area: name; }
  .ladder__arrow { grid-area: arrow; }
  .ladder__drive { grid-area: drive; }
  .ladder__desc  { grid-area: desc; }

  .process { grid-template-columns: 1fr 1fr; }
  .toolcards--four { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--sp-3); }
}

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .site-header__inner { flex-wrap: wrap; }
  .nav { flex-basis: 100%; }
  .nav[data-open="false"] .nav__list { display: none; }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: var(--sp-2);
  }
  .nav__list li {
    width: 100%;
    border-top: 1px solid var(--hh-dline-1);
  }
  .nav__link {
    display: block;
    width: 100%;
    padding-block: var(--sp-2);
    border-bottom: 0;
  }
  .nav__link[aria-current="page"] {
    border-left: 2px solid var(--hh-red);
    padding-left: var(--sp-1);
  }
  .nav__list li:last-child { border-bottom: 1px solid var(--hh-dline-1); }
  .nav__cta { display: inline-block; margin-top: var(--sp-2); }

  .stratum,
  .stratum--flip,
  .stratum--flagship,
  .stratum--flagship.stratum--flip {
    grid-template-columns: 1fr;
    grid-template-areas: "stage" "text";
    row-gap: var(--sp-2);
  }
  .stratum-duo { grid-template-columns: 1fr; }
  .stratum-duo .stratum--compact + .stratum--compact {
    border-left: 0;
    border-top: 1px solid var(--hh-dline-1);
  }
  .sectortiles { grid-template-columns: 1fr 1fr; }
  /* The hero render goes static on mobile; the absolute callout has no
     anchor there, so it comes off. */
  .machine-hero__dim { display: none; }
  .stratum__stage img,
  .stratum--flagship .stratum__stage img { max-height: min(340px, 42vh); }
  .stratum__text { max-width: none; }
  .stratum[data-mark]::after { font-size: clamp(5rem, 22vw, 8rem); }

  .proof { grid-template-columns: 1fr; }
  .proof__industries {
    border-right: 0;
    border-bottom: 1px solid var(--hh-dline-1);
    padding-right: 0;
  }

  .band { flex-direction: column; align-items: flex-start; }

  .page-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .machine-hero { min-height: 0; }
  .machine-hero img { position: static; transform: none; margin: 0 auto; height: auto; max-width: 100%; max-height: min(440px, 52vh); }
  .speclist { grid-template-columns: 1fr; }
  .step { grid-template-columns: 56px 1fr; }
  .toolcards, .toolcards--four { grid-template-columns: 1fr; }
  .statstrip { flex-wrap: wrap; }
  .statstrip__cell { flex: 1 1 40%; border-bottom: 1px solid var(--hh-dline-1); }


  .section__head { flex-direction: column; align-items: flex-start; gap: var(--sp-1); }
  .section__note { white-space: normal; }
}

@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; }
}

/* No-JS: never leave the nav hidden. */
@media (max-width: 900px) {
  .nav:not([data-open]) .nav__list { display: flex; }
}

/* --------------------------------------------------------------------------
   14. Audit wave (2026-08-20)
   -------------------------------------------------------------------------- */

/* One motion system (AUDIT P1-10): a single duration and easing, hover
   nudges and reveals only, killed wholesale under reduced motion. */
:root { --mo-dur: 200ms; --mo-ease: cubic-bezier(0.4, 0, 0.2, 1); }
.stratum__cta span,
.ladder__arrow { display: inline-block; transition: transform var(--mo-dur) var(--mo-ease); }
.stratum:hover .stratum__cta span { transform: translateX(6px); }
.ladder__row:hover .ladder__arrow,
.ladder__row.is-active .ladder__arrow { transform: translateX(6px); }
.nav__link { position: relative; }
.nav__link:not([aria-current])::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--hh-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--mo-dur) var(--mo-ease);
}
.nav__link:not([aria-current]):hover::after { transform: scaleX(1); }
.btn { transition: transform var(--mo-dur) var(--mo-ease), background-color var(--mo-dur) var(--mo-ease); }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .stratum__cta span, .ladder__arrow, .nav__link::after, .btn,
  .sectortile img, .head-figure--work img, .stratum__stage img { transition: none !important; }
}

/* One photographic grade (AUDIT P1-11): desaturate toward the ground,
   crush the blacks, let the H&H red carry. Applied to every photo; the
   full-colour original returns on hover. Edges melt into the page via a
   radial mask so photos compose in rather than sit in frames. */
.head-figure--work img { border: 0; }
.head-figure--photo img {
  border: 0;
  filter: grayscale(0.45) contrast(1.08) brightness(0.78);
  -webkit-mask-image: radial-gradient(130% 120% at 50% 45%, #000 58%, transparent 98%);
  mask-image: radial-gradient(130% 120% at 50% 45%, #000 58%, transparent 98%);
}
.sectortile--work img { filter: none; }
.sectortile:not(.sectortile--work) img { filter: grayscale(0.45) contrast(1.06) brightness(0.72); }
.sectortile:not(.sectortile--work):hover img { filter: grayscale(0) contrast(1.04) brightness(0.9); }

/* Wide data needs a visible way out on small screens (AUDIT P1-15). */
@media (max-width: 900px) {
  .spec-block { position: relative; overflow-x: auto; }
  .spec-block::before {
    content: "scroll →";
    display: block;
    text-align: right;
    font-family: var(--font-data);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hh-dtext-4);
    padding-bottom: 4px;
  }
  .lifeline { overflow-x: auto; }
}
/* Phones: spec values wrap inside the column instead of running off-screen,
   so the table fits and the scroll cue is not needed. */
@media (max-width: 600px) {
  .spec-table td.val { white-space: normal; overflow-wrap: anywhere; }
  .spec-table td:first-child { width: 38%; }
  .spec-block::before { display: none; }
  .lifeline svg { min-width: 640px; }
}

/* Watermark numerals must never touch the vertical margin notes
   (AUDIT P2-24). */
.section[data-note]::before { right: calc(var(--gutter) * 1.6); }

/* Email-first contact (AUDIT P0-1, decision 2026-08-20): the intent cards
   became mailto links; no backend, nothing to silently drop a lead. */
.intent--mail { text-decoration: none; color: inherit; transition: background-color var(--mo-dur) var(--mo-ease), box-shadow var(--mo-dur) var(--mo-ease); }
.intent--mail:hover { background: var(--hh-black-2); box-shadow: inset 3px 0 0 var(--hh-red); color: inherit; }
.mailpanel__lede { color: var(--hh-dtext-2); margin: 0 0 var(--sp-3); }
.attachlist { margin-top: var(--sp-4); }
.attachlist__title {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  margin: 0 0 var(--sp-2);
}

/* --------------------------------------------------------------------------
   15. Refined direction (2026-11 site review, Phase 2)
   Scoped to <main class="refined"> so the two reference pages (home and
   ALPHA5) can be judged against the rest of the site before the direction
   spreads. Revert: remove the class. Phase 3: add it to further pages,
   then fold these rules into the base components once every page has it.
   -------------------------------------------------------------------------- */

/* Hierarchy. Full display weight stays on page titles, the home claim and
   machine designations; section headings step down to a working size. */
.refined .section .display-title {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.05;
}
.refined .section__head { margin-bottom: var(--sp-3); }
.refined .band__title { font-size: clamp(2rem, 4.2vw, 3.6rem); }

/* Reading sizes: nothing that carries meaning below 12px, and card and
   process copy at a size that reads at arm's length. */
.refined .statstrip__l { font-size: 12px; letter-spacing: 0.1em; }
.refined .toolcard__name { font-size: 0.9375rem; }
.refined .toolcard__body {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--hh-dtext-2);
  margin-top: 10px;
}
.refined .process__body { font-size: 1rem; color: var(--hh-dtext-2); }
.refined .prose p { line-height: 1.65; }
.refined .spec-table td { font-size: 0.9375rem; }
.refined .sectortiles__note {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: none;
  font-family: var(--font-ui);
  color: var(--hh-dtext-3);
  margin-top: var(--sp-1);
}

/* Range strata: the designation stays loud; the line beneath it is plain
   description, and the differences between machines are stated as data. */
.stratum__line {
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--hh-dtext-2);
  margin: var(--sp-2) 0 0;
  max-width: 46ch;
}
.stratum--compact .stratum__line { font-size: var(--text-base); }
.stratum__facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: var(--sp-3);
  margin: var(--sp-3) 0 0;
  max-width: 54ch;
  border-top: 1px solid var(--hh-dline-1);
}
.stratum__facts dt,
.stratum__facts dd {
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid var(--hh-dline-1);
}
.stratum__facts dt {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
}
.stratum__facts dd { font-size: 0.9375rem; color: var(--hh-dtext-1); }

/* Tablet: the four technology cards hold two-up instead of stacking into
   four full-width panels of mostly empty drawing ground. */
@media (min-width: 561px) and (max-width: 900px) {
  .refined .toolcards--four { grid-template-columns: 1fr 1fr; }
}

/* Single-column slash list, for narrow columns with longer items. */
.speclist--single { grid-template-columns: 1fr; }
.refined .speclist__item { font-size: 0.9375rem; }

/* Comparison table: machine against machine, values in mono. Stacks to
   label/value pairs on phones rather than scrolling sideways (DESIGN_SYSTEM
   §5: primary specs never scroll horizontally). */
.compare { margin-bottom: var(--sp-4); }
.spec-table--compare th:not(:first-child),
.spec-table--compare td:not(:first-child) { width: 36%; }
.spec-table--compare td:first-child { color: var(--hh-dtext-3); }
/* Descriptive values read in Sans; numerals inside them carry .data. */
.spec-table--compare td.val { white-space: normal; font-family: var(--font-ui); }
.spec-table--compare td.val--na { color: var(--hh-dtext-3); font-family: var(--font-ui); }
@media (max-width: 700px) {
  .spec-table--compare { display: flex; flex-direction: column; }
  .spec-table--compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .spec-table--compare tbody { display: block; order: 1; }
  .spec-table--compare caption { display: block; order: 2; }
  .spec-table--compare tr {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--hh-dline-1);
  }
  .spec-table--compare td {
    display: block;
    width: auto !important;
    border: 0;
    padding: 2px 0;
  }
  .spec-table--compare td:first-child {
    font-family: var(--font-data);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-bottom: 6px;
  }
  /* Label column + value column, so multi-line values (the X/Y/Z envelope)
     stay aligned under their first line. */
  .spec-table--compare td[data-label] {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: baseline;
  }
  .spec-table--compare td[data-label]::before {
    content: attr(data-label);
    font-family: var(--font-data);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hh-dtext-3);
  }
}

/* --------------------------------------------------------------------------
   16. Phase 3 components (2026-11 review)
   -------------------------------------------------------------------------- */

.section__cta { margin-top: var(--sp-4); }
.prose__after { margin-top: var(--sp-3); }
.compare__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: var(--hh-dtext-2);
  max-width: 70ch;
  margin: 0 0 var(--sp-4);
}
.compare__note {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--hh-dtext-3);
  max-width: 76ch;
  margin: 0;
}
.split__aside {
  color: var(--hh-dtext-3);
  margin-top: var(--sp-2);
  max-width: 40ch;
}
.spec-table--three td:first-child,
.spec-table--three th:first-child { width: 22%; }
.spec-table--three th:not(:first-child),
.spec-table--three td:not(:first-child) { width: 26%; }

/* Standard vs specified per build: two lists side by side. */
.stdopt {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}
.stdopt__title {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  margin: 0 0 var(--sp-1);
}

/* Text table: descriptive values in Sans, wrapping (support, metrology). */
.spec-table--text td { font-family: var(--font-ui); color: var(--hh-dtext-2); vertical-align: top; }
.spec-table--text td:first-child { color: var(--hh-dtext-1); font-weight: 600; width: 34%; }

/* Sector applications: two-up blocks, rule-topped, not carded. */
.sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6) var(--sp-6);
}
.sector { border-top: 1px solid var(--hh-dline-2); padding-top: var(--sp-3); }
.sector__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin: 0 0 var(--sp-2);
}
.sector p { color: var(--hh-dtext-2); margin: 0 0 var(--sp-2); }
/* Capabilities drawings: the three groups (machine, process, measurement). */
.figgroup__title {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  margin: var(--sp-4) 0 var(--sp-2);
}
.figgroup__title:first-of-type { margin-top: 0; }
.toolcard__body a { color: var(--hh-dtext-1); }
/* The lead drawing of a group: large, beside its description. */
.figlead {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--sp-4);
  align-items: center;
  background: var(--hh-panel);
  border: 1px solid var(--hh-dline-1);
  padding: 18px;
  margin-bottom: 18px;
}
.figlead__art {
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px);
}
.figlead .hl__stage { width: 100%; height: auto; }
.figlead__body { color: var(--hh-dtext-2); margin: 10px 0 0; }
.figlead__hint {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-dtext-4);
  margin: var(--sp-2) 0 0;
}
/* Capabilities drawings as alternating rows (2026-11-12): each drawing sits
   beside the text that explains it, sides alternating, so the section reads
   as a sequence rather than a block of cards. */
.figrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--hh-dline-1);
}
.figrow--lead { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.figrow--flip .figrow__art { order: 2; }
.figrow__art {
  background: var(--hh-panel);
  border: 1px solid var(--hh-dline-1);
  padding: 12px;
  display: flex;
  justify-content: center;
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px);
}
.figrow__art .hl__stage { width: 100%; max-width: 480px; height: auto; }
.figrow__art--render { align-items: center; min-height: 320px; }
.figrow__art--render img { display: block; max-width: 100%; max-height: 340px; width: auto; height: auto; }
.figrow--lead .figrow__art .hl__stage { max-width: 680px; }
.figrow__tag {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
}
.figrow__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  text-transform: uppercase;
  margin: 8px 0 12px;
}
.figrow__text p {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--hh-dtext-2);
  max-width: 46ch;
  margin: 0;
}
.figrow__text a { color: var(--hh-dtext-1); }
.figgroup__title + .figrow { border-top: 0; padding-top: var(--sp-2); }
.section__head + .figrow { border-top: 0; padding-top: 0; }
.methods__after { border-top: 1px solid var(--hh-dline-1); padding-top: var(--sp-4); }
.methods__after p { max-width: 70ch; }
.figsection__lead { font-size: var(--text-lg); line-height: var(--leading-body); color: var(--hh-dtext-2); max-width: 64ch; margin: 0 0 var(--sp-3); }
.figrow__list { list-style: none; margin: 14px 0 0; padding: 0; }
.figrow__list li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--hh-dline-1);
  color: var(--hh-dtext-1);
  font-size: 1rem;
}
.figrow__list li::before { content: "/"; position: absolute; left: 0; color: var(--hh-red); }

/* Capabilities: the options without a drawing, listed once. */
.alsospec { border-top: 1px solid var(--hh-dline-1); padding-top: var(--sp-4); margin-top: var(--sp-2); }
.alsospec__title {
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  margin: 0 0 var(--sp-2);
}
.alsospec__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--sp-4); }

/* Capabilities: sectors as one compact row of text. */
.sectorlist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--hh-dline-1);
}
.sectorlist__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.sectorlist p { font-size: 15px; line-height: 1.6; color: var(--hh-dtext-3); margin: 0; }
@media (max-width: 1000px) {
  .sectorlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sectorlist, .alsospec__list { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .figrow, .figrow--lead { grid-template-columns: 1fr; gap: var(--sp-3); }
  .figrow--flip .figrow__art { order: 0; }
}

/* Supplied machine photographs, shown as shot (no grading). */
.machine-photo { max-width: none; margin: var(--sp-6) 0 0; }
.machine-photo--native { max-width: 1023px; }
.company-photo { max-width: none; margin: var(--sp-4) 0 0; }
/* A photo in a split page head, shown at no more than its native width. */
.head-photo { margin: 0; max-width: 500px; justify-self: end; }
.head-photo--center { justify-self: center; align-self: center; }
@media (max-width: 900px) { .head-photo, .head-photo--center { justify-self: start; } }
/* Contact: static location map rendered from OpenStreetMap in the site greys. */
.locmap { max-width: 420px; margin: var(--sp-3) 0 0; }
.locmap img { border: 1px solid var(--hh-dline-1); }
.locmap figcaption a { color: inherit; }
.machine-photo__plate { background: #ffffff; padding: clamp(10px, 2.5vw, 28px); }
.workphotos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
  margin-top: var(--sp-6);
}
.workphotos .head-figure { margin: 0; }
/* One frame for every work photo so the grid reads as rows; framing only, the photos are not altered. */
.workphotos .head-figure img { aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 600px) {
  .workphotos { grid-template-columns: 1fr; }
}
.toolcards--two { grid-template-columns: repeat(2, 1fr); }
.toolcards--two .toolcard { min-width: 0; }
.toolcards--two .toolcard__art { height: auto; }
.toolcards--two .hl__stage { width: 100%; max-width: 400px; height: auto; }
@media (max-width: 900px) {
  .figlead { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .toolcards--two { grid-template-columns: 1fr; }
}
.sector .head-figure { margin-top: var(--sp-3); }

/* Company facts (About). */
.facts {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: var(--sp-4);
  margin: 0;
  border-top: 1px solid var(--hh-dline-1);
}
.facts dt,
.facts dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--hh-dline-1);
}
.facts dt {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
}
.facts dd { color: var(--hh-dtext-1); }

.contact-details {
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--hh-dtext-2);
  margin-top: var(--sp-3);
}

/* How We Work: what each side brings to a stage. */
.step__io {
  margin: var(--sp-1) 0 0;
  font-size: var(--text-sm);
  color: var(--hh-dtext-2);
  max-width: 68ch;
}
.step__io span {
  display: inline-block;
  min-width: 6.5rem;
  font-family: var(--font-data);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
}
.step__body + .step__io { margin-top: var(--sp-2); }

/* Native-resolution photo: never scaled above its own pixel width. */
.head-figure--native { max-width: 500px; }
.head-figure--native img { width: 100%; height: auto; border: 1px solid var(--hh-dline-1); }

@media (max-width: 900px) {
  .stdopt { grid-template-columns: 1fr; gap: var(--sp-3); }
  .sectors { grid-template-columns: 1fr; gap: var(--sp-4); }
  /* The industries/support pair stacks; drop the doubled padding. */
  .refined .proof__industries { padding-top: 0; padding-bottom: var(--sp-4); }
  .refined .proof > div:last-child { padding-top: var(--sp-4); }
  .refined .stratum__stage img { max-height: 240px; }
  .refined .stratum--flagship .stratum__stage img { max-height: 280px; }
}

@media (max-width: 560px) {
  .refined .section { padding-block: 2.5rem 2.25rem; }
  .refined .process { grid-template-columns: 1fr 1fr; }
  .refined .process__cell { padding: 18px 16px; }
  .refined .process__title { font-size: 20px; margin: 6px 0; }
  .refined .process__body { font-size: 0.9375rem; }
  .refined .toolcards--four .toolcard__art { height: 140px; }
  .refined .stratum,
  .refined .stratum-duo .stratum--compact { padding-block: var(--sp-4); row-gap: var(--sp-1); }
  .refined .stratum__line { font-size: var(--text-base); }
  .refined .stratum__facts { margin-top: var(--sp-2); }
  .refined .stratum__facts dt,
  .refined .stratum__facts dd { padding: 7px 0; }
  .refined .stratum__cta { margin-top: var(--sp-2); }
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .spec-table--text { display: flex; flex-direction: column; }
  .spec-table--text tbody { display: block; order: 1; }
  .spec-table--text caption { display: block; order: 2; }
  .spec-table--text tr, .spec-table--text td { display: block; width: auto !important; }
  .spec-table--text thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .spec-table--text tr { border-bottom: 1px solid var(--hh-dline-1); padding: 10px 0; }
  .spec-table--text td { border: 0; padding: 2px 0; }
  .step__io span { display: block; }
}

/* Envelope configurator (home): a Hairline-style gantry sized from three
   travel inputs. The drawing frame matches the other figures; the form uses
   the data face and the site's red for the live value. */
.cfg {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}
.cfg__art {
  position: relative;
  border: 1px solid var(--hh-dline-1);
  background-color: var(--hh-panel);
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.022) 0 1px, transparent 1px 24px);
}
.cfg__stage[data-hairline], .cfg__stage { aspect-ratio: 16 / 9; width: 100%; height: auto; }
.cfg__art .hl__read { top: 10px; right: 12px; font-size: 11px; color: var(--hh-dtext-2); white-space: pre; }
.cfg__lede { margin: 0 0 var(--sp-4); color: var(--hh-dtext-2); }
.cfg__axis {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--hh-dline-1);
}
.cfg__axis:last-of-type { border-bottom: 1px solid var(--hh-dline-1); }
.cfg__label {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hh-dtext-2);
}
.cfg__inputs { display: flex; align-items: center; gap: 12px; }
.cfg__range {
  flex: 1;
  min-width: 0;
  height: 20px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.cfg__range::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(to right, var(--hh-red) var(--p, 50%), var(--hh-dline-2) var(--p, 50%));
}
.cfg__range::-moz-range-track { height: 2px; background: var(--hh-dline-2); }
.cfg__range::-moz-range-progress { height: 2px; background: var(--hh-red); }
.cfg__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 18px;
  margin-top: -8px;
  background: var(--hh-panel);
  border: 1.5px solid var(--hh-red);
  border-radius: 2px;
}
.cfg__range::-moz-range-thumb {
  width: 12px;
  height: 18px;
  background: var(--hh-panel);
  border: 1.5px solid var(--hh-red);
  border-radius: 2px;
}
.cfg__num {
  width: 7.5ch;
  font-family: var(--font-data);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--hh-dtext-1);
  background: transparent;
  border: 1px solid var(--hh-dline-2);
  padding: 6px 8px;
  -moz-appearance: textfield;
  appearance: textfield;
}
.cfg__num::-webkit-outer-spin-button, .cfg__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cfg__num:focus-visible, .cfg__range:focus-visible { outline: 1.5px solid var(--hh-red); outline-offset: 2px; }
.cfg__unit { font-family: var(--font-data); font-size: 11px; color: var(--hh-dtext-3); }
.cfg__ctas { margin-top: var(--sp-4); }
@media (max-width: 900px) {
  .cfg { grid-template-columns: minmax(0, 1fr); }
}

/* Mono labels inside Hairline stages (HeadCal: REF SPHERE, TOOL VECTOR). */
.hl svg text.hl-lab {
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  fill: #838a91;
  stroke: none;
}

/* ===================================================================
   Hairline budget (layout riffs handoff, 2026-11-13).
   The 1px line has three jobs only: table rules (2px head rule in
   dtext-1, 1px row rules), one full-width rule between page sections,
   and the dividers in the machine stat strip. Everywhere else a line is
   replaced by a ground step (black-2 on black-1), space, the mono
   eyebrow or the red slash. One hairline colour (dline-1, tokens.css)
   and one heavy rule (2px dtext-1). Overrides sit here, last, so the
   earlier component rules stay readable.
   =================================================================== */
.hl { --hairline-plate: var(--hh-black-2); }
/* Drawings and renders: no frames; they sit on the ground step. */
.figrow__art, .toolcard__art, .figlead, .cfg__art, .hl__stage {
  border: 0;
  outline: 0;
}
.figrow__art, .toolcard__art.hl, .figlead, .cfg__art {
  background-color: var(--hh-black-2);
  background-image: none;
}
.figrow__art--render { background-color: transparent; }
.toolcard { border: 0; background: transparent; }
.toolcard__head { border-top: 0; }
/* Chips and enquiry panels: ground steps, not outlines. */
.chip { border: 0; background: var(--hh-black-2); }
.intents { gap: 8px; background: transparent; border: 0; }
.intents > * { background: var(--hh-black-2); }
.spec-note { border: 0; background: var(--hh-black-2); }
/* Lists and sequences: space and the red slash, not rules. */
.speclist__item, .figrow__list li, .sectorlist, .alsospec, .methods__after,
.process__cell, .respec, .sector, .stratum, .stratum-duo, .stratum__facts,
.cfg__axis, .figrow { border-top: 0; }
.speclist__item, .stratum__facts dd, .cfg__axis:last-of-type, .ladder__row:last-child { border-bottom: 0; }
.stratum-duo .stratum--compact + .stratum--compact, .proof__industries { border-left: 0; border-right: 0; }
.step { border-top: 0; }
.step:last-child { border-bottom: 0; }
.ladder__row { border-top: 0; transition: background-color 150ms ease; }
.ladder__row:hover { background: var(--hh-black-2); }
.figrow + .figrow { margin-top: var(--sp-6); }
/* Photos: no keylines. */
.head-figure--native img, .head-figure--photo img, .head-figure--work img, .locmap img { border: 0; }
.sectortiles { background: transparent; border: 0; gap: 8px; }
@media (max-width: 900px) {
  .stratum-duo .stratum--compact + .stratum--compact, .proof__industries { border-top: 0; border-bottom: 0; }
}

/* ===================================================================
   Shared layout components (layout riffs handoff, 2026-11-13).
   Page-specific CSS builds on these; keep new pages to these names.
   =================================================================== */
/* Mono eyebrow: the label above a heading or under an image. */
.eyebrow {
  display: block;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
}
.eyebrow--light { color: var(--hh-dtext-1); }
.eyebrow .slash, .slash { color: var(--hh-red); }
/* Slash list: items separated by space and a red slash, never a rule. */
.slashlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slashlist > li { display: flex; gap: 10px; align-items: baseline; }
.slashlist > li::before { content: "/"; color: var(--hh-red); font-family: var(--font-data); flex: none; }
.slashlist--mono > li { font-family: var(--font-data); font-size: 12px; letter-spacing: 0.04em; color: var(--hh-dtext-2); }
.slashlist--cols { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 10px 32px; }
@media (max-width: 700px) { .slashlist--cols { grid-template-columns: minmax(0, 1fr); } }
/* Ground step: a panel one shade up from the page, in place of a box. */
.ground { background: var(--hh-black-2); padding: clamp(1.25rem, 3vw, 2rem); }
/* Mechanism pair: the drawing shows how, the photo shows it done. */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.pair > * { margin: 0; min-width: 0; }
.pair .figrow__art { height: 100%; }
.pair__photo { position: relative; background: var(--hh-black-2); }
.pair__photo img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 5 / 4; }
.pair__photo figcaption, .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 8px 12px;
  background: rgba(11, 12, 13, 0.78);
  font-family: var(--font-data); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hh-dtext-1);
}
@media (max-width: 700px) { .pair { grid-template-columns: minmax(0, 1fr); } }
/* Full-bleed photo hero: copy over the photo's dark side. */
.photohero { position: relative; overflow: hidden; background: var(--hh-black-0); display: flex; align-items: stretch; min-height: clamp(460px, 62vh, 640px); }
.photohero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photohero::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.photohero--left::after { background: linear-gradient(90deg, rgba(11,12,13,.94) 0%, rgba(11,12,13,.7) 38%, rgba(11,12,13,.1) 72%); }
.photohero--right::after { background: linear-gradient(90deg, rgba(11,12,13,.1) 0%, rgba(11,12,13,.55) 50%, rgba(11,12,13,.94) 78%); }
.photohero--bottom::after { background: linear-gradient(180deg, rgba(11,12,13,.05) 30%, rgba(11,12,13,.85) 75%, var(--hh-black-1) 100%); }
.photohero__body { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; justify-content: center; gap: var(--sp-3); padding-block: var(--sp-8); }
.photohero--right .photohero__body > * { margin-left: auto; max-width: 30rem; width: 100%; }
.photohero--left .photohero__body > * { max-width: 34rem; }
.photohero--bottom .photohero__body { justify-content: flex-end; padding-bottom: var(--sp-6); }
@media (max-width: 700px) {
  .photohero--left::after, .photohero--right::after { background: linear-gradient(180deg, rgba(11,12,13,.2) 0%, rgba(11,12,13,.92) 55%); }
  .photohero__body { justify-content: flex-end; }
  .photohero--right .photohero__body > * { margin-left: 0; }
}
/* Callout figure: a photo or render with numbered points keyed to a list. */
.callfig { position: relative; margin: 0; }
.callfig img { display: block; width: 100%; height: auto; }
.callfig__pt {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--hh-red); color: #fff;
  font-family: var(--font-data); font-size: 12px; font-weight: 500;
}
.calllist { list-style: none; margin: 0; padding: 0; counter-reset: call; display: grid; gap: 14px; }
.calllist > li { counter-increment: call; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.calllist > li::before { content: counter(call); font-family: var(--font-data); font-size: 12px; color: var(--hh-red); }
/* Vertical timeline: red numbers on a thin connector. */
.vtimeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); position: relative; }
.vtimeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 1px; background: var(--hh-dline-1); }
.vtimeline > li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; }
.vtimeline__num { position: relative; z-index: 1; background: var(--hh-black-1); font-family: var(--font-data); font-size: 13px; color: var(--hh-red); line-height: 1.6; text-align: center; }
/* Filmstrip: full-bleed row of photos, each with a sector eyebrow. */
.filmstrip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.filmstrip figure { margin: 0; position: relative; }
.filmstrip img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.filmstrip figcaption { padding: 10px 12px 0; }
@media (max-width: 900px) { .filmstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* From you / from us pairs. */
.kv { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 6px 16px; margin: 0; font-family: var(--font-data); font-size: 12px; }
.kv dt { color: var(--hh-dtext-3); letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px; padding-top: 2px; }
.kv dd { margin: 0; color: var(--hh-dtext-1); }
/* Big red stage numbers (How we work, process strips). */
.bignum { font-family: var(--font-data); font-size: 28px; line-height: 1; color: var(--hh-red); }


/* ===================================================================
   Page layouts: home (layout riffs handoff, 2026-11-13). Scoped to the
   page main class.
   =================================================================== */
/* ===================================================================
   Home page (layout riffs handoff, 2026-11-13). Scoped to main.p-home;
   to be merged into site.css.
   =================================================================== */

/* Hero: front-on ULTRA5 photo full bleed, the claim over its dark left
   side (shared .photohero--left gradient). */
main.p-home .home-hero { min-height: clamp(560px, 82vh, 760px); }
main.p-home .home-hero .photohero__img { object-position: 62% 55%; }
main.p-home .home-hero .photohero__body { gap: 0; }
main.p-home .home-hero .photohero__body > * { max-width: 40rem; }
main.p-home .home-hero .kicker { margin: 0 0 var(--sp-3); color: var(--hh-dtext-1); }
main.p-home .home-hero .hero__headline {
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  line-height: 0.95;
  max-width: 12ch;
  text-wrap: balance;
}
main.p-home .home-hero .hero__headline .full-stop { color: var(--hh-red); }
main.p-home .home-hero .hero__lede { color: var(--hh-dtext-1); max-width: 46ch; }
main.p-home .home-hero .hero__ctas { margin-top: var(--sp-4); }
main.p-home .home-hero .photohero__body > .home-facts { max-width: none; }
main.p-home .home-facts {
  list-style: none;
  margin: var(--sp-6) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
}
main.p-home .home-facts li { display: flex; flex-direction: column; gap: 4px; }
main.p-home .home-facts__v {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: var(--hh-dtext-1);
  white-space: nowrap;
}
main.p-home .home-facts__l {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hh-dtext-2);
}
@media (max-width: 700px) {
  main.p-home .home-hero { min-height: 0; }
  main.p-home .home-hero .photohero__img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; }
  main.p-home .home-hero { flex-direction: column; }
  main.p-home .home-hero::after { display: none; }
  main.p-home .home-hero .photohero__body { padding-block: var(--sp-4) var(--sp-6); }
  main.p-home .home-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-2); }
  main.p-home .home-facts__v { white-space: normal; }
}

/* Section head link: a quiet mono link to the full page (no arrow). */
main.p-home .section__head { flex-wrap: wrap; }
main.p-home .home-headlink {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
  text-decoration: underline;
  text-decoration-color: var(--hh-red);
  text-underline-offset: 0.35em;
  padding-block: 10px;
}
main.p-home .home-headlink:hover { color: var(--hh-red); }

/* Core technology: head render on the ground step with three callouts,
   the four technologies as a numbered list beside it. */
main.p-home .home-tech {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
main.p-home .home-tech__fig {
  background: var(--hh-black-2);
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
main.p-home .home-tech__art { position: relative; width: min(100%, 300px); }
main.p-home .home-tech__art img { display: block; width: 100%; height: auto; }
main.p-home .home-tech__art .callfig__pt { box-shadow: 0 0 0 2px var(--hh-black-2); }
main.p-home .home-tech__fig figcaption { align-self: stretch; }
main.p-home .home-tech__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px var(--sp-3);
}
main.p-home .home-tech__legend > li {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hh-dtext-2);
}
main.p-home .home-tech__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
main.p-home .home-tech__list > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--sp-2); }
main.p-home .home-tech__num { font-family: var(--font-data); font-size: 13px; color: var(--hh-red); padding-top: 4px; }
main.p-home .home-tech__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 6px;
}
main.p-home .home-tech__tag {
  display: block;
  margin-top: 4px;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--hh-dtext-3);
}
main.p-home .home-tech__list p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--hh-dtext-2); }
@media (max-width: 900px) {
  main.p-home .home-tech { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  main.p-home .home-tech__legend { flex-direction: column; align-items: flex-start; }
}

/* Where they run: head in the gutter, filmstrip full bleed. The shared
   filmstrip crops to 4/5; these work photos are landscape (up to 2.4:1),
   so the strip uses 4/3 here, as on the board. */
main.p-home .home-run { padding-inline: 0; }
main.p-home .home-run__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  margin-bottom: var(--sp-4);
}
main.p-home .home-run__head p { margin: 0; max-width: 52ch; color: var(--hh-dtext-2); }
main.p-home .home-run .filmstrip img { height: auto; aspect-ratio: 4 / 3; }
main.p-home .home-run .filmstrip figcaption { display: grid; gap: 4px; padding: 12px var(--sp-2) 0; }
main.p-home .home-run__cap { font-size: 13px; line-height: 1.45; color: var(--hh-dtext-3); }

/* How we work: numbers and stage names, four across. */
main.p-home .home-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}
main.p-home .home-steps li { display: flex; flex-direction: column; gap: 10px; }
main.p-home .home-steps__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
}
@media (max-width: 700px) {
  main.p-home .home-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3) var(--sp-2); }
}

/* Services: two blocks, each led by its photo. */
main.p-home .home-svc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
main.p-home .home-svc__block { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); min-width: 0; }
main.p-home .home-svc__block img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--hh-black-2);
  margin-bottom: var(--sp-1);
}
main.p-home .home-svc__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}
main.p-home .home-svc__block p { margin: 0; color: var(--hh-dtext-2); line-height: 1.65; }
main.p-home .home-svc__block .btn { margin-top: var(--sp-1); }
@media (max-width: 900px) {
  main.p-home .home-svc { grid-template-columns: minmax(0, 1fr); }
}


/* ===================================================================
   Page layouts: machines (layout riffs handoff, 2026-11-13). Scoped to the
   page main class.
   =================================================================== */
/* ===================================================================
   Machines group (layout riffs handoff, 2026-11-13): /machines,
   /machines/ultra5, /machines/alpha5, /machines/agile5.
   Every selector is scoped to the page class on <main> so nothing here
   can reach another page. To be merged into site.css by the lead.
   =================================================================== */

/* ---------- Machines index: the ladder ---------- */
main.p-machines .mladder { display: flex; flex-direction: column; }
main.p-machines .mladder__head,
main.p-machines .mladder__row {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr) minmax(0, 300px) 32px;
  gap: 32px;
  align-items: center;
}
main.p-machines .mladder__head {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hh-dtext-1);
  margin-bottom: 8px;
}
main.p-machines .mladder__row {
  padding: 24px 16px;
  margin-inline: -16px;
  color: inherit;
  text-decoration: none;
  transition: background-color 150ms ease;
}
main.p-machines .mladder__row:hover,
main.p-machines .mladder__row:focus-visible { background: var(--hh-black-2); }
main.p-machines .mladder__art {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--hh-black-2);
}
main.p-machines .mladder__row:hover .mladder__art,
main.p-machines .mladder__row:focus-visible .mladder__art { background: var(--hh-black-1); }
/* Render = identity: contained, never cropped. */
main.p-machines .mladder__art img { width: 88%; height: 88%; object-fit: contain; display: block; }
main.p-machines .mladder__main { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
main.p-machines .mladder__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
}
main.p-machines .mladder__name span { color: var(--hh-red); }
main.p-machines .mladder__desc { font-size: 0.9375rem; line-height: 1.6; color: var(--hh-dtext-2); max-width: 52ch; }
main.p-machines .mladder__facts {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-data); font-size: 12px; letter-spacing: 0.04em; line-height: 1.5;
  color: var(--hh-dtext-2);
}
main.p-machines .mladder__facts > span { display: block; padding-left: 1.2em; text-indent: -1.2em; }
main.p-machines .mladder__arrow {
  font-family: var(--font-data); font-size: 20px; color: var(--hh-dtext-3);
  text-align: right; transition: transform 150ms ease, color 150ms ease;
}
main.p-machines .mladder__row:hover .mladder__arrow,
main.p-machines .mladder__row:focus-visible .mladder__arrow { color: var(--hh-red); transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) {
  main.p-machines .mladder__row, main.p-machines .mladder__arrow { transition: none; }
}
@media (max-width: 1100px) {
  main.p-machines .mladder__head,
  main.p-machines .mladder__row { grid-template-columns: 200px minmax(0, 1fr) 24px; gap: 8px 24px; }
  main.p-machines .mladder__head > :nth-child(3) { display: none; }
  main.p-machines .mladder__art { grid-row: span 2; align-self: start; }
  main.p-machines .mladder__facts { grid-column: 2; }
  main.p-machines .mladder__arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 640px) {
  main.p-machines .mladder__head { display: none; }
  main.p-machines .mladder__row {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 14px 12px;
    padding-block: 20px;
  }
  main.p-machines .mladder__row:first-of-type { border-top: 2px solid var(--hh-dtext-1); }
  main.p-machines .mladder__art { grid-row: auto; grid-column: 1 / -1; max-width: 260px; }
  main.p-machines .mladder__main { grid-column: 1; }
  main.p-machines .mladder__arrow { grid-column: 2; grid-row: 2; align-self: start; }
  main.p-machines .mladder__facts { grid-column: 1 / -1; }
}

/* Compare table: renders as the column heads. */
main.p-machines .mx-colhead { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
main.p-machines .mx-colhead img { width: min(150px, 100%); height: auto; display: block; }
main.p-machines .mx-colhead__name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; line-height: 1;
  letter-spacing: 0; text-transform: uppercase; color: var(--hh-dtext-1);
}
main.p-machines .mx-colhead__name span { color: var(--hh-red); }
main.p-machines .spec-table--compare thead th { vertical-align: bottom; }

/* ---------- ULTRA5 ---------- */
main.p-ultra5 .u5-arch__prose { margin-bottom: var(--sp-6); }
main.p-ultra5 .u5-arch {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
main.p-ultra5 .callfig figcaption { margin-top: 12px; }
main.p-ultra5 .callfig__pt { box-shadow: 0 0 0 3px rgba(16, 17, 19, 0.6); }
main.p-ultra5 .calllist { gap: 22px; }
main.p-ultra5 .calllist > li::before { font-size: 13px; }
main.p-ultra5 .u5-arch__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.15;
  text-transform: uppercase; color: var(--hh-dtext-1); margin: 0 0 4px;
}
main.p-ultra5 .u5-arch__list p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--hh-dtext-2); }
@media (max-width: 1000px) {
  main.p-ultra5 .u5-arch { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 560px) {
  main.p-ultra5 .callfig__pt { width: 22px; height: 22px; font-size: 11px; }
}

main.p-ultra5 .section__head .u5-data__note { margin: 0; }
main.p-ultra5 .u5-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}
main.p-ultra5 .u5-data .spec-block { margin-bottom: 0; }
main.p-ultra5 .u5-data__travels { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
main.p-ultra5 .u5-dim { margin: 0; display: flex; flex-direction: column; gap: 10px; }
main.p-ultra5 .u5-dim svg { display: block; width: 100%; height: auto; }
@media (max-width: 1000px) {
  main.p-ultra5 .u5-data { grid-template-columns: minmax(0, 1fr); }
}

main.p-ultra5 .u5-std {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  margin-top: var(--sp-8);
}
main.p-ultra5 .u5-std__title { margin: 0 0 16px; }
main.p-ultra5 .u5-std__lead { margin: 0 0 16px; font-size: 0.9375rem; color: var(--hh-dtext-3); max-width: 60ch; }
main.p-ultra5 .u5-std .slashlist { gap: 12px 32px; }
main.p-ultra5 .u5-std .slashlist > li { font-size: 0.9375rem; line-height: 1.5; color: var(--hh-dtext-2); }
@media (max-width: 900px) {
  main.p-ultra5 .u5-std { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

main.p-ultra5 .u5-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
main.p-ultra5 .u5-tool { margin: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
main.p-ultra5 .u5-tool__art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hh-black-1); }
main.p-ultra5 .u5-tool__art > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The head render is identity: contained, never cropped. */
main.p-ultra5 .u5-tool__art--head { background: transparent; }
main.p-ultra5 .u5-tool__art--head > .u5-tool__render { object-fit: contain; object-position: 18% 50%; padding: 6% 0; }
main.p-ultra5 .u5-tool__art--head > .u5-tool__inset {
  position: absolute; right: 0; bottom: 0;
  width: 46%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; object-position: 38% 50%;
}
main.p-ultra5 .u5-tool__cap { display: flex; flex-direction: column; gap: 6px; }
main.p-ultra5 .u5-tool__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; line-height: 1.15;
  text-transform: uppercase; color: var(--hh-dtext-1);
}
main.p-ultra5 .u5-tool__body { font-size: 0.9375rem; line-height: 1.55; color: var(--hh-dtext-2); }
main.p-ultra5 .u5-tool__note { margin-top: 4px; font-size: 10px; }
@media (max-width: 900px) {
  main.p-ultra5 .u5-tools { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  main.p-ultra5 .u5-tool__art { max-width: 560px; }
}

/* ---------- ALPHA5 ---------- */
main.p-alpha5 .mx-arch {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
main.p-alpha5 .mx-arch__photo { margin: 0; }
main.p-alpha5 .mx-arch__photo img { display: block; width: 100%; height: auto; }
main.p-alpha5 .mx-arch__photo figcaption { margin-top: 12px; }
main.p-alpha5 .mx-sendlist { margin: var(--sp-3) 0; }
@media (max-width: 1000px) {
  main.p-alpha5 .mx-arch { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Phones: the compare thead is visually hidden by site.css (cells carry
   data-label); keep its renders and cells inside that 1px box. */
@media (max-width: 700px) {
  main.p-machines .spec-table--compare thead th { display: block; width: 1px; overflow: hidden; padding: 0; }
  main.p-machines .mx-colhead img { display: none; }
}


/* ===================================================================
   Page layouts: capabilities (layout riffs handoff, 2026-11-13). Scoped to the
   page main class.
   =================================================================== */
/* ===================================================================
   Capabilities (layout riffs handoff, 2026-11-13). Scoped to main.p-cap.
   Drawing shows how, photo shows it on a machine, text says what it is.
   =================================================================== */

/* Hero: title full width, then the lede beside an on-page index. */
main.p-cap .p-cap__headrow {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--sp-4) clamp(1.5rem, 5vw, 4rem);
  align-items: end;
}
main.p-cap .p-cap__index { display: grid; gap: 12px; }
main.p-cap .p-cap__index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
main.p-cap .p-cap__index a {
  font-family: var(--font-data);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
  text-decoration: none;
}
main.p-cap .p-cap__index a:hover { color: var(--hh-red); }
main.p-cap .p-cap__n, main.p-cap .p-cap__num { color: var(--hh-red); }
main.p-cap .p-cap__n { margin-right: 12px; }
main.p-cap .p-cap__num { font-family: var(--font-data); font-weight: 500; font-size: 0.6em; vertical-align: 0.35em; margin-right: 0.3em; }

/* Stages sit flush on the ground step, the same 5:4 frame as the photos. */
main.p-cap .figrow__art { padding: 0; align-items: center; }
main.p-cap .figrow__art .hl__stage { max-width: none; width: 100%; }

/* Photos: 5:4 frame, caption under the image rather than over it. */
main.p-cap .pair { align-items: start; gap: 8px; }
main.p-cap .pair .figrow__art { height: auto; }
main.p-cap .pair__photo { margin: 0; background: transparent; }
main.p-cap .pair__photo img { aspect-ratio: 5 / 4; height: auto; background: var(--hh-black-2); }
main.p-cap .pair__photo figcaption,
main.p-cap .p-cap__sector figcaption {
  position: static;
  padding: 8px 0 0;
  background: none;
  font-family: var(--font-data);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--hh-dtext-3);
}
/* Cut-out render on the ground step, never cropped. */
main.p-cap .p-cap__contain img { object-fit: contain; padding: 4%; box-sizing: border-box; }

/* Platform and Verified rows: stage, evidence photo, text. */
main.p-cap .p-cap__mech {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}
main.p-cap .p-cap__mech + .p-cap__mech { margin-top: var(--sp-6); }
main.p-cap .p-cap__mech--nophoto .p-cap__text { grid-column: span 2; }
main.p-cap .p-cap__text { display: grid; gap: 10px; align-content: start; padding-top: 4px; }
main.p-cap .p-cap__text p { font-size: 1.0625rem; line-height: 1.6; color: var(--hh-dtext-2); max-width: 46ch; margin: 0; }
main.p-cap .p-cap__text a { color: var(--hh-dtext-1); }
main.p-cap .p-cap__text .figrow__title { margin: 0; }
main.p-cap .p-cap__render { margin: 0; background: var(--hh-black-2); aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; }
main.p-cap .p-cap__render img { display: block; height: 88%; width: auto; max-width: 100%; object-fit: contain; }
/* The ballbar photo is 500px wide; never show it larger. */
main.p-cap .p-cap__native { max-width: 500px; }

/* Configured and The work: mechanisms two-up, pair above text. */
main.p-cap .p-cap__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6) clamp(1.5rem, 4vw, 3rem);
  margin-top: var(--sp-4);
}
main.p-cap .p-cap__card { display: grid; gap: 10px; align-content: start; min-width: 0; }
main.p-cap .p-cap__card > .pair { margin-bottom: 6px; }
main.p-cap .p-cap__card p, main.p-cap .p-cap__sector p { font-size: 15px; line-height: 1.6; color: var(--hh-dtext-2); margin: 0; max-width: 54ch; }
main.p-cap .p-cap__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0;
}
/* Laser tool measurement has no photo yet: stage beside its text. */
main.p-cap .p-cap__card--solo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; align-items: start; }
main.p-cap .p-cap__solotext { display: grid; gap: 10px; align-content: start; }

main.p-cap .p-cap__also { margin-top: var(--sp-6); display: grid; gap: 16px; }
main.p-cap .p-cap__also h3 { margin: 0; }
main.p-cap .p-cap__also li { font-size: 15px; line-height: 1.5; color: var(--hh-dtext-2); }

/* Sectors: four cards, each with its photo. */
main.p-cap .p-cap__sectors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6) clamp(1rem, 2vw, 1.5rem);
  margin-top: var(--sp-8);
}
main.p-cap .p-cap__sector { display: grid; gap: 10px; align-content: start; min-width: 0; }
main.p-cap .p-cap__sector figure { margin: 0 0 6px; }
main.p-cap .p-cap__sector img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
main.p-cap .p-cap__sector .p-cap__title { font-size: 1.125rem; }
main.p-cap .p-cap__sector p { color: var(--hh-dtext-3); }

@media (max-width: 1000px) {
  main.p-cap .p-cap__mech { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.p-cap .p-cap__mech .p-cap__text { grid-column: 1 / -1; }
  main.p-cap .p-cap__mech--nophoto .p-cap__text { grid-column: auto; }
  main.p-cap .p-cap__sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main.p-cap .slashlist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  main.p-cap .p-cap__headrow { grid-template-columns: minmax(0, 1fr); }
  main.p-cap .p-cap__cards { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  main.p-cap .p-cap__mech, main.p-cap .p-cap__card--solo { grid-template-columns: minmax(0, 1fr); }
  main.p-cap .p-cap__mech + .p-cap__mech { margin-top: var(--sp-6); }
  main.p-cap .p-cap__sectors, main.p-cap .slashlist--cols { grid-template-columns: minmax(0, 1fr); }
}


/* ===================================================================
   Page layouts: metrology (layout riffs handoff, 2026-11-13). Scoped to the
   page main class.
   =================================================================== */
/* ===================================================================
   Metrology page (layout riffs handoff, 2026-11-13). Scoped to
   main.p-met; to be merged into site.css.
   =================================================================== */

/* Hero: copy left, ballbar photo flush to the right edge at its native
   size (500 x 292; never upscaled), reporting standards as mono chips. */
main.p-met .met-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem) var(--gutter);
  border-bottom: 1px solid var(--hh-dline-1);
}
main.p-met .met-hero__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  max-width: 40rem;
}
main.p-met .met-hero__title { font-size: clamp(2.75rem, 5.6vw, 5rem); line-height: 0.95; }
main.p-met .met-hero .page-head__lede { margin: 0; }
main.p-met .met-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: var(--sp-1); }
main.p-met .met-std { list-style: none; margin: var(--sp-1) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
main.p-met .met-std li {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--hh-dtext-1);
  background: var(--hh-black-2);
  padding: 8px 14px;
}
main.p-met .met-hero__photo { margin: 0; justify-self: end; width: 100%; max-width: 500px; }
main.p-met .met-hero__photo img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  main.p-met .met-hero { grid-template-columns: minmax(0, 1fr); padding-right: var(--gutter); }
  main.p-met .met-hero__photo { justify-self: start; }
}

/* How a calibration runs: the five steps as a vertical timeline beside
   the HeadCal photo (shown uncropped; its subject spans the frame). */
main.p-met .met-run {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
main.p-met .met-run__aside { display: flex; flex-direction: column; gap: var(--sp-4); }
main.p-met .met-run__photo { position: relative; margin: 0; background: var(--hh-black-2); }
main.p-met .met-run__photo img { display: block; width: 100%; height: auto; }
main.p-met .met-steps { gap: var(--sp-4); padding-top: 6px; }
main.p-met .met-steps__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 6px;
}
main.p-met .met-steps p { margin: 0; color: var(--hh-dtext-2); line-height: 1.6; max-width: 52ch; }
@media (max-width: 900px) {
  main.p-met .met-run { grid-template-columns: minmax(0, 1fr); }
}

/* Methods: four cards, each a plot on its plate (the ground step) with the
   text under it. */
main.p-met .met-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 1.75rem);
}
main.p-met .met-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
main.p-met .met-card .figrow__art .hl__stage { width: 100%; max-width: none; height: auto; }
main.p-met .met-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.2rem, 1.5vw, 1.375rem);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 6px 0 8px;
}
main.p-met .met-card__text p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--hh-dtext-2); }
main.p-met .methods__after { margin-top: var(--sp-4); }
@media (max-width: 1100px) {
  main.p-met .met-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4) var(--sp-3); }
}
@media (max-width: 600px) {
  main.p-met .met-methods { grid-template-columns: minmax(0, 1fr); }
}

/* Equipment: two-column slash list beside the Book panel. */
main.p-met .met-equip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
main.p-met .met-equip__list { display: flex; flex-direction: column; gap: var(--sp-3); }
main.p-met .met-equip .slashlist > li { color: var(--hh-dtext-1); font-size: 1rem; }
main.p-met .met-book { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
main.p-met .met-book p { margin: 0; color: var(--hh-dtext-2); }
main.p-met .met-book__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  main.p-met .met-equip { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  main.p-met .met-hero__ctas .btn, main.p-met .met-book__ctas .btn { width: 100%; text-align: center; padding-inline: 20px; }
}


/* ===================================================================
   Page layouts: company-a (layout riffs handoff, 2026-11-13). Scoped to the
   page main class.
   =================================================================== */
/* ===================================================================
   Layout riffs, group company-a (2026-11-13): Support (main.p-support)
   and How we work (main.p-hww). Builds on the shared components at the
   end of site.css; every selector is scoped to its page's <main>.
   =================================================================== */

/* ---------- Support ---------- */
main.p-support .full-stop,
main.p-hww .full-stop { color: var(--hh-red); }

/* Hero: install photo full bleed, the offer over its dark right side. */
main.p-support .sup-hero .photohero__img { object-position: 50% 40%; }
main.p-support .sup-hero .photohero__body { gap: 20px; }
main.p-support .sup-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.98;
  text-transform: uppercase;
  margin-block: 0;
}
main.p-support .sup-hero__lede {
  margin-block: 0;
  font-size: 1rem;
  line-height: var(--leading-body);
  color: var(--hh-dtext-1);
}
main.p-support .sup-hero__list > li {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--hh-dtext-1);
}
main.p-support .sup-hero__ctas { margin-top: 6px; }

/* What is offered: the table keeps its rules; a third "When" column. */
main.p-support .sup-offer__head { flex-wrap: wrap; }
main.p-support .sup-offer th:first-child,
main.p-support .sup-offer td:first-child { width: 26%; }
main.p-support .sup-offer th:last-child,
main.p-support .sup-offer td:last-child { width: 20%; }
main.p-support .sup-offer td.sup-offer__when {
  font-family: var(--font-data);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--hh-dtext-2);
}
@media (max-width: 640px) {
  /* Narrow: each row stacks (service and when on one line, cover below),
     so the table never scrolls sideways. Row rules stay. */
  main.p-support .sup-offer thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
  }
  main.p-support .sup-offer,
  main.p-support .sup-offer tbody { display: block; }
  main.p-support .sup-offer tbody { border-top: 2px solid var(--hh-dtext-1); }
  main.p-support .sup-offer tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--hh-dline-1);
  }
  main.p-support .sup-offer td { display: block; width: auto !important; padding: 0; border: 0; }
  main.p-support .sup-offer td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  main.p-support .sup-offer td.sup-offer__when { text-align: right; }
}

/* Re-specified: chips as ground-step panels, the ALPHA5 photo beside. */
main.p-support .sup-respec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
  align-items: center;
}
main.p-support .sup-respec__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
main.p-support .sup-respec__body { margin: 0; font-size: 1rem; line-height: var(--leading-body); color: var(--hh-dtext-2); max-width: 52ch; }
main.p-support .sup-respec__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
main.p-support .sup-respec__chips .chip { font-size: 11px; letter-spacing: 0.1em; color: var(--hh-dtext-1); padding: 9px 12px; }
main.p-support .sup-respec__link {
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
  text-decoration: none;
}
main.p-support .sup-respec__link:hover { color: var(--hh-red); }
main.p-support .sup-respec__fig { margin: 0; }
main.p-support .sup-respec__fig img { display: block; width: 100%; max-width: 1023px; height: auto; }
main.p-support .sup-respec__fig figcaption { margin-top: 10px; }
@media (max-width: 900px) {
  main.p-support .sup-respec { grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
}

/* One-line pointer to How we work and Metrology, in place of the steps. */
main.p-support .sup-pointer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-block: var(--sp-6) var(--sp-8);
}
main.p-support .sup-pointer__text { display: grid; gap: 6px; }
main.p-support .sup-pointer__line { margin: 0; color: var(--hh-dtext-1); }
main.p-support .sup-pointer__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- How we work ---------- */

/* Head: title left, lede right, on one baseline. */
main.p-hww .hww-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: end;
}
main.p-hww .hww-head .page-head__title { font-size: clamp(3rem, 6vw, 5.5rem); }
main.p-hww .hww-head .page-head__lede { margin: 0; }
@media (max-width: 900px) {
  main.p-hww .hww-head { grid-template-columns: minmax(0, 1fr); gap: var(--sp-3); }
}

/* Stages: red number, text with from-you / from-us pairs, image.
   Separated by space only, no rules. */
main.p-hww .hww-stages { list-style: none; margin: 0; padding: 0; }
main.p-hww .hww-stage {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) minmax(0, 500px);
  gap: var(--sp-4) var(--sp-6);
  align-items: start;
  padding-block: var(--sp-6);
}
main.p-hww .hww-stage:first-child { padding-top: 0; }
main.p-hww .hww-stage:last-child { padding-bottom: 0; }
main.p-hww .hww-stage__text { display: flex; flex-direction: column; gap: 14px; }
main.p-hww .hww-stage__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}
main.p-hww .hww-stage__body { margin: 0; color: var(--hh-dtext-2); max-width: 60ch; }
main.p-hww .hww-stage .kv { margin-top: 4px; }

/* Stage image: one 3:2 frame on the ground step. Photos crop to it with
   object-fit; the render is never cropped. The portrait hall photo
   (691 px wide) is never shown above its native width: the column caps
   at 500 px. */
main.p-hww .hww-stage__img {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--hh-black-2);
}
main.p-hww .hww-stage__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main.p-hww .hww-stage__img--render img {
  object-fit: contain;
  padding: 6% 8% 12%;
  box-sizing: border-box;
}
main.p-hww .hww-stage__img--hall img { object-position: 50% 45%; }
main.p-hww .hww-stage__img--draw svg { display: block; width: 100%; height: 100%; }

@media (max-width: 1000px) {
  main.p-hww .hww-stage { grid-template-columns: 56px minmax(0, 1fr); }
  main.p-hww .hww-stage__img { grid-column: 2; }
}
@media (max-width: 600px) {
  main.p-hww .hww-stage { grid-template-columns: minmax(0, 1fr); gap: var(--sp-2); }
  main.p-hww .hww-stage__img { grid-column: 1; }
}

/* Close: what to send with the first enquiry, and the CTA. */
main.p-hww .hww-start {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-block: var(--sp-6) var(--sp-8);
}
main.p-hww .hww-start__text { display: grid; gap: 14px; }
main.p-hww .hww-start .eyebrow { margin: 0; }
main.p-hww .hww-start__list { grid-template-columns: repeat(3, minmax(0, auto)); gap: 10px 32px; }
@media (max-width: 800px) {
  main.p-hww .hww-start__list { grid-template-columns: minmax(0, 1fr); }
}


/* ===================================================================
   Page layouts: company-b (layout riffs handoff, 2026-11-13). Scoped to the
   page main class.
   =================================================================== */
/* ===================================================================
   Layout riffs, group company-b: About (main.p-about) and Contact
   (main.p-contact). Builds on the shared components at the end of
   site.css; every selector is scoped to one of the two page classes.
   =================================================================== */

/* ---------- About ---------- */

/* Opener: the hall photo full width, headline over its lower edge. */
main.p-about .photohero { min-height: clamp(420px, 68vh, 640px); }
main.p-about .photohero__img { object-position: 50% 35%; }
main.p-about .photohero__body { padding-bottom: var(--sp-4); }
main.p-about .photohero .page-head__title {
  font-size: clamp(2.6rem, 6.2vw, 5.25rem);
  line-height: 0.96;
  max-width: 14ch;
}

/* Dossier: fact table left (rules kept, it is data), paragraphs right. */
main.p-about .about-dossier { padding-top: var(--sp-6); }
main.p-about .about-dossier > .eyebrow { margin: 0 0 var(--sp-3); }
main.p-about .about-dossier__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}
main.p-about .facts { border-top: 2px solid var(--hh-dtext-1); }
main.p-about .facts dd { color: var(--hh-dtext-2); }
main.p-about .facts dd:first-of-type { color: var(--hh-dtext-1); }
main.p-about .about-dossier__text { max-width: 60ch; }
main.p-about .about-dossier__lede {
  font-size: var(--text-lg);
  line-height: 1.5;
  color: var(--hh-dtext-1);
}
@media (max-width: 900px) {
  main.p-about .about-dossier__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  main.p-about .facts { grid-template-columns: minmax(0, 1fr); }
  main.p-about .facts dt { padding-bottom: 0; border-bottom: 0; }
  main.p-about .facts dd { padding-top: 4px; }
}

/* The three machines as a strip of renders, each on a ground step. */
main.p-about .about-range {
  background: var(--hh-black-0);
  padding-block: var(--sp-6);
}
main.p-about .about-range .eyebrow { margin: 0; }
main.p-about .about-range > .shell > .eyebrow { margin-bottom: var(--sp-3); }
main.p-about .about-range__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}
main.p-about .about-range__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
main.p-about .about-range__art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--hh-black-2);
  transition: background-color 150ms ease;
}
main.p-about .about-range__art img {
  display: block;
  width: 86%;
  height: 92%;
  object-fit: contain;
}
main.p-about .about-range__item:hover .about-range__art { background: #1c1e21; }
main.p-about .about-range__item:hover .eyebrow { color: var(--hh-red); }
main.p-about .about-range__item:focus-visible { outline: 2px solid var(--hh-red); outline-offset: 4px; }
@media (max-width: 700px) {
  main.p-about .about-range__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Contact ---------- */

main.p-contact .cx { padding-top: var(--sp-6); }
main.p-contact .cx__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
main.p-contact .cx__label { margin: 0 0 var(--sp-2); }
@media (max-width: 900px) {
  main.p-contact .cx__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Four intents as panels: ground step, no outlines. The title link is
   stretched over the panel so the whole panel opens the email. */
main.p-contact .cx-intents {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
main.p-contact .cx-intent {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: var(--hh-black-2);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}
main.p-contact .cx-intent:hover,
main.p-contact .cx-intent:focus-within {
  background: #1c1e21;
  box-shadow: inset 3px 0 0 var(--hh-red);
}
main.p-contact .cx-intent__n {
  font-family: var(--font-data);
  font-size: 14px;
  color: var(--hh-red);
  padding-top: 3px;
}
main.p-contact .cx-intent__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0;
}
main.p-contact .cx-intent__link { color: var(--hh-dtext-1); text-decoration: none; }
main.p-contact .cx-intent__link::after { content: ""; position: absolute; inset: 0; }
main.p-contact .cx-intent__link:focus-visible { outline: 0; }
main.p-contact .cx-intent__link:focus-visible::after { outline: 2px solid var(--hh-red); outline-offset: -2px; }
main.p-contact .cx-intent__desc {
  margin: 6px 0 0;
  font-size: var(--text-sm);
  color: var(--hh-dtext-2);
}
main.p-contact .cx-intent__go {
  font-family: var(--font-data);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
  padding-top: 5px;
  white-space: nowrap;
}
main.p-contact .cx-intent:hover .cx-intent__go,
main.p-contact .cx-intent:focus-within .cx-intent__go { color: var(--hh-red); }
main.p-contact .cx-attach { margin-top: var(--sp-3); }
main.p-contact .cx-attach .eyebrow { margin: 0 0 10px; }
main.p-contact .cx-attach .slashlist { font-size: var(--text-sm); color: var(--hh-dtext-2); gap: 6px 24px; }
@media (max-width: 600px) {
  main.p-contact .cx-intent { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 20px; }
  main.p-contact .cx-intent__go { padding-top: 4px; }
}

/* Side rail: reach-us details, the Victoria map, the front-on photo. */
main.p-contact .cx__rail { display: grid; gap: var(--sp-4); }
main.p-contact .cx-reach .eyebrow { margin: 0 0 var(--sp-2); }
main.p-contact .cx-reach__lines {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-data);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--hh-dtext-1);
}
main.p-contact .cx-reach__mail {
  color: var(--hh-dtext-1);
  text-decoration: underline;
  text-decoration-color: var(--hh-red);
  text-underline-offset: 4px;
}
main.p-contact .cx-reach__mail:hover { color: var(--hh-red); }
main.p-contact .cx-reach__addr { margin: 0; font-size: var(--text-sm); color: var(--hh-dtext-2); }
main.p-contact .locmap { margin: 0; max-width: none; }
main.p-contact .locmap img { display: block; width: 100%; height: auto; }

/* ===================================================================
   Capabilities, second pass (2026-11-13): tool-changer table, the dry
   or wet switch, and the pointer under Verified.
   =================================================================== */
main.p-cap .p-cap__wide img { aspect-ratio: 3 / 2; }
main.p-cap .p-cap__table { margin-top: 6px; max-width: 26rem; }
main.p-cap .p-cap__wd {
  margin-top: var(--sp-8);
  background: var(--hh-black-2);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: grid;
  gap: var(--sp-4);
}
main.p-cap .p-cap__wdhead { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap; }
main.p-cap .p-cap__wdhead > div:first-child { display: grid; gap: 10px; }
main.p-cap .p-cap__wdpanel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}
main.p-cap .p-cap__wdpanel[hidden] { display: none; }
main.p-cap .p-cap__wdpanel .pair__photo img { aspect-ratio: 16 / 10; background: var(--hh-black-1); }
main.p-cap .p-cap__wdpanel .slashlist li { font-size: 15px; color: var(--hh-dtext-2); }
main.p-cap .p-cap__pointer { margin: var(--sp-6) 0 0; font-size: 15px; line-height: 1.6; color: var(--hh-dtext-3); max-width: 70ch; }
main.p-cap .p-cap__pointer a { color: var(--hh-dtext-1); }
@media (max-width: 800px) {
  main.p-cap .p-cap__wdpanel { grid-template-columns: minmax(0, 1fr); }
}
/* Two-way switch (switch.js): a tablist of mono buttons on a ground step. */
.switch { display: inline-flex; gap: 4px; padding: 4px; background: var(--hh-black-1); }
.switch[hidden] { display: none; }
.switch__btn {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: var(--font-data);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hh-dtext-3);
  cursor: pointer;
}
.switch__btn span { margin-left: 6px; letter-spacing: 0.08em; }
.switch__btn:hover { color: var(--hh-dtext-1); }
.switch__btn[aria-selected="true"] { color: var(--hh-dtext-1); background: var(--hh-black-2); border-bottom-color: var(--hh-red); }

/* Capabilities, third pass (2026-11-13). A drawing with no photo sits
   centred in a band as tall as the stage/photo pairs beside it. */
main.p-cap .figrow__art.p-cap__band { aspect-ratio: 5 / 2; justify-content: center; align-items: stretch; }
main.p-cap .figrow__art.p-cap__band .hl__stage { width: auto; height: 100%; max-width: 100%; aspect-ratio: 5 / 4; }
main.p-cap .p-cap__card > .p-cap__band { margin-bottom: 6px; }
main.p-cap .p-cap__attrib { margin: var(--sp-3) 0 0; }
@media (max-width: 700px) {
  main.p-cap .figrow__art.p-cap__band { aspect-ratio: 5 / 4; }
}
/* Dry or wet: two large tabs across the block, so the choice is the first
   thing read; the wet panel mirrors the dry one and each fades in. */
main.p-cap .p-cap__wdhead { display: grid; grid-template-columns: minmax(0, 1fr); justify-content: stretch; align-items: start; gap: var(--sp-3); }
main.p-cap .p-cap__wd .switch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 0; background: transparent; width: 100%; }
main.p-cap .p-cap__wd .switch[hidden] { display: none; }
main.p-cap .p-cap__wd .switch__btn {
  display: grid;
  gap: 6px;
  justify-items: start;
  text-align: left;
  padding: 16px 20px;
  min-height: 76px;
  background: var(--hh-black-1);
  border-bottom: 0;
  border-top: 3px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--hh-dtext-3);
}
main.p-cap .p-cap__wd .switch__btn span {
  margin: 0;
  font-family: var(--font-data);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
}
main.p-cap .p-cap__wd .switch__btn[aria-selected="true"] { background: var(--hh-red); border-top-color: var(--hh-red); color: #fff; }
main.p-cap .p-cap__wd .switch__btn[aria-selected="false"]:hover { color: var(--hh-dtext-1); border-top-color: var(--hh-dtext-3); }
main.p-cap .p-cap__wdpanel--flip > figure { order: 2; }
@keyframes wd-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
main.p-cap [data-switch-on] .p-cap__wdpanel:not([hidden]) { animation: wd-in 260ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  main.p-cap [data-switch-on] .p-cap__wdpanel:not([hidden]) { animation: none; }
}
@media (max-width: 800px) {
  main.p-cap .p-cap__wdpanel--flip > figure { order: 0; }
  main.p-cap .p-cap__wd .switch__btn { font-size: 1.375rem; padding: 12px 14px; }
}

/* Capabilities header, tidied (2026-11-13): title, lede, then the on-page
   index as one row of four links, all on the same left edge. */
main.p-cap .p-cap__headrow { display: block; }
main.p-cap .p-cap__headrow .page-head__lede { margin-top: var(--sp-3); }
main.p-cap .p-cap__index { display: block; margin-top: var(--sp-4); }
main.p-cap .p-cap__index ol { display: flex; flex-wrap: wrap; gap: 12px clamp(1.5rem, 3.5vw, 3.5rem); }
main.p-cap .p-cap__index a { display: inline-flex; align-items: baseline; padding-block: 6px; }
@media (max-width: 600px) {
  main.p-cap .p-cap__index ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
}

/* Metrology header, second pass (2026-11-13): the HeadCal photo fills the
   right half at full height and bleeds to the edge; the small ballbar photo
   sits beside the calibration steps at its native size. */
main.p-met .met-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  min-height: clamp(440px, 56vh, 620px);
}
main.p-met .met-hero__body {
  align-self: center;
  max-width: none;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem) var(--gutter);
}
main.p-met .met-hero__body .page-head__lede { max-width: 34rem; }
main.p-met .met-hero__photo { position: relative; justify-self: stretch; width: 100%; max-width: none; height: 100%; min-height: 320px; }
main.p-met .met-hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
main.p-met .met-run__photo { max-width: 500px; background: transparent; }
@media (max-width: 900px) {
  main.p-met .met-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0; }
  main.p-met .met-hero__body { padding-right: var(--gutter); padding-bottom: var(--sp-4); }
  main.p-met .met-hero__photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
}

/* Metrology, third pass (2026-11-13): no photographs. A compact text header
   on the page's left edge, the four animated methods straight under it as
   the page's picture, then the five calibration steps as a strip. */
main.p-met .met-hero {
  display: block;
  min-height: 0;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
}
main.p-met .met-hero__body { padding: 0; max-width: none; gap: var(--sp-3); }
main.p-met .met-hero__title { font-size: clamp(3.2rem, 8.5vw, 8.5rem); line-height: 0.92; }
main.p-met .met-hero__body .page-head__lede { max-width: 46rem; }
main.p-met .met-run { display: block; }
main.p-met .met-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-4) clamp(1rem, 2.5vw, 2rem);
  padding-top: 0;
}
main.p-met .met-steps::before { display: none; }
main.p-met .met-steps > li { grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; }
main.p-met .met-steps .vtimeline__num { text-align: left; background: none; font-size: 28px; line-height: 1; }
@media (max-width: 1000px) {
  main.p-met .met-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  main.p-met .met-steps { grid-template-columns: minmax(0, 1fr); }
  main.p-met .met-steps > li { grid-template-columns: 44px minmax(0, 1fr); }
}

/* Capabilities platform rows: drawings stay in the left column; the middle
   row swaps its photo and text so the rows stagger down the page. */
@media (min-width: 1001px) {
  main.p-cap .p-cap__mech--swap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); }
  main.p-cap .p-cap__mech--swap > .pair__photo { order: 3; }
  main.p-cap .p-cap__mech--swap > .p-cap__text { order: 2; }
}

/* Support: where H&H works on site (2026-11-13). The globe drawing beside the
   three regions. */
main.p-support .sup-where__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
main.p-support .sup-where__art { padding: 0; }
main.p-support .sup-where__art .hl__stage { width: 100%; max-width: none; }
main.p-support .sup-where__text { display: grid; gap: var(--sp-3); align-content: center; }
main.p-support .sup-where__text .display-title { margin: 0; }
main.p-support .sup-where__text p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--hh-dtext-2); max-width: 46ch; }
main.p-support .sup-where__list { gap: 14px; }
main.p-support .sup-where__list li { font-size: 15px; line-height: 1.5; color: var(--hh-dtext-2); }
main.p-support .sup-where__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  color: var(--hh-dtext-1);
}
@media (max-width: 860px) {
  main.p-support .sup-where__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Support header, globe version (2026-11-13): no photograph. The offer on
   the left, the turning globe on the right, both on the page ground. */
main.p-support .sup-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--hh-dline-1);
}
main.p-support .sup-hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
main.p-support .sup-hero__body > * { margin-block: 0; }
main.p-support .sup-hero__globe { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }
main.p-support .sup-hero__globe .hl__stage { width: 100%; max-width: 620px; height: auto; }
@media (max-width: 900px) {
  main.p-support .sup-hero { grid-template-columns: minmax(0, 1fr); }
  main.p-support .sup-hero__globe { order: -1; }
  main.p-support .sup-hero__globe .hl__stage { max-width: 440px; }
}
main.p-support .sup-hero__lede { font-size: var(--text-lg); color: var(--hh-dtext-2); max-width: 40rem; }
main.p-support .sup-hero__list > li { color: var(--hh-dtext-2); }

/* About header, second pass (2026-11-13): the gantry front-on, blending to
   the page ground over most of its height rather than in the last quarter. */
main.p-about .photohero { min-height: clamp(480px, 74vh, 720px); }
main.p-about .photohero__img { object-position: 50% 30%; }
main.p-about .photohero--bottom::after {
  background: linear-gradient(180deg,
    rgba(16, 17, 19, 0) 0%,
    rgba(16, 17, 19, 0.08) 18%,
    rgba(16, 17, 19, 0.28) 38%,
    rgba(16, 17, 19, 0.55) 58%,
    rgba(16, 17, 19, 0.82) 76%,
    rgba(16, 17, 19, 0.96) 90%,
    var(--hh-black-1) 100%);
}

/* ===================================================================
   Machines, one page (2026-11-13): three tabs choose the machine in
   focus; the focus area holds the envelope drawing (its model follows the
   tab) beside that machine's description and the travel sliders; the
   comparison table below lights the focused column.
   =================================================================== */
main.p-machines .mx-head .full-stop { color: var(--hh-red); }
main.p-machines .mx__five { color: var(--hh-red); }
main.p-machines .mx__tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: var(--sp-4); }
main.p-machines .mx__tab {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  text-align: left;
  padding: 14px 18px;
  min-height: 96px;
  background: var(--hh-black-2);
  border: 0;
  border-top: 3px solid transparent;
  color: var(--hh-dtext-3);
  cursor: pointer;
  font: inherit;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
main.p-machines .mx__tab img { grid-row: 1 / span 2; width: 88px; height: auto; opacity: 0.55; transition: opacity 150ms ease; }
main.p-machines .mx__tab .mx__name { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--hh-dtext-2); align-self: end; }
main.p-machines .mx__tab .eyebrow { align-self: start; }
main.p-machines .mx__tab:hover { color: var(--hh-dtext-1); }
main.p-machines .mx__tab:hover img { opacity: 0.85; }
main.p-machines .mx__tab[aria-selected="true"] { background: #1d2023; border-top-color: var(--hh-red); }
main.p-machines .mx__tab[aria-selected="true"] img { opacity: 1; }
main.p-machines .mx__tab[aria-selected="true"] .mx__name { color: var(--hh-dtext-1); }
main.p-machines .mx__tab:focus-visible { outline: 2px solid var(--hh-red); outline-offset: 2px; }

main.p-machines .mx__focus { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
main.p-machines .mx__art { position: sticky; top: 88px; }
main.p-machines .mx__side { display: grid; gap: var(--sp-4); align-content: start; }
main.p-machines .mx__text { display: grid; gap: 12px; }
main.p-machines .mx__text[hidden] { display: none; }
main.p-machines .mx__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.5rem); line-height: 0.95; text-transform: uppercase; margin: 0; }
main.p-machines .mx__text p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--hh-dtext-2); max-width: 52ch; }
main.p-machines .mx__form .cfg__lede { margin-bottom: 0; }
main.p-machines .mx__note { margin: 0; padding: 12px 14px; background: var(--hh-black-2); font-size: 15px; line-height: 1.5; color: var(--hh-dtext-1); }
main.p-machines .mx__note[hidden] { display: none; }
main.p-machines .cfg--locked .cfg__axis { opacity: 0.45; }
main.p-machines .cfg--locked .cfg__range, main.p-machines .cfg--locked .cfg__num { cursor: not-allowed; }

main.p-machines .mx-table__wrap { overflow-x: auto; }
main.p-machines .mx-table { min-width: 720px; }
main.p-machines .mx-table th[scope="row"] {
  font-family: var(--font-data); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hh-dtext-3); text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--hh-dline-1); white-space: nowrap; width: 18%;
}
main.p-machines .mx-table td { color: var(--hh-dtext-2); width: 27.33%; transition: background-color 200ms ease, color 200ms ease; }
main.p-machines .mx-table td.na { color: var(--hh-dtext-4); }
main.p-machines .mx-table__pick {
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; letter-spacing: 0; text-transform: uppercase;
  background: none; border: 0; padding: 0; color: var(--hh-dtext-3); cursor: pointer;
}
main.p-machines .mx-table__pick:hover { color: var(--hh-dtext-1); }
main.p-machines[data-focus="ultra5"] .mx-table [data-m="ultra5"],
main.p-machines[data-focus="alpha5"] .mx-table [data-m="alpha5"],
main.p-machines[data-focus="agile5"] .mx-table [data-m="agile5"] { background: var(--hh-black-2); color: var(--hh-dtext-1); }
main.p-machines[data-focus="ultra5"] .mx-table [data-m="ultra5"] .mx-table__pick,
main.p-machines[data-focus="alpha5"] .mx-table [data-m="alpha5"] .mx-table__pick,
main.p-machines[data-focus="agile5"] .mx-table [data-m="agile5"] .mx-table__pick { color: var(--hh-dtext-1); }
main.p-machines .mx-table td, main.p-machines .mx-table thead th { padding-left: 14px; padding-right: 14px; }

main.p-machines .mx-which__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 4vw, 4rem); }
main.p-machines .mx-which__text { display: grid; gap: var(--sp-3); }
main.p-machines .mx-which__text p { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--hh-dtext-2); max-width: 62ch; }
main.p-machines .mx-which__text h3 { margin: var(--sp-2) 0 0; }

@media (max-width: 1000px) {
  main.p-machines .mx__focus { grid-template-columns: minmax(0, 1fr); }
  main.p-machines .mx__art { position: static; }
  main.p-machines .mx-which__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  main.p-machines .mx__tabs { grid-template-columns: minmax(0, 1fr); }
  main.p-machines .mx__tab { min-height: 72px; grid-template-columns: 64px minmax(0, 1fr); }
  main.p-machines .mx__tab img { width: 64px; }
}

/* Machines, vertical list (2026-11-13): the three machines as a list on the
   left, a large render of the focused machine beside it, then its
   description; the envelope drawing and sliders run underneath. */
main.p-machines .mx__top {
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin-bottom: var(--sp-6);
}
main.p-machines .mx__top .mx__tabs { grid-template-columns: minmax(0, 1fr); margin: 0; align-self: center; }
main.p-machines .mx__top .mx__tab { min-height: 84px; border-top: 0; border-left: 3px solid transparent; }
main.p-machines .mx__top .mx__tab[aria-selected="true"] { border-left-color: var(--hh-red); }
main.p-machines .mx__render { position: relative; margin: 0; aspect-ratio: 1146 / 1027; }
main.p-machines .mx__render img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: translateY(10px) scale(0.985);
  transition: opacity 380ms ease, transform 480ms cubic-bezier(.2,.7,.2,1);
}
main.p-machines .mx__render img.is-on { opacity: 1; transform: none; }
/* Before the script runs, show the first render. */
main.p-machines:not([data-focus]) .mx__render img:first-of-type { opacity: 1; transform: none; }
main.p-machines .mx__textcol { display: grid; gap: var(--sp-3); align-content: center; }
@media (max-width: 1000px) {
  main.p-machines .mx__focus { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  main.p-machines .mx__render img { transition: none; transform: none; }
}
@media (max-width: 1100px) {
  main.p-machines .mx__top { grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr); }
  main.p-machines .mx__textcol { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  main.p-machines .mx__top { grid-template-columns: minmax(0, 1fr); }
  main.p-machines .mx__top .mx__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  main.p-machines .mx__top .mx__tab { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; min-height: 0; padding: 10px 6px; border-left: 0; border-top: 3px solid transparent; }
  main.p-machines .mx__top .mx__tab[aria-selected="true"] { border-top-color: var(--hh-red); }
  main.p-machines .mx__top .mx__tab img { grid-row: auto; width: 56px; }
  main.p-machines .mx__top .mx__tab .eyebrow { display: none; }
  main.p-machines .mx__top .mx__tab .mx__name { font-size: 1.25rem; }
}

/* Machines table: what differs first, then one row per shared value spanning
   all three columns under a "Common to all three" label. */
main.p-machines .mx-table__group th {
  padding: var(--sp-4) 0 10px;
  font-family: var(--font-data); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hh-dtext-1); text-align: left; border-bottom: 2px solid var(--hh-dtext-1);
}
main.p-machines .mx-table__all td { color: var(--hh-dtext-1); }

/* Machines configurator options (2026-11-13): shuttle tables, twin trunnions,
   dual gantry, as segmented controls under the travels. A control the machine
   in focus does not offer is dimmed and says why in its hint line. */
main.p-machines .cfg__opts { display: grid; gap: 0; margin-top: var(--sp-2); }
main.p-machines .cfg__optstitle {
  margin: 0 0 6px; font-family: var(--font-data); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--hh-dtext-3);
}
main.p-machines .cfg__opt {
  margin: 0; padding: 12px 0; border: 0; border-top: 1px solid var(--hh-dline-1); min-width: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px;
}
main.p-machines .cfg__opt:last-of-type { border-bottom: 1px solid var(--hh-dline-1); }
main.p-machines .cfg__opt legend { float: left; padding: 0; margin: 0; }
main.p-machines .cfg__seg { display: inline-flex; border: 1px solid var(--hh-dline-2); justify-self: end; }
main.p-machines .cfg__seg label { position: relative; cursor: pointer; }
main.p-machines .cfg__seg label + label { border-left: 1px solid var(--hh-dline-2); }
main.p-machines .cfg__seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
main.p-machines .cfg__seg span {
  display: block; min-width: 3.25rem; padding: 7px 12px; text-align: center;
  font-family: var(--font-data); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hh-dtext-2); transition: background-color 160ms ease, color 160ms ease;
}
main.p-machines .cfg__seg label:hover span { color: var(--hh-dtext-1); }
main.p-machines .cfg__seg input:checked + span { background: var(--hh-red); color: #fff; }
main.p-machines .cfg__seg input:focus-visible + span { outline: 1.5px solid var(--hh-red); outline-offset: 2px; }
main.p-machines .cfg__seg input:disabled + span { color: var(--hh-dtext-4); cursor: not-allowed; }
main.p-machines .cfg__seg input:disabled:checked + span { background: var(--hh-black-2); color: var(--hh-dtext-3); }
main.p-machines .cfg__seg label:has(input:disabled) { cursor: not-allowed; }
main.p-machines .cfg__hint { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.45; color: var(--hh-dtext-3); }
main.p-machines .cfg__hint[hidden] { display: none; }
main.p-machines .cfg__change {
  grid-column: 1 / -1; justify-self: start; margin-top: 2px; padding: 7px 12px; background: none; cursor: pointer;
  border: 1px solid var(--hh-dline-2); color: var(--hh-dtext-1);
  font-family: var(--font-data); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
main.p-machines .cfg__change:hover { border-color: var(--hh-red); }
main.p-machines .cfg__change:focus-visible { outline: 1.5px solid var(--hh-red); outline-offset: 2px; }
main.p-machines .cfg__change[hidden] { display: none; }

/* Machines: the machine in focus named in outline, stroke only, across the
   full width of the machine row and across the full width of the envelope
   drawing (2026-11-13), as the designation watermark ran behind the old
   machine-page heads. Each name is sized in container units to fill its
   container exactly (measured in IBM Plex Sans Condensed Bold). The drawing's
   plates are filled, so the drawing sits in front. Decorative: aria-hidden. */
main.p-machines .mx__top { position: relative; container-type: inline-size; }
main.p-machines .mx__top > :not(.mx__mark) { position: relative; z-index: 1; }
main.p-machines .mx__mark,
main.p-machines .mx__artmark {
  position: absolute;
  left: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #45494e;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 520ms ease, transform 640ms cubic-bezier(.2,.7,.2,1);
}
main.p-machines [data-mx-mark="ultra5"] { font-size: 30.4cqw; }
main.p-machines [data-mx-mark="alpha5"] { font-size: 28.9cqw; }
main.p-machines [data-mx-mark="agile5"] { font-size: 31.6cqw; }
main.p-machines .mx__mark { top: var(--mark-y, 50%); transform: translateY(-50%) translateY(14px); }
main.p-machines .mx__mark.is-on,
main.p-machines:not([data-focus]) .mx__mark:first-of-type { opacity: 1; transform: translateY(-50%); }
main.p-machines .mx__art { container-type: inline-size; overflow: hidden; }
main.p-machines .mx__art .hl__stage { position: relative; z-index: 1; }
main.p-machines .mx__art .hl__read { z-index: 3; }
/* the name across the drawing lies on the grid's layer, over the drawing */
main.p-machines .mx__artmark { z-index: 2; top: 50%; line-height: 1; transform: translateY(-50%) translateY(10px); -webkit-text-stroke-color: rgba(198, 202, 205, 0.12); }
main.p-machines .mx__artmark.is-on,
main.p-machines:not([data-focus]) .mx__artmark:first-of-type { opacity: 1; transform: translateY(-50%); }
@media (prefers-reduced-motion: reduce) {
  main.p-machines .mx__mark, main.p-machines .mx__artmark { transition: none; }
}

/* Home, core technology (2026-11-13): three cards, each technology with its
   own picture at the same size, then the digital twin as a ruled line. */
main.p-home .home-core { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
main.p-home .home-core__card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
main.p-home .home-core__art { aspect-ratio: 5 / 4; margin: 0 0 var(--sp-2); align-items: center; overflow: hidden; }
main.p-home .home-core__art .hl__stage { width: auto; height: 100%; max-width: 100%; }
main.p-home .home-core__headimg { position: relative; display: block; height: 100%; aspect-ratio: 778 / 1110; }
main.p-home .home-core__headimg img { display: block; width: 100%; height: 100%; object-fit: contain; }
main.p-home .home-core__headimg .callfig__pt { box-shadow: 0 0 0 2px var(--hh-panel); }
main.p-home .home-core__title {
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.1;
  text-transform: uppercase; margin: 0;
}
main.p-home .home-core__card p,
main.p-home .home-core__twin p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--hh-dtext-2); max-width: 46ch; }
main.p-home .home-core__twin {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px clamp(1.25rem, 2.5vw, 2rem); align-items: start;
  margin-top: var(--sp-6); padding-top: var(--sp-3); border-top: 1px solid var(--hh-dline-1);
}
main.p-home .home-core__twin .eyebrow, main.p-home .home-core__twin .home-core__title { grid-column: 1; }
main.p-home .home-core__twin p { grid-column: 2 / -1; grid-row: 1 / span 2; align-self: center; max-width: 62ch; }
@media (max-width: 900px) {
  main.p-home .home-core { grid-template-columns: minmax(0, 1fr); }
  main.p-home .home-core__art { aspect-ratio: 16 / 10; }
  main.p-home .home-core__twin { grid-template-columns: minmax(0, 1fr); }
  main.p-home .home-core__twin p { grid-column: 1; grid-row: auto; }
}

/* Drawing panels keep the section-paper grid (client, 2026-11-13; it had been
   removed by the hairline budget). Drawing panels only: render and photo
   panels stay plain. The drawings' plates are filled with the panel colour,
   so the grid runs behind them, not through them. */
.figrow__art, .toolcard__art.hl, .figlead, .cfg__art {
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px);
}
.figrow__art--render, .figrow__art.pair__photo { background-image: none; }
/* Outlined watermarks share the machine-name grey, a step lighter than the hairline. */
.page-head[data-mark]::after { -webkit-text-stroke-color: #45494e; }
/* On drawing panels the grid lies over the drawing (client, 2026-11-13): a
   layer above the plates, so it reads across their fill as section paper
   does under ink. Pointer-transparent; the read-out stays above it. Panels
   that hold a picture rather than a drawing keep it as a background. */
.figrow__art.hl, .cfg__art.hl { position: relative; background-image: none; }
.figrow__art.hl::after, .cfg__art.hl::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px);
}
.figrow__art.hl .hl__read, .cfg__art.hl .hl__read { z-index: 3; }
main.p-machines .cfg__optshead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
main.p-machines .cfg__reset {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--font-data); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--hh-dtext-3); text-decoration: underline; text-decoration-color: var(--hh-dline-1); text-underline-offset: 0.35em;
}
main.p-machines .cfg__reset:hover { color: var(--hh-dtext-1); text-decoration-color: var(--hh-red); }
main.p-machines .cfg__reset:focus-visible { outline: 1.5px solid var(--hh-red); outline-offset: 2px; }
/* Machines (2026-11-13): the drawing keeps its own frame at every width, so the
   name stays across the drawing when the panel stops being sticky; the table
   columns choose the machine, and the column under the pointer is lit. */
@media (max-width: 1000px) { main.p-machines .mx__art { position: relative; top: auto; } }
main.p-machines .mx-table td[data-m] { cursor: pointer; }
main.p-machines .mx-table[data-hover="ultra5"] [data-m="ultra5"],
main.p-machines .mx-table[data-hover="alpha5"] [data-m="alpha5"],
main.p-machines .mx-table[data-hover="agile5"] [data-m="agile5"] { background: #191b1e; color: var(--hh-dtext-1); }
main.p-machines[data-focus="ultra5"] .mx-table [data-m="ultra5"],
main.p-machines[data-focus="alpha5"] .mx-table [data-m="alpha5"],
main.p-machines[data-focus="agile5"] .mx-table [data-m="agile5"] { background: var(--hh-black-2); }
/* Small red index numbers take the text red, for contrast (WCAG AA, 2026-11-13). */
main.p-cap .p-cap__n, main.p-cap .p-cap__num, main.p-contact .cx-intent__n { color: var(--hh-red-text); }

/* How we work (2026-11-13): the five stages on a timeline. One thin line runs
   down through the red numbers; picture and text change sides stage by stage;
   no captions. The stage 01 drawing sits on the drawing grid, like the
   hairline panels, and stage 04 shows the laser positioning plot. */
main.p-hww .hww-stages { position: relative; }
main.p-hww .hww-stages::before {
  content: ""; position: absolute; left: 18px; top: 10px; bottom: 10px; width: 1px;
  background: var(--hh-dline-1);
}
main.p-hww .hww-stage .bignum {
  position: relative; z-index: 1; justify-self: start;
  background: var(--hh-black-1); padding-block: 6px; line-height: 1;
}
main.p-hww .hww-stage:nth-child(even) { grid-template-columns: 72px minmax(0, 500px) minmax(0, 1fr); }
main.p-hww .hww-stage:nth-child(even) .hww-stage__img { grid-column: 2; grid-row: 1; }
main.p-hww .hww-stage:nth-child(even) .hww-stage__text { grid-column: 3; grid-row: 1; }
main.p-hww .hww-stage__img { align-self: center; }
main.p-hww .hww-stage__img--draw,
main.p-hww .hww-stage__img.figrow__art { background-color: var(--hh-black-2); }
main.p-hww .hww-stage__img--draw {
  background-image:
    repeating-linear-gradient(0deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(198, 202, 205, 0.045) 0 1px, transparent 1px 24px);
}
main.p-hww .hww-stage__img.figrow__art { padding: 12px; display: flex; align-items: center; justify-content: center; }
main.p-hww .hww-stage__img.figrow__art .hl__stage { width: auto; height: 100%; max-width: 100%; }
main.p-hww .hww-link {
  align-self: flex-start; margin-top: 2px;
  font-family: var(--font-data); font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--hh-dtext-1); text-decoration: underline; text-decoration-color: var(--hh-red); text-underline-offset: 0.35em;
  padding-block: 8px;
}
main.p-hww .hww-link:hover { color: var(--hh-red-text); }
@media (max-width: 1000px) {
  main.p-hww .hww-stage:nth-child(even) { grid-template-columns: 56px minmax(0, 1fr); }
  main.p-hww .hww-stage:nth-child(even) .hww-stage__text { grid-column: 2; grid-row: 1; }
  main.p-hww .hww-stage:nth-child(even) .hww-stage__img { grid-column: 2; grid-row: 2; }
}
@media (max-width: 600px) {
  main.p-hww .hww-stages::before { display: none; }
  main.p-hww .hww-stage:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  main.p-hww .hww-stage:nth-child(even) .hww-stage__text,
  main.p-hww .hww-stage:nth-child(even) .hww-stage__img { grid-column: 1; grid-row: auto; }
}
/* How we work media (2026-11-13): one frame for every stage, larger and 4:3.
   Stages on paper (01, 02, 04) are drawings on the grid; stages on the floor
   (03, 05) are photos, filling the frame. */
main.p-hww .hww-stage { grid-template-columns: 72px minmax(0, 1fr) minmax(0, 560px); }
main.p-hww .hww-stage:nth-child(even) { grid-template-columns: 72px minmax(0, 560px) minmax(0, 1fr); }
main.p-hww .hww-stage__img { max-width: 560px; aspect-ratio: 4 / 3; }
main.p-hww .hww-stage__img--hall img { object-position: 50% 35%; }
@media (max-width: 1000px) {
  main.p-hww .hww-stage, main.p-hww .hww-stage:nth-child(even) { grid-template-columns: 56px minmax(0, 1fr); }
}
@media (max-width: 600px) {
  main.p-hww .hww-stage, main.p-hww .hww-stage:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
}
/* Home hero (2026-11-13): the ULTRA5 in the hall, front-on. On desktop the
   claim sits over its left side as before; on a phone the photo sits above
   the claim and fades into the ground under it, so the floor at the foot of
   the photo goes and the kicker starts on the fade. */
main.p-home .home-hero .photohero__img { object-position: 50% 60%; }
main.p-home .home-hero::after {
  background:
    linear-gradient(90deg, rgba(11,12,13,.94) 0%, rgba(11,12,13,.7) 38%, rgba(11,12,13,.1) 72%),
    linear-gradient(180deg, rgba(11,12,13,0) 62%, rgba(11,12,13,.8) 88%, var(--hh-black-0) 100%);
}
@media (max-width: 700px) {
  main.p-home .home-hero::after {
    display: block; inset: 0 0 auto 0; height: 75vw;
    background: linear-gradient(180deg, rgba(11,12,13,0) 40%, rgba(11,12,13,.75) 78%, var(--hh-black-0) 100%);
  }
  main.p-home .home-hero .photohero__body { margin-top: -16vw; }
}
/* Machines comparison on a phone (2026-11-13): the machine chosen in the tabs
   above, beside the parameter names, instead of a 720 px table cut off at its
   first column. Values shared by all three still span the row. Without the
   script (no data-focus) the whole table scrolls sideways as before. */
@media (max-width: 700px) {
  main.p-machines[data-focus] .mx-table { min-width: 0; }
  main.p-machines[data-focus="ultra5"] .mx-table [data-m]:not([data-m="ultra5"]),
  main.p-machines[data-focus="alpha5"] .mx-table [data-m]:not([data-m="alpha5"]),
  main.p-machines[data-focus="agile5"] .mx-table [data-m]:not([data-m="agile5"]) { display: none; }
  main.p-machines[data-focus] .mx-table th[scope="row"] { width: 42%; white-space: normal; }
  main.p-machines[data-focus] .mx-table td { width: auto; }
}
/* Machines drawing on a phone (2026-11-13): edge to edge, past the page gutter. */
@media (max-width: 700px) {
  main.p-machines .mx__art { margin-inline: calc(-1 * var(--gutter)); border-left: 0; border-right: 0; }
}
