/* HM System 1.0 · primitives and components, on the registry (tokens.css). No radius anywhere but a dot. No box
   behind type: hierarchy is the ladder (--hm-c1…c4), and a scrim only where a picture is bright under it.
   Plain CSS on purpose: the site's React, the canvas engine's DOM layer and the system board all read this file. */

/* every box is measured to its border (the site's and the board's resets say the same) */
.hm,
.hm *,
.hm *::before,
.hm *::after {
  box-sizing: border-box;
}

/* ── type roles ─────────────────────────────────────────────────────────── */
.hm-t-micro {
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  letter-spacing: 0;
}
.hm-t-text {
  font-size: var(--hm-text);
  line-height: var(--hm-lh-text);
  letter-spacing: 0;
}
.hm-t-title {
  font-size: var(--hm-title);
  line-height: var(--hm-lh-title);
  letter-spacing: var(--hm-track);
  font-weight: var(--hm-weight-title, inherit);
}
/* a paragraph that leads a page: the title's size at the body's weight and leading */
.hm-t-lead {
  font-size: var(--hm-title);
  line-height: 1.22;
  letter-spacing: var(--hm-track);
}
.hm-t-statement {
  font-size: var(--hm-statement);
  line-height: var(--hm-lh-statement);
  letter-spacing: var(--hm-track);
  font-weight: var(--hm-weight-title, inherit);
}
.hm-t-display {
  font-size: var(--hm-display);
  line-height: var(--hm-lh-display);
  letter-spacing: var(--hm-track);
  font-weight: var(--hm-weight-title, inherit);
}
.hm :is(h1, h2, h3, h4, p, dl, dd, ol, ul, figure) {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}
.hm :is(ol, ul) {
  list-style: none;
}
/* the ladder */
.hm-o1 {
  color: var(--hm-c1);
}
.hm-o2 {
  color: var(--hm-c2);
}
.hm-o3 {
  color: var(--hm-c3);
}
.hm-o4 {
  color: var(--hm-c4);
}
.hm-tnum {
  font-variant-numeric: tabular-nums;
}
.hm-balance {
  text-wrap: balance;
}

/* ── grid ───────────────────────────────────────────────────────────────── */
.hm-grid {
  display: grid;
  grid-template-columns: repeat(var(--hm-cols), minmax(0, 1fr));
  column-gap: var(--hm-gutter);
  padding-inline: var(--hm-margin);
}
/* a head's facts are placed as the grid's own children, though a wrapper holds them for the phone (.hm-facts) */
.hm-grid > *,
.hm-grid > .hm-facts > * {
  grid-column: var(--c, 1 / -1);
  min-width: 0;
}
@container hm (max-width: 699px) {
  .hm-grid > * {
    grid-column: var(--cp, 1 / -1);
  }
}
.hm-rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--hm-rule);
}

/* ── primitives: icons ──────────────────────────────────────────────────── */
/* drawn in a 16 unit box, square caps, mitred: <svg class="hm-i"><use href="#hm-arrow"/></svg> */
.hm-i {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: var(--hm-stroke);
  stroke-linecap: square;
  stroke-linejoin: miter;
  overflow: visible;
}

/* ── primitives: dots, counts, progress ─────────────────────────────────── */
.hm-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--hm-signal);
}
.hm-dot--off {
  background: none;
  box-shadow: inset 0 0 0 1px var(--hm-c2);
}
.hm-dot--sq {
  border-radius: 0;
}
.hm-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hm-dots > i,
.hm-dots > a {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--hm-c4);
  transition: background var(--hm-fast) var(--hm-ease);
}
/* a dot that leads somewhere: a wider hit than it shows */
.hm-dots > a {
  position: relative;
}
.hm-dots > a::after {
  content: '';
  position: absolute;
  inset: -8px -3px;
}
.hm-dots > a:hover {
  background: var(--hm-c2);
}
.hm-dots > i.on,
.hm-dots > a.on {
  background: var(--hm-c1);
}
.hm-dots--sq > i {
  border-radius: 0;
}
.hm-count {
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hm-count > i {
  font-style: normal;
  color: var(--hm-c3);
}
/* a line: the rail at the rule's opacity, the part done at 100 */
.hm-progress {
  position: relative;
  height: 1px;
  background: var(--hm-rule);
}
.hm-progress > i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v, 40%);
  background: var(--hm-c1);
  transition: width var(--hm-base) var(--hm-ease);
}
.hm-progress--v {
  width: 1px;
  height: auto;
}
.hm-progress--v > i {
  inset: 0 0 auto 0;
  width: 1px;
  height: var(--v, 40%);
}
/* segments: one to a step */
.hm-seg {
  display: flex;
  gap: 4px;
}
.hm-seg > i {
  flex: 1;
  height: 1px;
  background: var(--hm-c4);
}
.hm-seg > i.on {
  background: var(--hm-c1);
}
/* bars: the mark's own parallelogram as the unit (hm-logo.svg: 24.94 wide, 60.29 high, leaning 20.82°, 13.52 apart) */
.hm-bars {
  --b: 5px;
  display: inline-flex;
  align-items: flex-end;
  gap: calc(var(--b) * 0.542);
  height: calc(var(--b) * 2.417);
  padding-right: calc(var(--b) * 0.92);
}
.hm-bars > i {
  width: var(--b);
  height: 100%;
  background: var(--hm-c4);
  transform: skewX(-20.82deg);
  transform-origin: 0 100%;
}
.hm-bars > i.on {
  background: var(--hm-c1);
}
.hm-bars > i.half {
  height: 50%;
}

