/* ==========================================================================
   Bino Solutions — main stylesheet
   Structure: tokens · base · layout · header · hero · statement ·
   product chapters · demos (inventory / count / label) · family ·
   about · contact · footer · consent bar · 404 · motion helpers
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) -------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens -------------------------------------------------------- */
:root {
  color-scheme: light;

  --paper: #f5f5f1;
  --paper-2: #ecece6;
  --card: #ffffff;
  --ink: #0f1513;
  --ink-2: #3b4542;
  --ink-3: #6b7572;
  --line: rgba(15, 21, 19, 0.12);
  --line-strong: rgba(15, 21, 19, 0.2);

  /* product colours: vivid (fills) · ink (text-safe) · soft (tinted surfaces) */
  --mi: #00a063;
  --mi-ink: #007a4b;
  --mi-soft: #e3f2ea;
  --zc: #4f46e5;
  --zc-ink: #4338ca;
  --zc-soft: #eae9fb;
  --lc: #17706a;
  --lc-ink: #125e59;
  --lc-soft: #e1eeeb;

  --warn: #b45309;
  --warn-soft: #fdf0d5;
  --neg: #c2410c;

  --accent: var(--ink);
  --accent-ink: var(--ink);
  --accent-soft: var(--paper-2);

  --font-display: "Bricolage Grotesque", "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --gutter: clamp(20px, 4.4vw, 64px);
  --col-gap: clamp(16px, 2vw, 32px);
  --max: 1360px;
  --header-h: 72px;
  --radius: 14px;
  --radius-lg: 28px;

  --shadow-card: 0 1px 0 rgba(15, 21, 19, 0.03), 0 18px 40px -22px rgba(15, 21, 19, 0.28);
}

/* ---------- Base ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main {
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus {
  top: 16px;
}

/* ---------- Layout helpers ------------------------------------------------ */
.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
  background: var(--accent);
  flex: none;
}
.eyebrow--dot::before {
  border-radius: 50%;
}
.eyebrow--bar::before {
  width: 3px;
  height: 11px;
  border-radius: 1.5px;
}

.lede {
  font-size: clamp(1.125rem, 1.45vw, 1.375rem);
  line-height: 1.45;
  color: var(--ink-2);
  text-wrap: pretty;
}

.mini {
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* text link with a line that draws in */
.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.45s var(--ease-out);
}
.link:hover {
  background-size: 0 1px;
  background-position: 100% 100%;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 1rem/1 var(--font-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn--ink {
  background: var(--ink);
  color: var(--paper);
}
.btn--ink:hover {
  background: #000;
}
.btn--accent {
  background: var(--accent-ink);
  color: #fff;
}
.btn--accent:hover {
  background: var(--ink);
}
.btn--line {
  border-color: var(--line-strong);
}
.btn--line:hover {
  border-color: var(--ink);
}
.btn--sm {
  min-height: 40px;
  padding: 0 14px 0 16px;
  font-size: 0.9rem;
  gap: 8px;
}

/* arrow that rolls through on hover */
.roll {
  position: relative;
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  overflow: hidden;
  flex: none;
}
.roll .icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s var(--ease-out);
}
.roll .icon + .icon {
  transform: translate(-120%, 0);
}
a:hover > .roll .icon:first-child,
button:hover > .roll .icon:first-child {
  transform: translate(120%, 0);
}
a:hover > .roll .icon + .icon,
button:hover > .roll .icon + .icon {
  transform: none;
}
.roll--out .icon + .icon {
  transform: translate(-120%, 120%);
}
a:hover > .roll--out .icon:first-child {
  transform: translate(120%, -120%);
}
.roll--down .icon + .icon {
  transform: translate(0, -120%);
}
a:hover > .roll--down .icon:first-child {
  transform: translate(0, 120%);
}

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  transition: transform 0.55s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.site-header.is-stuck {
  background: rgba(245, 245, 241, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-color: var(--line);
}
.site-header.is-hidden {
  transform: translateY(-101%);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 400 1.125rem/1 var(--font-display);
  letter-spacing: -0.02em;
}
.brand b {
  font-weight: 700;
}
.brand__mark {
  width: 34px;
  height: 14px;
  flex: none;
}
.brand__mark > * {
  fill: currentColor;
  transition: fill 0.35s;
}
.brand:hover .brand__mark > :nth-child(1) {
  fill: var(--mi);
}
.brand:hover .brand__mark > :nth-child(2) {
  fill: var(--zc);
}
.brand:hover .brand__mark > :nth-child(3) {
  fill: var(--lc);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
}
.nav a:not(.nav__cta) {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.45s var(--ease-out);
}
.nav a:not(.nav__cta):hover,
.nav a[aria-current="page"] {
  background-size: 100% 1px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: background-color 0.3s, color 0.3s;
}
.nav__cta:hover {
  background: var(--ink);
  color: var(--paper);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 4px;
  font: 500 0.95rem/1 var(--font-text);
}
.nav-toggle__bars {
  position: relative;
  width: 22px;
  height: 10px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.nav-toggle__bars::before {
  top: 0;
}
.nav-toggle__bars::after {
  top: 8px;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 4px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 4px;
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--paper);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s, visibility 0s 0.35s;
}
.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s, visibility 0s;
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font: 600 clamp(2rem, 9vw, 3rem)/1.05 var(--font-display);
  letter-spacing: -0.035em;
  text-decoration: none;
}
.menu__links span {
  font: 500 0.75rem var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.menu__foot {
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.menu__foot a {
  text-decoration: none;
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(20px, 5vh, 56px)) 0 clamp(20px, 3.5vh, 36px);
  display: flex;
  overflow: clip;
}
.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(26px, 4.5vh, 56px);
}
.hero__title {
  margin-top: clamp(14px, 2.4vh, 26px);
  font: 600 clamp(3.35rem, 17.2vw, 9rem)/0.9 var(--font-display);
  letter-spacing: -0.048em;
  text-wrap: balance;
}
/* each word sits in its own clipping box so it can rise into view */
.hero__title .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.05em 0.07em 0.17em;
  margin: -0.05em -0.07em -0.17em;
}
.hero__title .w__i {
  display: inline-block;
  will-change: transform;
}
/* SplitText line masks: leave room for descenders */
.line-mask {
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.hero__row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  align-items: end;
}
.hero__lede {
  grid-column: 1 / 8;
  max-width: 40ch;
}
.hero__actions {
  grid-column: 8 / 13;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px 26px;
}

