/* GENERATED by design-system/build_brand.py from design-system/project/components/bundle.css. Do not edit. */

/* Humaine Studio components. Every color, size and radius comes from tokens.css. */

/* Variable-font axes. Kept here because token values cannot hold quotes.
   font-variation-settings does not merge: set the whole list, always through these. */
:root { --soft: "SOFT" 100, "WONK" 0; --mono-axes: "MONO" 1, "CASL" 0.5; }

html, body { background: var(--ground); color: var(--ink); font-family: var(--font-sans); }
::selection { background: var(--klein-wash); color: var(--ink); }
:where(a, button, input, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Button: a solid square block, 44px tall so it is a real touch target. */
.hs-btn {
  display: inline-flex; align-items: center; gap: var(--space-1);
  min-height: 44px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-0); box-sizing: border-box;
  font: 500 16.5px/1.5 var(--font-sans); text-decoration: none; cursor: pointer;
  background: var(--klein); color: var(--on-klein);
  transition: background-color 150ms ease;
}
.hs-btn:hover { background: var(--klein-press); }
.hs-btn--ink { background: var(--ink); color: var(--on-ink); }
.hs-btn--ink:hover { background: var(--ink-soft); }
.hs-btn--text { background: none; color: var(--ink); padding: 0 var(--space-1); text-decoration: underline; text-decoration-thickness: max(0.75px, 0.0625em); text-underline-offset: 0.18em; }
.hs-btn--text:hover { background: none; color: var(--klein); text-decoration-thickness: max(1.5px, 0.1em); }
.hs-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.hs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }

/* Link: underline weight follows text weight; thickens on hover. */
.hs-link { color: var(--klein); text-decoration: underline; text-decoration-thickness: max(0.75px, 0.0625em); text-underline-offset: 0.18em; transition: text-decoration-thickness 150ms ease; }
.hs-link:hover { color: var(--klein-press); text-decoration-thickness: max(1.5px, 0.1em); }
.hs-link--quiet { color: inherit; }

/* Lockup: the curlew + the wordmark, Fraunces 800 at full softness. */
.hs-lockup { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); text-decoration: none; font: 800 18px/1 var(--font-serif); letter-spacing: -0.02em; }
.hs-lockup img { width: 32px; height: auto; display: block; }
.hs-lockup--lg { font-size: 32px; gap: var(--space-3); }
.hs-lockup--lg img { width: 56px; }

/* Top nav. */
.hs-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-6); }
.hs-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-8); list-style: none; margin: 0; padding: 0; }
.hs-nav a:not(.hs-lockup):not(.hs-btn) { color: var(--ink); font: 500 15px/1.5 var(--font-sans); text-decoration: none; }
.hs-nav a:not(.hs-lockup):not(.hs-btn):hover { text-decoration: underline; text-decoration-thickness: max(1px, 0.0625em); text-underline-offset: 0.18em; }
.hs-nav a[aria-current="page"]:not(.hs-btn) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; text-decoration-color: var(--klein); }

/* Docs layout: sidebar + content. */
.hs-docs { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100%; }
.hs-docs__side { display: flex; flex-direction: column; gap: var(--space-6); padding: var(--space-6) var(--space-4); border-right: var(--hairline) solid var(--rule); background: var(--surface); }
.hs-docs__side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hs-docs__side a { display: block; padding: 2px var(--space-2); color: var(--ink-soft); font: 400 14px/1.6 var(--font-sans); text-decoration: none; }
.hs-docs__side a:hover { color: var(--ink); background: var(--klein-wash); }
.hs-docs__side a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.hs-docs__main { padding: var(--space-8) var(--space-12); max-width: var(--measure); }
.hs-search { display: flex; align-items: center; gap: var(--space-2); padding: 6px var(--space-2); border: var(--hairline) solid var(--ink-soft); background: var(--ground); color: var(--mute); font: 400 14px/1.4 var(--font-sans); }
.hs-search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: inherit; }
.hs-search input::placeholder { color: var(--mute); }
.hs-kbd { padding: 0 5px; border: var(--hairline) solid var(--ink-soft); color: var(--ink-soft); font: 500 11px/1.6 var(--font-mono); }
@media (max-width: 640px) { .hs-docs { grid-template-columns: minmax(0, 1fr); } .hs-docs__side { border-right: 0; border-bottom: var(--hairline) solid var(--rule); } .hs-docs__main { padding: var(--space-6) var(--space-4); } }