/* ── pictures and the scrim ─────────────────────────────────────────────── */
.hm-pic {
  position: relative;
  overflow: hidden;
  background: var(--hm-field);
}
.hm-pic > img,
.hm-pic > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* a ramp of the ink from the edge the type stands on: eased, so it has no line where it ends */
.hm-scrim {
  --a: var(--hm-scrim);
  position: absolute;
  inset: auto 0 0 0;
  height: var(--hm-scrim-h);
  pointer-events: none;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--hm-ink) calc(var(--a) * 100%), transparent) 0%,
    color-mix(in srgb, var(--hm-ink) calc(var(--a) * 87%), transparent) 12%,
    color-mix(in srgb, var(--hm-ink) calc(var(--a) * 69%), transparent) 25%,
    color-mix(in srgb, var(--hm-ink) calc(var(--a) * 47%), transparent) 40%,
    color-mix(in srgb, var(--hm-ink) calc(var(--a) * 28%), transparent) 55%,
    color-mix(in srgb, var(--hm-ink) calc(var(--a) * 13%), transparent) 70%,
    color-mix(in srgb, var(--hm-ink) calc(var(--a) * 4%), transparent) 85%,
    transparent 100%
  );
}
.hm-scrim--top {
  inset: 0 0 auto 0;
  transform: scaleY(-1);
}

/* ── pairs: a label over its value. The label is the same size, only lighter ── */
.hm-pair {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-pair > dt {
  color: var(--hm-c2);
}
.hm-pair > dd {
  color: var(--hm-c1);
}
/* dense: the label drops to micro */
.hm-pair--micro > dt {
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
}
/* a row of a table: label left, value right, a hairline over */
.hm .hm-pair--row {
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--hm-s4);
  padding-block: 10px;
  border-top: 1px solid var(--hm-rule);
}
/* a figure: the value at title size */
.hm-stat > dd {
  font-size: var(--hm-title);
  line-height: var(--hm-lh-title);
  letter-spacing: var(--hm-track);
  font-variant-numeric: tabular-nums;
}
.hm-stat > dt {
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  margin-bottom: 6px;
}

/* tags as type: no chips */
.hm-tags {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c2);
}
.hm-tags > * + *::before {
  content: '/';
  margin-inline: 0.5em;
  color: var(--hm-c4);
}
.hm-caption {
  display: inline-flex;
  gap: 0.75em;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c2);
  font-variant-numeric: tabular-nums;
}
.hm-caption > i {
  font-style: normal;
  color: var(--hm-c3);
}

/* ── actions ────────────────────────────────────────────────────────────── */
.hm-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  transition: color var(--hm-fast) var(--hm-ease);
}
.hm-link.hm-o2:hover {
  color: var(--hm-c1);
}
.hm-link > .hm-i {
  transition: transform var(--hm-fast) var(--hm-ease);
}
.hm-link:hover > .hm-i {
  transform: translateX(2px);
}
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hm-s5);
  height: var(--hm-h-m);
  padding-inline: var(--hm-s4);
  border: 0;
  border-radius: 0;
  background: var(--hm-fg);
  color: var(--hm-bg);
  font: inherit;
  font-size: var(--hm-micro);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background var(--hm-fast) var(--hm-ease),
    color var(--hm-fast) var(--hm-ease),
    box-shadow var(--hm-fast) var(--hm-ease);
}
.hm-btn:hover {
  background: color-mix(in srgb, var(--hm-fg) 82%, var(--hm-bg));
}
.hm-btn > .hm-i {
  transition: transform var(--hm-fast) var(--hm-ease);
}
.hm-btn:hover > .hm-i {
  transform: translateX(2px);
}
.hm-btn--s {
  height: var(--hm-h-s);
  padding-inline: var(--hm-s3);
}
.hm-btn--l {
  height: var(--hm-h-l);
  font-size: var(--hm-text);
}
/* a hairline, not a fill */
.hm-btn--line {
  background: none;
  color: var(--hm-c1);
  box-shadow: inset 0 0 0 1px var(--hm-rule);
}
.hm-btn--line:hover {
  background: none;
  box-shadow: inset 0 0 0 1px var(--hm-c1);
}
/* the bar: the whole width of what it closes, the label left, the arrow right */
.hm-bar {
  display: flex;
  width: 100%;
  height: var(--hm-h-l);
  font-size: var(--hm-text);
}