.shelves {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 3vw, 48px);
}
.shelf {
  display: block;
  text-decoration: none;
  --accent: var(--mi);
  --accent-ink: var(--mi-ink);
}
.shelf--zc {
  --accent: var(--zc);
  --accent-ink: var(--zc-ink);
}
.shelf--lc {
  --accent: var(--lc);
  --accent-ink: var(--lc-ink);
}
.shelf__stock {
  display: block;
  height: clamp(58px, 11.5vh, 100px);
  border-bottom: 1.5px solid var(--ink);
}
.shelf__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 12px;
  font: 500 0.75rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.shelf__count {
  font-variant-numeric: tabular-nums;
  color: var(--accent-ink);
  font-weight: 600;
}
.shelf__name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font: 600 clamp(0.95rem, 1.5vw, 1.2rem)/1.15 var(--font-display);
  letter-spacing: -0.02em;
}
.shelf__name .icon {
  opacity: 0;
  transform: translate(-6px, 0);
  transition: opacity 0.3s, transform 0.45s var(--ease-out);
  color: var(--accent-ink);
}
.shelf:hover .shelf__name .icon,
.shelf:focus-visible .shelf__name .icon {
  opacity: 1;
  transform: none;
}
.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(14px, 2.4vh, 22px);
  font: 500 0.72rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__shuffle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--ink-2);
  transition: color 0.25s;
}
.hero__shuffle:hover {
  color: var(--ink);
}
.hero__shuffle .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.7s var(--ease-out);
}
.hero__shuffle:hover .icon {
  transform: rotate(-180deg);
}

@media (min-width: 900px) {
  .hero__title {
    /* one line, edge to edge: sized from the container width */
    font-size: min(calc((100vw - 2 * var(--gutter)) / 8.42), calc(var(--max) / 8.42));
    white-space: nowrap;
  }
}
@media (max-width: 899px) {
  .hero__lede {
    grid-column: 1 / -1;
  }
  .hero__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .hero__actions .btn {
    order: -1;
  }
}
@media (max-width: 520px) {
  .shelf__meta {
    flex-direction: column;
    gap: 5px;
    font-size: 0.66rem;
  }
  .hero__foot > span {
    display: none;
  }
  .hero__foot {
    justify-content: flex-end;
  }
}