/* Diagram: solid node = a step you build; dashed node = optional. */
.hs-flow { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-2); }
.hs-flow__arrow { align-self: center; width: 28px; height: 10px; margin-top: -18px; color: var(--ink); }
.hs-node { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.hs-node__box { min-width: 96px; padding: 10px var(--space-4); border: var(--hairline) solid var(--ink); background: var(--surface); color: var(--ink); font: 400 14px/1.4 var(--font-sans); text-align: center; }
.hs-node--optional .hs-node__box { border-style: dashed; }
.hs-node--current .hs-node__box { background: var(--klein-wash); border-color: var(--klein); }
.hs-node__note { color: var(--mute); font: 400 12px/1.4 var(--font-sans); }

/* Tick row: small squares as a stat marker. */
.hs-ticks { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-6); }
.hs-ticks__row { display: flex; gap: var(--space-4); }
.hs-ticks__row i { display: block; width: var(--tick); height: var(--tick); background: var(--ink); }
.hs-ticks__row i.is-on { background: var(--klein); }
.hs-ticks__row i.is-off { background: none; box-shadow: inset 0 0 0 1px var(--ink-soft); }
.hs-ticks__row i.is-signal { background: var(--chrome); box-shadow: 0 0 0 2px var(--ground), 0 0 0 3px var(--ink); }
.hs-ticks__stat { color: var(--ink); font: 400 15px/1.4 var(--font-sans); }

/* Code block. */
.hs-code { margin: 0; padding: var(--space-3) var(--space-4); background: var(--sunken); color: var(--ink); font: 400 14px/1.6 var(--font-mono); overflow-x: auto; border-radius: var(--radius-0); }
.hs-code .k { color: var(--klein); }
.hs-code .s { color: var(--ink-soft); }
.hs-code .c { color: var(--mute); font-style: italic; }
.hs-code__head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-1) var(--space-4); border-bottom: var(--hairline) solid var(--rule); background: var(--sunken); color: var(--ink-soft); font: 500 12px/1.6 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.hs-code__head .hs-btn { min-height: 0; } /* a small inline action in a dense header */
code.hs-inline { padding: 0 0.25em; background: var(--sunken); font: 400 0.9em/1 var(--font-mono); }

/* Data table: rules, not boxes; tabular figures. */
.hs-table { width: 100%; border-collapse: collapse; font: 400 13px/1.5 var(--font-sans); color: var(--ink); }
.hs-table th { padding: var(--space-2) var(--space-3); background: var(--sunken); color: var(--ink-soft); text-align: left; font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.hs-table td { padding: var(--space-2) var(--space-3); border-bottom: var(--hairline) solid var(--rule); }
/* Tabular figures on number cells only: Schibsted's tabular comma is wide and would spread commas in text. */
.hs-table .num { text-align: right; font-variant-numeric: tabular-nums lining-nums; }
.hs-table tr.is-current td { background: var(--klein-wash); }

/* Status pill: a word on a square fill. */
.hs-pill { display: inline-block; padding: 1px 6px; border-radius: var(--radius-0); font: 500 11px/1.5 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.hs-pill--ok { background: var(--status-ok); color: var(--on-klein); }
.hs-pill--warn { background: var(--status-warn); color: var(--on-chrome); }
.hs-pill--err { background: var(--status-err); color: var(--surface); }
.hs-pill--quiet { box-shadow: inset 0 0 0 1px var(--ink-soft); color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Variable-font axes. Last in the file on purpose: the `font` shorthand above resets
   font-variation-settings, so these must come after every rule that uses it.
   Fraunces defaults to sharp (SOFT 0); Recursive defaults to proportional (MONO 0). */
.display, .headline, .headline-sm, .hs-lockup { font-variation-settings: var(--soft); }
.label, .code, .hs-kbd, .hs-code, .hs-code__head, code.hs-inline, .hs-table th, .hs-pill { font-variation-settings: var(--mono-axes); }