/* ── navigation ─────────────────────────────────────────────────────────── */
.hm-nav {
  display: flex;
  align-items: center;
  gap: var(--hm-s5);
  height: var(--hm-nav);
  padding-inline: var(--hm-margin);
  font-size: var(--hm-micro);
  line-height: 1;
}
.hm-nav > .hm-nav__grow {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hm-mark {
  height: 1em;
  width: auto;
  fill: currentColor;
  flex: none;
}

/* ── the page head: the title and its three facts, straight on what is under them ── */
.hm-head {
  align-items: start;
  row-gap: var(--hm-s4);
}

/* ── notices: what the site says about itself, once. Sharp, a hairline, nothing behind ── */
.hm-notice {
  display: flex;
  flex-direction: column;
  width: 320px;
  background: var(--hm-bg);
  box-shadow: 0 0 0 1px var(--hm-rule);
}
.hm-notice__top {
  display: flex;
  align-items: center;
  gap: var(--hm-s3);
  padding: var(--hm-s4) var(--hm-s4) 0;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
}
.hm-notice__top > img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  flex: none;
}
.hm-notice__who {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.hm-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hm-notice__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--hm-s5) var(--hm-s4) var(--hm-s5);
}
.hm-notice__foot {
  display: flex;
  justify-content: space-between;
  padding: 0 var(--hm-s4) var(--hm-s3);
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
}
.hm-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: -6px -6px -6px 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--hm-c2);
  font-size: 12px;
  cursor: pointer;
  transition: color var(--hm-fast) var(--hm-ease);
}
.hm-x:hover {
  color: var(--hm-c1);
}
/* a strip: one line of micro across the screen's edge */
.hm-banner {
  display: flex;
  align-items: center;
  gap: var(--hm-s5);
  height: var(--hm-h-m);
  padding-inline: var(--hm-margin);
  background: var(--hm-bg);
  font-size: var(--hm-micro);
  line-height: 1;
  white-space: nowrap;
}
.hm-banner > .hm-banner__grow {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hm-banner--rule-top {
  box-shadow: inset 0 1px 0 var(--hm-rule);
}
.hm-banner--rule-bottom {
  box-shadow: inset 0 -1px 0 var(--hm-rule);
}
@container hm (max-width: 699px) {
  .hm-banner .hm-banner__long {
    display: none;
  }
}
/* a line that comes and goes */
.hm-toast {
  display: inline-flex;
  align-items: center;
  gap: var(--hm-s3);
  height: var(--hm-h-m);
  padding-inline: var(--hm-s4);
  background: var(--hm-bg);
  box-shadow: 0 0 0 1px var(--hm-rule);
  font-size: var(--hm-micro);
  line-height: 1;
  white-space: nowrap;
}

/* ── lists: a capability to a row, a hairline between ───────────────────── */
.hm-list > li {
  border-top: 1px solid var(--hm-rule);
  padding-block: var(--hm-s5);
  align-items: baseline;
  padding-inline: 0;
}
.hm-list > li:last-child {
  border-bottom: 1px solid var(--hm-rule);
}
.hm-steps {
  display: flex;
  flex-direction: column;
}
.hm-steps > li {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  padding-block: 10px;
  border-top: 1px solid var(--hm-rule);
}
.hm-steps > li > i {
  font-style: normal;
  color: var(--hm-c3);
  font-variant-numeric: tabular-nums;
}

/* ── screens: a viewport's column, a picture under its type, the index ──── */
.hm-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
/* a picture the whole of its box, the type over it top and foot; a scrim only if the picture asks */
.hm-hero {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hm-hero > .hm-pic {
  position: absolute;
  inset: 0;
}
.hm-hero > :not(.hm-pic, .hm-scrim) {
  position: relative;
}
/* the index: a project to a line, type at rest; a window at the right holds the picture of the one under the
   pointer, and the others drop a rung */
.hm-index {
  position: relative;
}
.hm-index > li {
  align-items: baseline;
  padding-block: 18px;
  box-shadow: inset 0 1px 0 var(--hm-rule);
}
.hm-index > li > :not(.hm-index__view) {
  transition: opacity var(--hm-fast) var(--hm-ease);
}
.hm-index:hover > li:not(:hover) > :not(.hm-index__view),
.hm-index.is-on:not(:hover) > li:not(.on) > :not(.hm-index__view) {
  opacity: var(--hm-o3);
}
.hm-index__view {
  position: absolute;
  right: var(--hm-margin);
  top: 24px;
  width: calc((100cqw - 2 * var(--hm-margin) - 11 * var(--hm-gutter)) / 12 * 4 + 3 * var(--hm-gutter));
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--hm-base) var(--hm-ease);
}
.hm-index__view > .hm-pic {
  aspect-ratio: 16 / 10;
}
.hm-index > li:hover > .hm-index__view,
.hm-index.is-on:not(:hover) > li.on > .hm-index__view {
  opacity: 1;
}
@container hm (max-width: 699px) {
  .hm-index__view {
    display: none;
  }
}

/* ── by width: what only a wide screen shows, and only a narrow one ─────── */
@container hm (max-width: 699px) {
  .hm-wide {
    display: none !important;
  }
}
@container hm (min-width: 700px) {
  .hm-narrow {
    display: none !important;
  }
}
@container hm (max-width: 699px) {
  .hm-notice {
    width: auto;
  }
}

/* ── sections that scroll (scroll.js reads the position; pinning is plain sticky) ── */
.hm-sticky {
  position: sticky;
  top: var(--hm-nav);
}
/* the pinned window: as tall as the screen under the nav */
.hm-sticky--pic {
  height: calc(var(--vh, 100vh) - var(--hm-nav));
  padding-block: var(--hm-s6);
}
/* a fact that passes the window: most of a screen to itself */
.hm-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--hm-s4);
  min-height: calc(var(--vh, 100vh) * 0.8);
}
@container hm (max-width: 699px) {
  .hm-sticky--pic {
    height: calc(var(--vh, 100vh) * 0.4);
    padding-block: var(--hm-s3) 0;
    background: var(--hm-bg);
    z-index: 1;
  }
  .hm-step {
    min-height: calc(var(--vh, 100vh) * 0.46);
  }
}
/* the window's pictures: the one for the step being read is on */
.hm-swap > * {
  opacity: 0;
  transition: opacity var(--hm-slow) var(--hm-ease);
}
.hm-swap > .on {
  opacity: 1;
}
/* a nav that follows the section under it */
.hm-nav[data-nav] {
  transition:
    background var(--hm-base) var(--hm-ease),
    color var(--hm-base) var(--hm-ease),
    box-shadow var(--hm-base) var(--hm-ease);
}
.hm-nav[data-nav].hm-s-paper {
  box-shadow: inset 0 -1px 0 var(--hm-rule);
}