/* ---------- Statement (the three questions) --------------------------------- */
.statement {
  padding-block: clamp(88px, 19vh, 210px) clamp(40px, 9vh, 104px);
}
.statement__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px var(--col-gap);
  align-items: start;
}
.statement__grid .eyebrow {
  grid-column: 1 / 4;
  margin-top: 0.9em;
}
.statement__text {
  grid-column: 4 / 13;
  font: 560 clamp(1.85rem, 4.5vw, 4.15rem)/1.08 var(--font-display);
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.nw {
  white-space: nowrap;
}
.st {
  white-space: nowrap;
  text-decoration: none;
  color: var(--accent-ink);
  background: linear-gradient(currentColor, currentColor) 0 96% / 0 0.06em no-repeat;
  transition: background-size 0.6s var(--ease-out);
  --accent-ink: var(--mi-ink);
}
.st:hover,
.st:focus-visible {
  background-size: 100% 0.06em;
}
.st--zc {
  --accent-ink: var(--zc-ink);
}
.st--lc {
  --accent-ink: var(--lc-ink);
}
.st img {
  display: inline-block;
  width: 0.74em;
  height: 0.74em;
  margin-right: 0.16em;
  vertical-align: -0.04em;
}
@media (max-width: 1000px) {
  .statement__grid .eyebrow,
  .statement__text {
    grid-column: 1 / -1;
  }
  .statement__grid .eyebrow {
    margin-top: 0;
  }
}

/* ---------- Product chapters ---------------------------------------------- */
.product {
  padding-block: clamp(56px, 11vh, 132px);
}
.product--mi {
  --accent: var(--mi);
  --accent-ink: var(--mi-ink);
  --accent-soft: var(--mi-soft);
}
.product--zc {
  --accent: var(--zc);
  --accent-ink: var(--zc-ink);
  --accent-soft: var(--zc-soft);
}
.product--lc {
  --accent: var(--lc);
  --accent-ink: var(--lc-ink);
  --accent-soft: var(--lc-soft);
}
.product__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
/* a short stroke of the product's colour on the chapter rule */
.product__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.5px;
  width: 88px;
  height: 2px;
  background: var(--accent);
}
.product__id {
  display: flex;
  align-items: center;
  gap: 14px;
}
.product__num {
  font: 500 0.78rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.product__logo {
  width: 34px;
  height: 34px;
}
.product__name {
  font: 600 1.3rem/1 var(--font-display);
  letter-spacing: -0.025em;
}
.product__platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  font: 500 0.7rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.product__platforms li {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.product__question {
  margin: clamp(28px, 5.5vh, 60px) 0 clamp(30px, 6vh, 68px);
  max-width: 15ch;
  font: 600 clamp(2.5rem, 6.7vw, 6.4rem)/0.94 var(--font-display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.product__body {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  align-items: start;
}
.product__stage {
  grid-column: 1 / 9;
}
.product__info {
  grid-column: 9 / 13;
  display: grid;
  gap: clamp(22px, 3vh, 32px);
  padding-left: clamp(0px, 1vw, 16px);
}
.product--flip .product__stage {
  grid-column: 5 / 13;
  order: 2;
}
.product--flip .product__info {
  grid-column: 1 / 5;
  order: 1;
  padding-left: 0;
  padding-right: clamp(0px, 1vw, 16px);
}
.product__desc {
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.points {
  border-top: 1px solid var(--line);
}
.points > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.points dt {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.points dd {
  margin-top: 2px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink-2);
}
.product__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.product__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
  margin-top: clamp(40px, 7vh, 84px);
}
.stats li {
  display: grid;
  gap: 8px;
  align-content: start;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}
.stats__n {
  font: 600 clamp(2.3rem, 5vw, 4.75rem)/0.95 var(--font-display);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stats__n small {
  font-size: 0.52em;
  letter-spacing: -0.02em;
  margin-left: 0.04em;
  color: var(--accent-ink);
}
.stats__l {
  max-width: 26ch;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink-2);
}

@media (max-width: 1000px) {
  .product__stage,
  .product--flip .product__stage {
    grid-column: 1 / -1;
    order: 1;
  }
  .product__info,
  .product--flip .product__info {
    grid-column: 1 / -1;
    order: 2;
    padding: 0;
    margin-top: 12px;
  }
}
@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stats li {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: baseline;
    gap: 14px;
  }
  .product__head {
    flex-wrap: wrap;
    row-gap: 14px;
  }
  .product__platforms {
    flex-basis: 100%;
    justify-content: flex-start;
  }
}

/* ---------- Demo stage (shared) ------------------------------------------- */
.stage {
  position: relative;
  container-type: inline-size;
  container-name: stage;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  padding: clamp(16px, 3cqw, 36px);
  overflow: hidden;
}
.stage__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(14px, 2.4cqw, 24px);
  font: 500 0.7rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.stage__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stage__live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  }
  60% {
    box-shadow: 0 0 0 7px transparent;
  }
}
.stage__hint {
  font-weight: 400;
  text-align: right;
}
@container stage (max-width: 480px) {
  .stage__hint {
    display: none;
  }
}

.ui-card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

/* ---------- Demo 1 — Mobile Inventory ------------------------------------- */
.mi {
  display: grid;
  grid-template-columns: minmax(0, 250px) 44px minmax(0, 1fr);
  align-items: center;
}
.mi-phone {
  position: relative;
  padding: 16px 14px 14px;
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow-card), inset 0 0 0 1.5px rgba(15, 21, 19, 0.9);
  display: grid;
  gap: 12px;
  font-size: 0.86rem;
}
.mi-phone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  padding: 0 4px;
}
.mi-phone__sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 0.64rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mi-ink);
}
.mi-phone__sync::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mi);
}
.mi-scan {
  position: relative;
  height: 84px;
  border-radius: 14px;
  background: var(--ink);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.mi-scan__code {
  width: 62%;
  height: 44px;
  color: #fff;
}
.mi-scan__laser {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: #35e59a;
  box-shadow: 0 0 12px 2px rgba(53, 229, 154, 0.7);
  opacity: 0;
}
.mi-item {
  padding: 0 4px;
  display: grid;
  gap: 2px;
}
.mi-item__name {
  font: 600 1.15rem/1.15 var(--font-display);
  letter-spacing: -0.02em;
}
.mi-item__meta {
  font: 500 0.68rem/1.3 var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.mi-seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--paper);
}
.mi-seg button {
  height: 34px;
  border-radius: 9px;
  font: 600 0.72rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ink-2);
  transition: background-color 0.25s, color 0.25s;
}
.mi-seg button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.mi-qty {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  text-align: center;
}
.mi-qty button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1.2rem;
  line-height: 1;
  transition: background-color 0.2s, border-color 0.2s;
}
.mi-qty button:hover {
  border-color: var(--ink);
}
.mi-qty output {
  font: 600 2rem/1 var(--font-display);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.mi-loc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.mi-loc button {
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.mi-loc button[aria-pressed="true"] {
  border-color: var(--mi-ink);
  background: var(--mi-soft);
  color: var(--mi-ink);
}
.mi-save {
  height: 44px;
  border-radius: 12px;
  background: var(--mi-ink);
  color: #fff;
  font-weight: 600;
  transition: background-color 0.2s, transform 0.15s;
}
.mi-save:hover {
  background: #00663e;
}
.mi-save.is-pressed {
  transform: scale(0.97);
}

.mi-wire {
  position: relative;
  height: 2px;
  background-image: linear-gradient(90deg, color-mix(in srgb, var(--mi-ink) 55%, transparent) 50%, transparent 0);
  background-size: 8px 2px;
}
.mi-wire__dot {
  position: absolute;
  top: -4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mi);
  opacity: 0;
}

.mi-sheet {
  padding: 14px 16px 12px;
  font-size: 0.88rem;
  min-width: 0;
}
.mi-sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}
.mi-sheet__title {
  font-weight: 600;
}
.mi-sheet__title span {
  display: block;
  margin-top: 3px;
  font: 500 0.64rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.mi-avatars {
  display: flex;
}
.mi-avatars span {
  width: 26px;
  height: 26px;
  margin-left: -6px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  font: 600 0.62rem/1 var(--font-mono);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out);
}
.mi-avatars span.is-active {
  background: var(--mi);
  color: #fff;
  transform: translateY(-3px);
}
.mi-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.mi-table th {
  padding: 8px 6px;
  border-bottom: 1px solid var(--line-strong);
  font: 500 0.62rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  color: var(--ink-3);
}
.mi-table th:first-child,
.mi-table td:first-child {
  text-align: left;
  padding-left: 8px;
}
.mi-table td {
  position: relative;
  padding: 11px 6px;
  border-bottom: 1px solid var(--line);
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.mi-table td:first-child {
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 500;
}
.mi-table td:last-child {
  font-weight: 600;
  padding-right: 8px;
}
.mi-table tbody tr {
  cursor: pointer;
  transition: background-color 0.3s;
}
.mi-table tbody tr:hover {
  background: rgba(15, 21, 19, 0.03);
}
.mi-table tbody tr.is-current td:first-child::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 2px;
  border-radius: 2px;
  background: var(--mi);
}
.mi-low {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--warn-soft);
  color: var(--warn);
  font: 600 0.6rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: 1px;
}
.mi-delta {
  position: absolute;
  right: 6px;
  top: -4px;
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--mi-ink);
  color: #fff;
  font: 600 0.62rem/1.2 var(--font-mono);
  pointer-events: none;
}
.mi-delta.is-neg {
  background: var(--neg);
}
.mi-log {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding-top: 12px;
  font: 500 0.68rem/1.3 var(--font-mono);
  letter-spacing: 0.03em;
  color: var(--ink-2);
  overflow: hidden;
}
.mi-log__who {
  flex: none;
  padding: 3px 6px;
  border-radius: 6px;
  background: var(--paper);
  font-weight: 600;
}
.mi-log__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mi-col-b {
  display: table-cell;
}
@container stage (max-width: 620px) {
  .mi {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 0;
  }
  .mi-phone {
    width: min(100%, 270px);
  }
  .mi-wire {
    width: 2px;
    height: 34px;
    background-image: linear-gradient(180deg, color-mix(in srgb, var(--mi-ink) 55%, transparent) 50%, transparent 0);
    background-size: 2px 8px;
  }
  .mi-wire__dot {
    left: -4px;
    top: 0;
  }
  .mi-sheet {
    width: 100%;
  }
}
@container stage (max-width: 420px) {
  .mi-col-ab {
    display: none;
  }
}