/* ── a head's facts: on the grid's columns when wide; on a phone a row that takes the width its words need ── */
.hm-facts {
  display: contents;
}
/* two pictures side by side, the screen's width between them; stacked on a phone */
.hm-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hm-s1);
}
.hm-duo > figure,
figure.hm-pic {
  margin: 0;
}
/* a picture that runs out to the screen's right edge from its column */
.hm .hm-bleed-r {
  margin-right: calc(-1 * var(--hm-margin));
}
@container hm (max-width: 699px) {
  .hm-facts {
    grid-column: 1 / -1;
    display: flex;
    gap: var(--hm-s5);
  }
  .hm-facts > .hm-pair > dt {
    font-size: var(--hm-micro);
    line-height: var(--hm-lh-micro);
  }
  .hm-duo {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .hm .hm-bleed-r {
    margin-inline: calc(-1 * var(--hm-margin));
  }
}

/* ── the shop (11-18): what a product page is set with. The same ladder, the same grid, no chips, no cards with
   edges: a price is type, a choice is a word with a line under the one chosen, the buy is the bar ── */
.hm-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hm-price > i {
  font-style: normal;
  font-size: var(--hm-micro);
  letter-spacing: 0;
  color: var(--hm-c2);
  margin-left: 0.6em;
}
/* choices as type: the one chosen at 100 with a hairline under it, the rest at the label's tone, one that cannot be had struck */
.hm-choices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hm-s1) var(--hm-s5);
}
.hm-choice {
  border: 0;
  padding: 0 0 3px;
  background: none;
  font: inherit;
  color: var(--hm-c2);
  cursor: pointer;
  box-shadow: inset 0 -1px 0 transparent;
  transition:
    color var(--hm-fast) var(--hm-ease),
    box-shadow var(--hm-fast) var(--hm-ease);
}
.hm-choice:hover {
  color: var(--hm-c1);
}
.hm-choice.on {
  color: var(--hm-c1);
  box-shadow: inset 0 -1px 0 var(--hm-c1);
}
.hm-choice.off {
  color: var(--hm-c4);
  text-decoration: line-through;
  cursor: default;
}
/* a colour to choose: a square of it, the one chosen ringed a step out */
.hm-swatches {
  display: flex;
  gap: var(--hm-s3);
}
.hm-swatch {
  width: 16px;
  height: 16px;
  border: 0;
  padding: 0;
  background: var(--sw, var(--hm-fg));
  box-shadow: inset 0 0 0 1px var(--hm-rule);
  cursor: pointer;
}
.hm-swatch.on {
  outline: 1px solid var(--hm-c1);
  outline-offset: 3px;
}
.hm-qty {
  display: inline-flex;
  align-items: center;
  gap: var(--hm-s4);
}
.hm-qty > button {
  display: inline-flex;
  border: 0;
  padding: 0;
  background: none;
  color: var(--hm-c2);
  font-size: var(--hm-micro);
  cursor: pointer;
}
.hm-qty > button:hover {
  color: var(--hm-c1);
}
.hm-qty > output {
  min-width: 1.4em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
/* a product in a row of products: its picture, then one line (name left, price right) and a quieter one under it */
.hm-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}
.hm-card > .hm-pic {
  aspect-ratio: 4 / 5;
}
.hm-card__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--hm-s4);
}
.hm-card__sub {
  display: flex;
  justify-content: space-between;
  gap: var(--hm-s4);
  margin-top: -8px;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c2);
}
/* a line of the bag: its picture small, what it is, how many, what it costs */
.hm-bagline {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: var(--hm-s4);
  padding-block: var(--hm-s4);
  border-top: 1px solid var(--hm-rule);
  align-items: start;
}
.hm-bagline > .hm-pic {
  aspect-ratio: 4 / 5;
}
/* rows that open: a question to a line, a plus at its end */
.hm-more > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--hm-s4);
  padding-block: 12px;
  border-top: 1px solid var(--hm-rule);
}
.hm-more > li:last-child {
  border-bottom: 1px solid var(--hm-rule);
}
/* a sheet from the edge: the bag, a size guide. A hairline where it meets the page, nothing behind */
.hm-side {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 420px);
  display: flex;
  flex-direction: column;
  background: var(--hm-bg);
  box-shadow: -1px 0 0 var(--hm-rule);
}

/* ── the menu: what is offered and what it costs (11-19, Finn: "a clear no bullshit service list - almost like a
   menu"). A service to a line: its number, its name, what it holds, its price. All of it is in view at once:
   nothing opens, nothing waits under a pointer. Each line is its own grid on the page's columns ── */
.hm-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hm-menu > li {
  align-items: baseline;
  padding-block: var(--hm-s5);
  padding-inline: 0;
  border-top: 1px solid var(--hm-rule);
}
.hm-menu > li:last-child {
  border-bottom: 1px solid var(--hm-rule);
}
.hm-menu__n {
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c3);
  font-variant-numeric: tabular-nums;
}
.hm .hm-menu__name {
  font-size: var(--hm-title);
  line-height: var(--hm-lh-title);
  letter-spacing: var(--hm-track);
  font-weight: var(--hm-weight-title, inherit);
}
.hm .hm-menu__holds {
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c2);
  text-wrap: pretty;
}
.hm-menu__price {
  justify-self: end;
  font-size: var(--hm-title);
  line-height: var(--hm-lh-title);
  letter-spacing: var(--hm-track);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* the plus before a price that is added to the first */
.hm-menu__price > i {
  font-style: normal;
  color: var(--hm-c3);
  margin-right: 0.22em;
}
/* the menu said at its least: names and prices at the statement's size, and no more */
.hm-menu--l > li {
  padding-block: var(--hm-s4);
}
.hm .hm-menu--l .hm-menu__name,
.hm-menu--l .hm-menu__price {
  font-size: var(--hm-statement);
  line-height: var(--hm-lh-statement);
}
/* the head of a menu's columns: what each column is, once, in micro */
.hm-menu__head {
  align-items: baseline;
  padding-inline: 0;
  padding-bottom: var(--hm-s2);
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c3);
}

/* ── the licence line: the house's small print (11-19, his: "© Design licensed by Hanson Method 2026…"). Micro,
   a rung down, said once on a view. Its links are the only full-strength words in it ── */
.hm .hm-legal {
  max-width: 64ch;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c2);
  text-wrap: balance;
}
.hm-legal a {
  color: var(--hm-c1);
  text-decoration: none;
  box-shadow: inset 0 -1px 0 var(--hm-rule);
}
.hm-legal a:hover {
  box-shadow: inset 0 -1px 0 currentColor;
}
@container hm (max-width: 699px) {
  .hm .hm-menu__name,
  .hm-menu__price {
    font-size: var(--hm-text);
    line-height: var(--hm-lh-text);
    letter-spacing: 0;
  }
  .hm .hm-menu--l .hm-menu__name,
  .hm-menu--l .hm-menu__price {
    font-size: var(--hm-title);
    line-height: var(--hm-lh-title);
    letter-spacing: var(--hm-track);
  }
}

/* ══ round 5 (11-21) · the stack, the strip and its marks, the state mark ═════════════════════════════════════════
   Finn: "explore better sticky bottom type on the full width paralax style image scroll… remember my style with the
   micro comms and original behaviour". The strip is his own way of lettering a frame (Audi F1, section frame S07):
   one line through the picture, a name at the left, the mark with a two-line lockup at the right, crop marks at the
   corners of its box and a register mark at each end. Nothing here is an accent; the marks are a rung down. */

/* ── the stack (scroll.js data-stack): a stage that holds; each picture comes up over the one before it, and both
   drift a little against the travel ── */
.hm-stack {
  position: relative;
  height: calc(var(--vh, 100vh) * var(--n, 3));
}
.hm-stack__stage {
  position: sticky;
  top: 0;
  height: var(--vh, 100vh);
  overflow: hidden;
  background: var(--hm-ink);
}
.hm-plate {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ground, var(--hm-ink));
  transform: translate3d(0, calc(var(--t, 0) * 100%), 0);
  will-change: transform;
}
/* a picture is a little taller than its plate, so it can drift inside it without showing an edge */
.hm-plate__pic {
  position: absolute;
  inset: -6% 0;
  transform: translate3d(0, calc((var(--t, 0) + var(--c, 0)) * -5.36%), 0);
  will-change: transform;
}
.hm-plate__pic > img,
.hm-plate__pic > video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--at, 50% 50%);
}
/* a work shot on a ground of one colour is hung whole, its ground carried out to the edges */
.hm-plate[data-fit='hang'] .hm-plate__pic {
  inset: var(--hang, 8% 6% 18% 6%);
}
.hm-plate[data-fit='hang'] .hm-plate__pic > img {
  object-fit: contain;
}
/* what stands still on the screen while its plate travels. The plate's own edge cuts it: the next picture rewrites
   the line as it passes through it, and what both plates say alike never moves */
.hm-plate__fix {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translate3d(0, calc(var(--f, 0) * -100%), 0);
  will-change: transform;
}
/* the same stack, uncovered instead of carried: each picture stands where it will be seen, and the one before it
   is drawn back from it, foot first. What a plate says is then always on its own picture, never on one in passing */