/* ---------- Demo 2 — ZapCount --------------------------------------------- */
.zc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 0.42fr);
  gap: clamp(14px, 2.6cqw, 28px);
  align-items: stretch;
}
.zc-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #e2e0d9;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  cursor: crosshair;
  touch-action: manipulation;
}
.zc-photo canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.zc-photo__name {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(15, 21, 19, 0.72);
  color: #fff;
  font: 500 0.64rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  pointer-events: none;
}
.zc-read {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2.4cqw, 22px);
}
.zc-read__label {
  font: 500 0.66rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.zc-read__num {
  display: block;
  margin-top: 8px;
  font: 600 clamp(3.2rem, 13cqw, 6rem)/0.9 var(--font-display);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  color: var(--zc-ink);
}
.zc-read__what {
  margin-top: 6px;
  font-weight: 600;
}
.zc-read__meta {
  display: grid;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font: 500 0.66rem/1.2 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.zc-read__meta div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.zc-read__meta dt {
  color: var(--ink-3);
}
.zc-actions {
  display: grid;
  gap: 8px;
}
.zc-actions button {
  height: 40px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.zc-actions .is-primary {
  background: var(--zc-ink);
  color: #fff;
}
.zc-actions .is-primary:hover {
  background: #3730a3;
}
.zc-actions .is-ghost {
  border: 1px solid var(--line-strong);
}
.zc-actions .is-ghost:hover {
  border-color: var(--ink);
}
@container stage (max-width: 620px) {
  .zc {
    grid-template-columns: 1fr;
  }
  .zc-read {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    column-gap: 18px;
  }
  .zc-read__meta {
    border-top: 0;
    padding-top: 0;
  }
  .zc-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Demo 3 — Label Codes ------------------------------------------ */
.lc {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(14px, 2.6cqw, 28px);
  align-items: stretch;
}
.lc-data {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.lc-data__file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font: 500 0.66rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.lc-data__file b {
  color: var(--ink);
  font-weight: 600;
}
.lc-table {
  width: 100%;
  border-collapse: collapse;
  font: 500 0.74rem/1.2 var(--font-mono);
}
.lc-table th {
  padding: 7px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lc-table td {
  padding: 9px 8px;
  border: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 0;
}
.lc-table td:first-child {
  width: 34%;
}
.lc-table td:last-child {
  width: 22%;
}
.lc-table tbody tr {
  cursor: pointer;
  transition: background-color 0.25s;
}
.lc-table tbody tr:hover {
  background: rgba(15, 21, 19, 0.03);
}
.lc-table tbody tr[aria-current="true"] {
  background: var(--lc-soft);
  box-shadow: inset 2px 0 0 var(--lc);
}
.lc-field {
  display: grid;
  gap: 6px;
  margin-top: auto;
}
.lc-field label {
  font: 500 0.62rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.lc-field input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font: 500 0.86rem var(--font-mono);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lc-field input:focus {
  outline: 0;
  border-color: var(--lc);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lc) 18%, transparent);
}

.lc-bench {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.lc-canvas {
  position: relative;
  flex: 1;
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 26px 18px;
  border-radius: 18px;
  background-color: color-mix(in srgb, var(--lc-soft) 40%, #fff);
  background-image: radial-gradient(color-mix(in srgb, var(--lc-ink) 26%, transparent) 1px, transparent 1.4px);
  background-size: 16px 16px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--lc-ink) 14%, transparent);
}
.lc-canvas__size {
  position: absolute;
  left: 12px;
  top: 12px;
  font: 500 0.62rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lc-ink);
}
.lc-label {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 5 / 3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 21, 19, 0.04), 0 16px 32px -18px rgba(15, 21, 19, 0.45);
  container-type: inline-size;
  container-name: label;
  user-select: none;
  -webkit-user-select: none;
}
.lc-el {
  position: absolute;
  cursor: grab;
  touch-action: none;
  border-radius: 3px;
  outline: 1px dashed transparent;
  outline-offset: 3px;
  transition: outline-color 0.2s;
}
.lc-el:hover,
.lc-el.is-drag,
.lc-el:focus-visible {
  outline-color: #2f8fd8;
}
.lc-el.is-drag {
  cursor: grabbing;
}
.lc-el--name {
  left: 7%;
  top: 9%;
  right: 30%;
  font: 600 6.6cqw/1.05 var(--font-display);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-el--bin {
  right: 7%;
  top: 9%;
  padding: 1.6cqw 2.4cqw;
  border-radius: 1.6cqw;
  background: var(--ink);
  color: #fff;
  font: 600 4.2cqw/1 var(--font-mono);
  letter-spacing: 0.04em;
}
.lc-el--code {
  left: 7%;
  right: 7%;
  bottom: 8%;
  display: grid;
  gap: 1.6cqw;
}
.lc-el--code svg {
  width: 100%;
  height: 21cqw;
  color: var(--ink);
}
.lc-el--code span {
  font: 500 4cqw/1 var(--font-mono);
  letter-spacing: 0.18em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.lc-print {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.lc-print__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--lc-ink);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.lc-print__btn:hover {
  background: #0c4a46;
}
.lc-strip {
  position: relative;
  height: 54px;
  overflow: hidden;
  border-radius: 6px;
  mask-image: linear-gradient(90deg, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
}
.lc-strip::before {
  /* printer slot */
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 6px;
  border-radius: 3px;
  background: var(--ink);
  z-index: 2;
}
.lc-strip__roll {
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 5px;
  transform: translateX(-100%);
}
.lc-mini {
  flex: none;
  width: 78px;
  height: 46px;
  padding: 6px 7px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 21, 19, 0.14);
  display: grid;
  align-content: space-between;
}
.lc-mini b {
  font: 600 0.5rem/1 var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
}
.lc-mini svg {
  width: 100%;
  height: 20px;
}
@container stage (max-width: 620px) {
  .lc {
    grid-template-columns: 1fr;
  }
  .lc-canvas {
    min-height: 220px;
  }
}

/* ---------- Family (how the three fit) ------------------------------------ */
.family {
  padding-block: clamp(48px, 9vh, 112px) clamp(24px, 5vh, 56px);
}
.family__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--col-gap);
  align-items: start;
  padding-top: clamp(28px, 5vh, 52px);
  border-top: 1px solid var(--line-strong);
}
.family__intro {
  grid-column: 1 / 5;
  display: grid;
  gap: 18px;
}
.family__title {
  font: 600 clamp(1.9rem, 3.4vw, 3rem)/1 var(--font-display);
  letter-spacing: -0.04em;
}
.family__text {
  color: var(--ink-2);
  max-width: 34ch;
}
.journey {
  grid-column: 5 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
  position: relative;
}
.journey__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 27px;
  height: 1px;
  background: var(--line-strong);
}
.journey__parcel {
  position: absolute;
  left: 0;
  top: 14px;
  width: 27px;
  height: 27px;
  border-radius: 6px;
  background: var(--ink);
  z-index: 2;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.journey__parcel i {
  display: block;
  width: 15px;
  height: 11px;
  opacity: 0;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 3px, #fff 3px 4px, transparent 4px 6px);
}
.step {
  position: relative;
  padding-top: 76px;
  display: grid;
  gap: 8px;
  align-content: start;
  --accent: var(--lc);
  --accent-ink: var(--lc-ink);
}
.step--zc {
  --accent: var(--zc);
  --accent-ink: var(--zc-ink);
}
.step--mi {
  --accent: var(--mi);
  --accent-ink: var(--mi-ink);
}
.step__node {
  position: absolute;
  left: 0;
  top: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: border-color 0.4s, background-color 0.4s, transform 0.6s var(--ease-out);
}
.step__node img {
  width: 26px;
  height: 26px;
}
.step.is-on .step__node {
  border-color: var(--accent);
  background: #fff;
  transform: scale(1.06);
}
.step__verb {
  font: 600 clamp(1.35rem, 2.1vw, 1.8rem)/1 var(--font-display);
  letter-spacing: -0.03em;
}
.step__verb em {
  font-style: normal;
  color: var(--accent-ink);
}
.step__text {
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 26ch;
}
.step__badge {
  position: absolute;
  left: 64px;
  top: 16px;
  padding: 4px 7px;
  border-radius: 7px;
  background: var(--accent-ink);
  color: #fff;
  font: 600 0.66rem/1.2 var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
}
.also {
  grid-column: 5 / 13;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: clamp(28px, 5vh, 48px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
}
.also b {
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 1000px) {
  .family__intro,
  .journey,
  .also {
    grid-column: 1 / -1;
  }
  .journey {
    margin-top: 16px;
  }
}
@media (max-width: 640px) {
  .journey {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .journey__line,
  .journey__parcel {
    display: none;
  }
  .step {
    padding: 0 0 0 74px;
    min-height: 55px;
  }
  .step__badge {
    display: none;
  }
}

/* ---------- About ---------------------------------------------------------- */
.about {
  padding-block: clamp(72px, 14vh, 160px);
}
.about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(36px, 5vw, 64px) var(--col-gap);
  align-items: center;
}
.about__copy {
  grid-column: 1 / 8;
  display: grid;
  gap: 22px;
}
.about__title {
  max-width: 13ch;
  font: 600 clamp(2.3rem, 5.4vw, 5rem)/0.95 var(--font-display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.about__copy p:not(.eyebrow) {
  max-width: 52ch;
  color: var(--ink-2);
  text-wrap: pretty;
}
.about__copy p.lede {
  color: var(--ink);
}
.about__label {
  grid-column: 9 / 13;
  justify-self: end;
  width: min(100%, 360px);
}

/* the company "shipping label" */
.idlabel {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 21, 19, 0.04), 0 28px 50px -30px rgba(15, 21, 19, 0.5);
  font: 500 0.72rem/1.35 var(--font-mono);
  letter-spacing: 0.03em;
  transform: rotate(-2.2deg);
  transition: transform 0.9s var(--ease-out);
}
.idlabel:hover {
  transform: rotate(0deg);
}
.idlabel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.idlabel__brand {
  font: 700 1.5rem/0.95 var(--font-display);
  letter-spacing: -0.04em;
}
.idlabel__brand span {
  display: block;
  font-weight: 400;
}
.idlabel__no {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.idlabel__no b {
  display: block;
  margin-top: 3px;
  font: 600 1.6rem/1 var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.idlabel dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.idlabel dl > div {
  padding: 10px 0 9px;
  border-bottom: 1px solid var(--line-strong);
}
/* the first row spans both columns, so even children sit left and odd ones right */
.idlabel dl > div:nth-child(even) {
  padding-right: 12px;
  border-right: 1px solid var(--line-strong);
}
.idlabel dl > div:nth-child(odd) {
  padding-left: 12px;
}
.idlabel dl > div.is-wide {
  grid-column: 1 / -1;
  border-right: 0;
  padding-inline: 0;
}
.idlabel dd.is-tight {
  font-size: 0.72rem;
  white-space: nowrap;
}
.idlabel dt {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.idlabel dd {
  margin-top: 3px;
  font-weight: 600;
  font-size: 0.8rem;
}
.idlabel__code {
  padding-top: 14px;
  display: grid;
  gap: 7px;
}
.idlabel__code svg {
  width: 100%;
  height: 54px;
  color: var(--ink);
}
.idlabel__code span {
  text-align: center;
  letter-spacing: 0.22em;
  font-size: 0.66rem;
}
@media (max-width: 1000px) {
  .about__copy {
    grid-column: 1 / -1;
  }
  .about__label {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* ---------- Contact --------------------------------------------------------- */
.contact {
  padding-bottom: clamp(72px, 13vh, 150px);
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(36px, 5vw, 64px) var(--col-gap);
  align-items: start;
  padding-top: clamp(56px, 10vh, 120px);
  border-top: 1px solid var(--line-strong);
}
.contact__copy {
  grid-column: 1 / 7;
  display: grid;
  gap: 22px;
}
.contact__title {
  max-width: 12ch;
  font: 600 clamp(2.3rem, 5.4vw, 5rem)/0.95 var(--font-display);
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.contact__copy > p:not(.eyebrow) {
  max-width: 42ch;
  color: var(--ink-2);
}
.contact__facts {
  grid-column: 8 / 13;
  align-self: end;
  display: grid;
  border-top: 1px solid var(--line-strong);
}
/* the email address is the whole call to action: one line, edge to edge */
.contact__mailrow {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 28px;
  padding: clamp(18px, 3vh, 28px) 0;
  border-block: 1px solid var(--line-strong);
}
.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
  font: 600 clamp(1.5rem, 3.4vw, 2.75rem)/1.1 var(--font-display);
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}
.contact__mail span {
  padding-bottom: 0.06em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.6s var(--ease-out);
}
.contact__mail:hover span,
.contact__mail:focus-visible span {
  background-size: 100% 2px;
}
.contact__mail .icon {
  width: 0.62em;
  height: 0.62em;
  stroke-width: 1.3;
  transition: transform 0.6s var(--ease-out);
}
.contact__mail:hover .icon {
  transform: translate(0.08em, -0.08em);
}
.contact__copybtn {
  padding: 8px 0;
  font: 500 0.72rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.25s;
}
.contact__copybtn:hover {
  color: var(--ink);
}
.contact__copybtn.is-done {
  color: var(--mi-ink);
}
.contact__facts > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.contact__facts dt {
  font: 500 0.72rem/1.6 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact__facts dd {
  font-size: 0.98rem;
}

@media (max-width: 1000px) {
  .contact__copy,
  .contact__facts {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .contact__mail {
    /* never wider than the screen, never larger than the desktop size */
    font-size: min(1.5rem, calc((100vw - 2 * var(--gutter)) / 12.4));
  }
}
@media (max-width: 520px) {
  .contact__facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- Footer ---------------------------------------------------------- */
.footer {
  padding-bottom: 28px;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 36px var(--col-gap);
  padding-top: clamp(40px, 7vh, 72px);
  border-top: 1px solid var(--line-strong);
}
.footer__brand {
  grid-column: 1 / 6;
  display: grid;
  gap: 16px;
  align-content: start;
}
.footer__brand p {
  max-width: 30ch;
  color: var(--ink-2);
}
.footer__col {
  grid-column: span 2;
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer__col:last-child {
  grid-column: span 3;
}
.footer__col a {
  text-decoration: none;
  justify-self: start;
}
.footer__col a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__col .mini {
  margin-bottom: 4px;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(36px, 6vh, 64px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font: 500 0.7rem/1.5 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 900px) {
  .footer__brand {
    grid-column: 1 / -1;
  }
  .footer__col,
  .footer__col:last-child {
    grid-column: span 4;
  }
}
@media (max-width: 560px) {
  .footer__col,
  .footer__col:last-child {
    grid-column: span 6;
  }
}

.footer__consent {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__consent:hover {
  color: var(--ink);
}

/* ---------- Analytics consent bar --------------------------------------------- */
/* a slim pill, bottom centre, so it stays clear of the hero's shelves */
.consent {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100vw - 24px);
  padding: 9px 9px 9px 22px;
  border-radius: 999px;
  background: #fff;
  color: #0f1513;
  box-shadow: 0 1px 0 rgba(15, 21, 19, 0.04), 0 22px 48px -20px rgba(15, 21, 19, 0.45), 0 0 0 1px rgba(15, 21, 19, 0.06);
  opacity: 0;
  transform: translate(-50%, 18px);
  transition: opacity 0.45s, transform 0.6s var(--ease-out);
}
.consent.is-in {
  opacity: 1;
  transform: translate(-50%, 0);
}
.consent__text {
  font-size: 0.8rem;
  line-height: 1.3;
  color: #5a6461;
  white-space: nowrap;
}
.consent__text b {
  display: block;
  font: 600 0.98rem/1.25 var(--font-display);
  letter-spacing: -0.02em;
  color: #0f1513;
}
.consent__actions {
  display: flex;
  gap: 6px;
}
@media (max-width: 560px) {
  .consent {
    left: 12px;
    right: 12px;
    max-width: none;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 18px;
    border-radius: 20px;
    transform: translateY(18px);
  }
  .consent.is-in {
    transform: none;
  }
  .consent__text {
    white-space: normal;
  }
}

/* 404 */
.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.lost__num {
  font: 600 clamp(6rem, 26vw, 20rem)/0.82 var(--font-display);
  letter-spacing: -0.06em;
}
.lost p {
  margin: 24px 0 28px;
  max-width: 36ch;
}

/* ---------- Motion helpers ---------------------------------------------------
   Content is visible by default. The `js` class (set inline in <head>) arms the
   reveal states; main.js then animates them in. `js-fail` restores everything
   if the script never arrives. */
.js [data-reveal],
.js [data-hero] .hero__title,
.js [data-hero] .hero__eyebrow,
.js [data-hero] .hero__row,
.js [data-hero] .shelf__meta,
.js [data-hero] .shelf__name,
.js [data-hero] .hero__foot,
.js [data-split],
.js [data-read] {
  visibility: hidden;
}
.js-fail [data-reveal],
.js-fail [data-hero] .hero__title,
.js-fail [data-hero] .hero__eyebrow,
.js-fail [data-hero] .hero__row,
.js-fail [data-hero] .shelf__meta,
.js-fail [data-hero] .shelf__name,
.js-fail [data-hero] .hero__foot,
.js-fail [data-split],
.js-fail [data-read] {
  visibility: visible !important;
}

@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header,
  .menu,
  .hero__field,
  .hero__foot {
    display: none !important;
  }
  .js [data-reveal],
  .js [data-split],
  .js [data-hero] * {
    visibility: visible !important;
  }
}