.hm-stack--reveal .hm-plate {
  transform: none;
  clip-path: inset(calc(var(--t, 0) * 100%) 0 0 0);
  will-change: clip-path;
}
.hm-stack--reveal .hm-plate__pic {
  transform: translate3d(0, calc(var(--u, 0) * -89.29% + (var(--t, 0) - var(--c, 0)) * 4%), 0);
}
.hm-stack--reveal .hm-plate[data-fit='hang'] .hm-plate__pic {
  transform: translate3d(0, calc((var(--t, 0) - var(--c, 0)) * 4%), 0);
}
.hm-stack--reveal .hm-plate__fix {
  transform: translate3d(0, calc(var(--u, 0) * -100%), 0);
}
@container hm (max-width: 699px) {
  .hm-plate__pic > img {
    object-position: var(--atp, var(--at, 50% 50%));
  }
  .hm-plate[data-fit='hang'] .hm-plate__pic {
    inset: var(--hangp, var(--hang, 9% 0 26% 0));
  }
  /* a wide picture on a ground of one colour is shown whole on a tall screen */
  .hm-plate[data-fitp='hang'] .hm-plate__pic {
    inset: var(--hangp, 0 0 14% 0);
  }
  .hm-plate[data-fitp='hang'] .hm-plate__pic > img {
    object-fit: contain;
  }
  /* a long thing seen from above is stood on its end on a tall screen, as his landing stands its cars */
  .hm-plate[data-turn] .hm-plate__pic > img {
    inset: auto;
    left: 50%;
    top: 50%;
    width: calc(var(--vh, 100vh) * 0.64);
    height: 100cqw;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

/* ── the strip: one line across a screen or a picture, on the page's own columns (it is a child of .hm-grid). Its
   box is 56 high. --in is how far the box stands in from each end; crop ticks mark its four corners ── */
.hm-strip {
  --in: 32px;
  --tick: 8px;
  --gap: 4px;
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  min-height: 56px;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
}
.hm-strip > * {
  grid-row: var(--r, 1);
  grid-column: var(--c, auto);
  min-width: 0;
}
.hm-strip::before,
.hm-strip::after {
  content: '';
  position: absolute;
  pointer-events: none;
  color: var(--hm-c3);
}
/* the ticks that run along the strip, outside each corner */
.hm-strip::before {
  top: 0;
  bottom: 0;
  left: calc(var(--in) - var(--tick) - var(--gap));
  right: calc(var(--in) - var(--tick) - var(--gap));
  background:
    linear-gradient(currentColor, currentColor) 0 0 / var(--tick) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / var(--tick) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / var(--tick) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / var(--tick) 1px no-repeat;
}
/* the ticks that stand above and below each corner */
.hm-strip::after {
  left: var(--in);
  right: var(--in);
  top: calc(-1 * (var(--tick) + var(--gap)));
  bottom: calc(-1 * (var(--tick) + var(--gap)));
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 1px var(--tick) no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 1px var(--tick) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 1px var(--tick) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 1px var(--tick) no-repeat;
}
/* a strip with no marks at all: only the line of type */
.hm-strip--bare::before,
.hm-strip--bare::after {
  content: none;
}
/* a strip under a hairline, or over one: for a page, where a crop mark would be decoration */
.hm-strip--rule-top,
.hm-strip--rule-bottom {
  --in: 0px;
  min-height: 48px;
}
.hm-strip--rule-top::before,
.hm-strip--rule-top::after,
.hm-strip--rule-bottom::before,
.hm-strip--rule-bottom::after {
  content: none;
}
.hm-strip--rule-top {
  box-shadow: inset 0 1px 0 var(--hm-rule);
}
.hm-strip--rule-bottom {
  box-shadow: inset 0 -1px 0 var(--hm-rule);
}
.hm-strip--rule-top.hm-strip--rule-bottom {
  box-shadow:
    inset 0 1px 0 var(--hm-rule),
    inset 0 -1px 0 var(--hm-rule);
}
/* crop ticks outside the four corners of anything (a picture's holder, never the picture: it would cut them off) */
.hm-crop {
  --tick: 8px;
  --gap: 4px;
  position: relative;
}
.hm-crop::before,
.hm-crop::after {
  content: '';
  position: absolute;
  pointer-events: none;
  color: var(--hm-c3);
}
.hm-crop::before {
  top: 0;
  bottom: 0;
  left: calc(-1 * (var(--tick) + var(--gap)));
  right: calc(-1 * (var(--tick) + var(--gap)));
  background:
    linear-gradient(currentColor, currentColor) 0 0 / var(--tick) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / var(--tick) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / var(--tick) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / var(--tick) 1px no-repeat;
}
.hm-crop::after {
  left: 0;
  right: 0;
  top: calc(-1 * (var(--tick) + var(--gap)));
  bottom: calc(-1 * (var(--tick) + var(--gap)));
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 1px var(--tick) no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 1px var(--tick) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 0 / 1px var(--tick) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 100% / 1px var(--tick) no-repeat;
}
/* the register mark at a strip's end */
.hm-reg {
  position: relative;
  display: block;
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--hm-c3);
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 1px 100% no-repeat;
}
.hm-reg::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px currentColor;
}
/* what stands just inside a strip's box, a step in from its corner */
.hm-strip__in {
  margin-inline: calc(var(--in) + 18px);
}
/* the dot between a name and what it is */
.hm-sep {
  display: inline-block;
  width: 0.14em;
  height: 0.14em;
  margin: 0 0.42em;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 0.3em;
}
/* the lockup: the mark, then two lines of micro as tall as it. The second line is a rung down */
.hm-lock {
  display: inline-flex;
  align-items: center;
  gap: var(--hm-s3);
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  white-space: nowrap;
}
.hm-lock > .hm-mark {
  height: 20px;
}
.hm-lock > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hm-lock > span > i {
  font-style: normal;
  color: var(--hm-c2);
}
/* a line of micro holding a label a rung down and its value beside it */
.hm-kv {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6em;
  white-space: nowrap;
  min-width: 0;
}
.hm-kv > i {
  font-style: normal;
  color: var(--hm-c2);
}

/* ── the state mark: what can be done with a work, as one small sign before its word. A ring is a concept (open),
   a half is on its way (pre-order, beta), a dot can be had now, a square is licensed, a line is gone ── */
.hm-state {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  margin-right: 0.6em;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--hm-c1);
  vertical-align: 0.02em;
}
.hm-state[data-state='order'] {
  background: linear-gradient(90deg, var(--hm-c1) 50%, transparent 50%);
}
.hm-state[data-state='live'] {
  background: var(--hm-c1);
}
.hm-state[data-state='licensed'] {
  border-radius: 0;
  background: var(--hm-c1);
}
.hm-state[data-state='out'] {
  height: 1px;
  border-radius: 0;
  box-shadow: none;
  background: var(--hm-c1);
  vertical-align: 0.3em;
}

@container hm (max-width: 699px) {
  /* on a phone the strip's box is the page's own width; its ticks stand in the margin, and it has no register marks */
  .hm-strip {
    --in: 0px;
    --tick: 6px;
    --gap: 3px;
    padding-block: 10px;
    row-gap: 8px;
  }
  .hm-strip > * {
    grid-row: var(--rp, var(--r, 1));
    grid-column: var(--cp, var(--c, auto));
  }
  .hm-strip > .hm-reg {
    display: none;
  }
  .hm-strip__in {
    margin-inline: 0;
  }
}

/* ── the foot of a picture (11-21, his word: "keep it … editorial, grid based, clean minimal micro layout … stop the
   … large … type stling, … words where words arent … needed"). Every full picture on the site carries one micro
   line at its foot (the name, then what it is and when at a rung lower, a point between) and a tally at the right
   (the mark's bars and a count). Nothing else stands on a picture ── */
.hm-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.5em;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  color: var(--hm-c1);
}
.hm .hm-line {
  text-decoration: none;
}
.hm-line > i {
  font-style: normal;
  color: var(--hm-c2);
}
.hm-line > i::before {
  content: '·';
  margin-right: 0.5em;
  color: var(--hm-c3);
}
.hm-foot {
  align-items: end;
  padding-bottom: var(--hm-s4);
}
.hm-tally {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

/* ── the page's bar (11-22, his frames: "a clean bar, some micro shit"). One line of micro on the page's columns: who
   at the left, what in the fourth column, where to at the right. It stands on a picture, on paper or on ink; nothing
   is drawn behind it. (.hm-bar is a button's own bar; this is the page's) ── */
.hm-pagebar {
  height: var(--hm-nav);
  align-items: center;
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  white-space: nowrap;
}
.hm-pagebar a,
.hm-pagebar__set {
  display: inline-flex;
  align-items: center;
  gap: var(--hm-s3);
}
.hm-pagebar__set {
  gap: var(--hm-s5);
}
.hm-pagebar i {
  font-style: normal;
  color: var(--hm-c2);
}
.hm-pagebar .hm-mark {
  height: 9px;
}
/* the site's own measure: margin 16, gutter 32 (12 on a phone) */
.hm-site {
  --hm-margin: 16px;
  --hm-gutter: 32px;
}
@container hm (max-width: 699px) {
  .hm-site {
    --hm-gutter: 12px;
  }
}

/* ── from the live site (11-23, his notes: "the thin strip, the icons with the numbers … these micro elements and
   dynamics are also quite good") ─────────────────────────────────────────── */
/* a ring: it fills over one turn (--t) and says when the thing it belongs to turns; held, it waits */
.hm-ring {
  width: 14px;
  height: 14px;
  flex: none;
  transform: rotate(-90deg);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.hm-ring > circle:first-child {
  stroke-opacity: 0.15;
}
.hm-ring > circle + circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hm-ring var(--t, 5200ms) linear both;
}
.is-held .hm-ring > circle + circle {
  animation-play-state: paused;
}
@keyframes hm-ring {
  to {
    stroke-dashoffset: 0;
  }
}
/* the thin strip: one of a few ways in at a time, on the page's columns (its name, its line, its way in), the ring
   in its own cell at the edge; the next rises into the strip as the ring fills */
.hm-spokes {
  position: relative;
  height: var(--hm-nav);
  box-shadow: inset 0 1px 0 var(--hm-rule);
  font-size: var(--hm-micro);
  line-height: var(--hm-lh-micro);
  white-space: nowrap;
}
.hm-spokes__go {
  height: 100%;
  align-items: center;
  overflow: hidden;
  transition: background var(--hm-fast) var(--hm-ease);
}
.hm-spokes__go:hover {
  background: color-mix(in srgb, var(--hm-fg) calc(var(--hm-o-field) * 100%), transparent);
}
.hm-spokes__go > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  animation: hm-spoke-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hm-spokes__name .hm-mark {
  height: 8px;
}
.hm-spokes__name i,
.hm-spokes__line {
  font-style: normal;
  color: var(--hm-c2);
}
.hm-spokes__cta {
  justify-self: end;
}
.hm-spokes__cta .hm-i {
  transition: transform var(--hm-fast) var(--hm-ease);
}
.hm-spokes__go:hover .hm-spokes__cta .hm-i {
  transform: translateX(2px);
}
.hm-spokes__next {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding-inline: var(--hm-s4);
  border: 0;
  background: none;
  color: inherit;
  box-shadow: inset 1px 0 0 var(--hm-rule);
  cursor: pointer;
}
@keyframes hm-spoke-in {
  from {
    transform: translateY(100%);
  }
}
@container hm (max-width: 699px) {
  /* a phone: name, the short line, the way in, in a row; the ring's cell kept clear */
  .hm-spokes__go {
    display: flex;
    gap: var(--hm-s3);
    padding-right: calc(46px + var(--hm-s3));
  }
  .hm-spokes__cta {
    margin-left: auto;
  }
}
/* the reach: a channel's mark and its count beside it (the live contact's row) */
.hm-reach {
  display: inline-flex;
  align-items: center;
  gap: var(--hm-s4);
  font-size: var(--hm-micro);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hm-reach > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--hm-c2);
  transition: color var(--hm-fast) var(--hm-ease);
}
.hm-reach > a:hover {
  color: var(--hm-c1);
}
.hm-reach .hm-i {
  font-size: 15px;
}
/* a channel's own mark is drawn filled, not stroked */
.hm-i--fill {
  fill: currentColor;
  stroke: none;
}
@media (prefers-reduced-motion: reduce) {
  .hm-ring > circle + circle,
  .hm-spokes__go > * {
    animation: none;
  }
}

/* ── the foot (11-23, his frame: the black bar, then his steps of its ink over the ground; system/proto/v5/foot.js
   moves them). The bar is a bar's height, as every bar of the site ("why tf is it such a wide black section tighten it
   up"); bar and field together at most half the screen (his note, 11-23: "max 50% VH") ── */
.hm-close {
  position: relative;
  z-index: 1;
}
.hm-close__by {
  display: grid;
  align-items: center;
  white-space: nowrap;
}
/* his credit, then his two lines, in turn in one place (foot.js): each line rises in after the last has gone, as the
   about page's switch does */
.hm-close__say {
  grid-area: 1 / 1;
  min-width: 0;
  visibility: hidden;
}
.hm-close__say.is-on,
.hm-close__say.is-out {
  visibility: visible;
}
.hm-close__say.is-on {
  animation: hm-say-in 560ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}
.hm-close__say.is-out {
  animation: hm-say-out 180ms var(--hm-ease) both;
}
.hm-close.is-still .hm-close__say {
  animation: none;
}
@keyframes hm-say-in {
  from {
    opacity: 0;
    transform: translateY(0.9em);
  }
}
@keyframes hm-say-out {
  to {
    opacity: 0;
    transform: translateY(-0.5em);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm-close__say.is-on,
  .hm-close__say.is-out {
    animation: none;
  }
  .hm-close__say.is-out {
    visibility: hidden;
  }
}
.hm-close__ch a {
  gap: var(--hm-s1);
  color: var(--hm-c1);
}
.hm-close__ch a .hm-wide {
  display: inline-flex;
}
.hm-close__field {
  position: relative;
  height: max(160px, calc(50svh - var(--hm-nav)));
  overflow: hidden;
  background: #e7e4e0;
  contain: strict;
}
/* one canvas a pixel wide, stretched across (foot.js) */
.hm-close__field > canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
@container hm (max-width: 699px) {
  /* a phone: the mark, his credit on one line, the three marks */
  .hm-close__bar {
    display: flex;
    align-items: center;
    gap: var(--hm-s5);
    white-space: normal;
  }
  .hm-close__by {
    flex: 1;
    min-width: 0;
    white-space: normal;
  }
  .hm-close__ch {
    gap: var(--hm-s5);
  }
  /* the marks: at the meta rung (his note: "decrease the opacity to 40% of these icons"), all one height, on the
     line's middle ("aligned them in height"); each drawing's box is cut to its mark (foot.js) */
  .hm-close__ch a {
    color: var(--hm-c3);
    transition: color var(--hm-fast) var(--hm-ease);
  }
  .hm-close__ch a:hover {
    color: var(--hm-c1);
  }
  .hm-close__ch .hm-narrow {
    display: flex;
  }
  .hm-close__ch .hm-narrow .hm-i {
    width: auto;
    height: 12px;
  }
  /* the stroked mark keeps the kernel's stroke weight in its cut box */
  .hm-close__ch .hm-narrow .hm-i:not(.hm-i--fill) {
    stroke-width: 0.94;
  }
}
/* a narrow phone: closer, so the credit keeps its one line; the narrowest drop its "HMD™ c/o" */
@container hm (max-width: 439px) {
  .hm-close__bar,
  .hm-close__ch {
    gap: var(--hm-s3);
  }
}
@container hm (max-width: 369px) {
  .hm-close__co {
    display: none;
  }
}
/* a narrow wide screen: the credit without "All designs", so it never runs into the channels */
@container hm (max-width: 759px) {
  .hm-close__all {
    display: none;
  }
}
