/* ==========================================================================
   Nexurion — v2 "Operations Manual"
   Bone paper, ink type, one cobalt signal taken from the logo.
   ========================================================================== */

/* Archivo draws "&" as a fancy script glyph. This face covers only U+0026,
   so headings get a plain ampersand and every other letter stays Archivo. */
@font-face {
  font-family: "Plain Amp";
  src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Arial");
  font-weight: 100 900;
  unicode-range: U+0026;
}

:root {
  --bone: #ECE8DF;
  --bone-2: #E2DDD1;
  --paper: #F6F3EC;
  --ink: #121211;
  --ink-2: #2A2A27;
  --mute: #6E6A60;
  --line: rgba(18, 18, 17, .14);
  --line-strong: rgba(18, 18, 17, .5);
  --cobalt: #2347F5;
  --cobalt-deep: #1530C2;
  --cobalt-soft: rgba(35, 71, 245, .1);

  --f-display: "Plain Amp", "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Commissioner", "Helvetica Neue", sans-serif;
  --f-mono: "Azeret Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1380px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.07 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
::selection { background: var(--cobalt); color: var(--paper); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.mono {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mute { color: var(--mute); }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .04em;
  font-variation-settings: "wdth" 118;
}
.brand .nx-mark { width: 30px; height: 30px; flex: none; transition: transform .6s var(--ease); }
.brand:hover .nx-mark { transform: translateY(-2px) scale(1.06); }
.brand__div { width: 1px; height: 26px; background: currentColor; opacity: .22; flex: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word small { font-family: var(--f-mono); font-weight: 500; font-size: 8.5px; letter-spacing: .52em; margin-top: 4px; opacity: .62; font-variation-settings: normal; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}
.nav a sup { font-family: var(--f-mono); font-size: 9px; color: var(--mute); margin-right: 4px; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
}
.status i { width: 7px; height: 7px; background: var(--cobalt); transform: rotate(45deg); }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(31, 163, 92, .45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(31, 163, 92, 0); }
}

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 15px 22px 15px 24px;
  background: var(--bg);
  color: var(--fg);
  border: 0;
  border-radius: 0;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cobalt);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn--sm { padding: 11px 16px 11px 18px; font-size: 14px; }
.btn--cobalt { --bg: var(--cobalt); }
.btn--cobalt::before { background: var(--paper); }
.btn--cobalt:hover { color: var(--ink); }

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 0; position: relative; }
.hero__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-strong);
}
.hero__title {
  margin: clamp(28px, 5vw, 64px) 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(3rem, 10.4vw, 10.6rem);
  line-height: .86;
  letter-spacing: -.01em;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .ln > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero__title .ln:nth-child(2) > span { animation-delay: .12s; }
.hero__title .ln:nth-child(3) > span { animation-delay: .24s; }
.hero__title .ln:nth-child(3) { text-align: right; }
@keyframes rise { to { transform: translateY(0); } }

.w-cond { font-variation-settings: "wdth" 62; font-weight: 700; }
.w-wide { font-variation-settings: "wdth" 125; }
.w-thin { font-weight: 200; font-style: italic; font-variation-settings: "wdth" 80; }

.strike { position: relative; color: var(--mute); }
.strike::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%;
  top: 44%;
  height: .09em;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left;
  animation: strike .9s 1.05s var(--ease) forwards;
}
@keyframes strike { to { transform: scaleX(1); } }

.ring-inline {
  display: inline-block;
  width: .82em;
  height: .82em;
  vertical-align: -.06em;
  margin: 0 .06em;
 
}
.ring-inline img { width: 100%; height: 100%; object-fit: contain; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot {
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: end;
  margin-top: clamp(32px, 5vw, 64px);
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fade .9s .6s var(--ease) forwards;
}
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__lede { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-self: end; }
.link-u {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-u:hover { color: var(--cobalt); }
.hero__note { display: flex; flex-direction: column; gap: 6px; }

/* ---------- Section scaffolding ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec__head {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.sec__label { padding-top: 12px; border-top: 1px solid var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.sec__label .mute { font-weight: 400; }
.sec__no { color: var(--cobalt); margin-right: 8px; font-variant-numeric: tabular-nums; }
.talk .sec__label { border-color: rgba(246, 243, 236, .4); display: inline-block; min-width: 220px; }
.talk .sec__label .sec__no { color: #8EA2FF; }
.sec__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 5rem);
  line-height: .95;
  letter-spacing: -.01em;
  font-variation-settings: "wdth" 78;
  max-width: 17ch;
}
.sec__title em {
  font-style: italic;
  font-weight: 250;
  color: var(--cobalt);
}

/* ---------- Consolidation (pinned) ---------- */
.merge { height: 320vh; position: relative; background: var(--ink); color: var(--paper); }
.merge__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.merge__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 243, 236, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 243, 236, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.merge__ring {
  position: relative;
  width: min(36vmin, 340px);
  aspect-ratio: 1;
  z-index: 2;
  transform: scale(var(--ring-s, .82));
  filter: drop-shadow(0 24px 48px rgba(61, 140, 255, calc(var(--glow, 0) * .45)));
}
.merge__ring img { width: 100%; height: 100%; object-fit: contain; }


.chip {
  --tx: var(--x);
  --ty: var(--y);
}
.chip {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 230px;
  margin: -46px 0 0 -115px;
  padding: 14px 16px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(246, 243, 236, .16);
  --k: calc((1 - var(--p, 0)) * (1 + (1 - var(--in, 1)) * var(--fly, .85)));
  transform:
    translate(calc(var(--tx) * var(--k)), calc(var(--ty) * var(--k)))
    rotate(calc(var(--r) * (1 - var(--p, 0)) + var(--r) * (1 - var(--in, 1)) * 2.5))
    scale(calc((1 - var(--p, 0) * .78) * (.86 + var(--in, 1) * .14)));
  opacity: calc(var(--in, 1) * (1 - max(0, var(--p, 0) - .6) * 3));
  will-change: transform, opacity;
}
.chip__top { display: flex; justify-content: space-between; gap: 8px; color: var(--mute); }
.chip__name { display: block; margin-top: 8px; font-weight: 600; font-size: 16px; line-height: 1.2; }
.chip__bar { display: block; height: 4px; margin-top: 12px; background: var(--bone-2); position: relative; }
.chip__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 40%); background: var(--ink); }

.merge__copy {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
  max-width: 440px;
  z-index: 4;
}
.merge__copy h2 {
  margin: 14px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1;
  font-variation-settings: "wdth" 80;
  min-height: 2em;
}
.merge__copy h2 em { font-style: italic; font-weight: 250; color: #8EA2FF; }
.merge__phase { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.merge__phase[hidden] { display: block; opacity: 0; transform: translateY(10px); position: absolute; }

.merge__meters {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(28px, 6vh, 64px);
  z-index: 4;
  display: grid;
  gap: 2px;
  min-width: 250px;
}
.meter {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(246, 243, 236, .18);
}
.meter b {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  font-variation-settings: "wdth" 62;
  font-variant-numeric: tabular-nums;
}
.merge__tag { position: absolute; top: 96px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; z-index: 4; color: rgba(246, 243, 236, .55); }

/* ---------- Ledger ---------- */
.ledger { border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.ledger__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat {
  padding: 34px 22px 30px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 210px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 6.4vw, 6rem);
  line-height: .85;
  font-variation-settings: "wdth" 62;
  font-variant-numeric: tabular-nums;
}
.stat__n sup { font-size: .38em; color: var(--cobalt); vertical-align: .95em; margin-left: 2px; }
.stat p { margin: auto 0 0; font-size: 14.5px; line-height: 1.35; max-width: 18ch; }

/* ---------- Modules index ---------- */
.mods { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(24px, 4vw, 64px); align-items: start; }
.mod-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.mod { border-bottom: 1px solid var(--line-strong); }
.mod__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 22px 14px 22px 0;
  background: none;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: color .35s var(--ease), padding .45s var(--ease);
}
.mod__btn::before {
  content: "";
  position: absolute;
  inset: 0 -14px;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
  z-index: -1;
}
.mod__btn:hover, .mod__btn:focus-visible { color: var(--paper); padding-left: 14px; outline: none; }
.mod__btn:hover::before, .mod__btn:focus-visible::before { transform: scaleY(1); }
.mod__num { color: var(--mute); transition: color .35s; }
.mod__btn:hover .mod__num { color: #8EA2FF; }
.mod__name {
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1;
  font-variation-settings: "wdth" 92;
  transition: font-variation-settings .5s var(--ease);
}
.mod.is-open .mod__name { font-variation-settings: "wdth" 118; }
.mod__verbs { text-align: right; color: var(--mute); }
.mod__btn:hover .mod__verbs { color: rgba(246, 243, 236, .65); }
.mod__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.mod.is-open .mod__body { grid-template-rows: 1fr; }
.mod__body > div { overflow: hidden; }
.mod__body p { margin: 0; padding: 0 0 26px 70px; max-width: 62ch; color: var(--ink-2); }
.mod__body .mock { display: none; }

/* Preview panel */
.preview {
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.preview__bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink);
  background: var(--bone-2);
}
.preview__dots { display: flex; gap: 6px; align-items: center; }
.preview__dots i { width: 9px; height: 9px; border: 1px solid var(--ink); border-radius: 50%; }
.preview__dots i:first-child { background: var(--cobalt); border-color: var(--cobalt); }
.preview__stage { position: relative; aspect-ratio: 4 / 3.4; }
.mock {
  position: absolute;
  inset: 0;
  padding: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  pointer-events: none;
}
.mock.is-on { opacity: 1; transform: none; }
.mock__h { display: flex; justify-content: space-between; margin-bottom: 16px; }

/* mock: kanban */
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; height: calc(100% - 34px); }
.kb__col { background: var(--bone); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.kb__card { background: var(--paper); border: 1px solid var(--line-strong); padding: 8px; display: grid; gap: 6px; }
.kb__card i { display: block; height: 5px; background: var(--bone-2); }
.kb__card i:first-child { width: 80%; background: var(--ink); }
.kb__card i:last-child { width: 45%; }
.kb__slot { height: 33px; border: 1px dashed var(--line-strong); flex: none; }
.kb__card--hot { border-color: var(--cobalt); box-shadow: 3px 3px 0 var(--cobalt); }
.kb__card--hot i:first-child { background: var(--cobalt); }
.mock.is-on .kb__card--hot { animation: kbmove 3.2s 0.3s var(--ease) infinite; }
@keyframes kbmove { 0%, 30% { transform: none; } 55%, 85% { transform: translateX(calc(100% + 20px)); } 100% { transform: none; } }

/* mock: pipeline */
.pipe { display: grid; gap: 10px; }
.pipe__row { display: grid; grid-template-columns: 92px 1fr 52px; gap: 10px; align-items: center; }
.pipe__bar { height: 26px; background: var(--bone); position: relative; overflow: hidden; }
.pipe__bar::after {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: var(--w); background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease);
}
.pipe__row:last-child .pipe__bar::after { background: var(--cobalt); }
.mock.is-on .pipe__bar::after { transform: scaleX(1); }
.pipe__row:nth-child(2) .pipe__bar::after { transition-delay: .08s; }
.pipe__row:nth-child(3) .pipe__bar::after { transition-delay: .16s; }
.pipe__row:nth-child(4) .pipe__bar::after { transition-delay: .24s; }
.pipe__row:nth-child(5) .pipe__bar::after { transition-delay: .32s; }
.pipe__v { font-family: var(--f-mono); font-size: 11px; text-align: right; }

/* mock: analytics */
.chart { width: 100%; height: auto; }
.chart .area { fill: var(--cobalt-soft); }
.chart .lineA { fill: none; stroke: var(--cobalt); stroke-width: 2.5; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s var(--ease); }
.chart .lineB { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 5; }
.mock.is-on .chart .lineA { stroke-dashoffset: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.kpi { border-top: 1px solid var(--ink); padding-top: 8px; }
.kpi b { display: block; font-family: var(--f-display); font-size: 24px; font-variation-settings: "wdth" 72; font-weight: 700; }

/* mock: chat */
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; gap: 10px; align-items: flex-end; max-width: 86%; opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.mock.is-on .msg { opacity: 1; transform: none; }
.mock.is-on .msg:nth-child(2) { transition-delay: .25s; }
.mock.is-on .msg:nth-child(3) { transition-delay: .5s; }
.mock.is-on .msg:nth-child(4) { transition-delay: .75s; }
.msg--me { align-self: flex-end; flex-direction: row-reverse; }
.av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-family: var(--f-mono); font-size: 10px; }
.msg--me .av { background: var(--cobalt); }
.bub { background: var(--bone); padding: 9px 12px; font-size: 13.5px; line-height: 1.35; }
.msg--me .bub { background: var(--ink); color: var(--paper); }
.doc { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line-strong); background: var(--paper); padding: 6px 10px; margin-top: 6px; font-family: var(--f-mono); font-size: 10.5px; }

/* mock: invoice */
.inv { background: var(--bone); padding: 18px; position: relative; height: calc(100% - 34px); }
.inv__line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line-strong); font-size: 13.5px; }
.inv__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.inv__total b { font-family: var(--f-display); font-size: 34px; font-weight: 800; font-variation-settings: "wdth" 66; }
.stamp {
  position: absolute; right: 18px; bottom: 64px;
  border: 2.5px solid var(--cobalt); color: var(--cobalt);
  padding: 6px 12px;
  font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .12em;
  font-variation-settings: "wdth" 112;
  transform: rotate(-12deg) scale(1.6); opacity: 0;
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1) .5s, opacity .2s .5s;
}
.mock.is-on .stamp { transform: rotate(-12deg) scale(1); opacity: .92; }

/* mock: automation */
.flow { display: grid; gap: 0; justify-items: start; }
.node { border: 1px solid var(--ink); background: var(--paper); padding: 10px 14px; min-width: 64%; display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.node--trig { background: var(--ink); color: var(--paper); }
.node--act { border-color: var(--cobalt); box-shadow: 4px 4px 0 var(--cobalt); }
.wire { width: 1px; height: 22px; margin-left: 28px; background: var(--ink); position: relative; overflow: hidden; }
.wire::after { content: ""; position: absolute; left: -2px; width: 5px; height: 8px; background: var(--cobalt); top: -8px; }
.mock.is-on .wire::after { animation: pulse 1.4s linear infinite; }
.flow .wire:nth-of-type(4)::after { animation-delay: .5s; }
.flow .wire:nth-of-type(6)::after { animation-delay: 1s; }
@keyframes pulse { to { top: 26px; } }
.node--indent { margin-left: 40px; }

/* Platform strip */
.platform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--ink);
}
.plat { padding: 26px 26px 6px 0; }
.plat + .plat { padding-left: 26px; border-left: 1px solid var(--line); }
.plat h3 { margin: 12px 0 10px; font-family: var(--f-display); font-weight: 700; font-size: 24px; font-variation-settings: "wdth" 85; }
.plat p { margin: 0; font-size: 15px; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags span { border: 1px solid var(--line-strong); padding: 5px 9px; }

/* ---------- Before / After ---------- */
.ba { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.ba__col { padding: clamp(28px, 4vw, 56px); }
.ba__col--after { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.ba__big {
  margin: 14px 0 28px;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: .86;
  font-variation-settings: "wdth" 66;
}
.ba__col--after .ba__big { font-variation-settings: "wdth" 125; }
.ba ul { list-style: none; margin: 0; padding: 0; }
.ba li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  font-size: 17px;
}
.ba__col--after li { border-color: rgba(246, 243, 236, .16); }
.ba__col--before li span:last-child { text-decoration: line-through; text-decoration-color: var(--cobalt); text-decoration-thickness: 2px; color: var(--mute); }
.ba li .mono { padding-top: 4px; }
.tick { color: #8EA2FF; }
.ba__ring { position: absolute; right: -90px; top: -90px; width: 260px; opacity: .22; }

/* ---------- Customer notes ---------- */
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.note {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 22px 24px 28px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex;
  flex-direction: column;
}
.note:nth-child(1) { --tilt: -1.2deg; }
.note:nth-child(2) { --tilt: .8deg; margin-top: 48px; }
.note:nth-child(3) { --tilt: -.5deg; margin-top: 18px; }
.note:hover { transform: rotate(0) translateY(-6px); box-shadow: 8px 8px 0 var(--cobalt); }
.note__head { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.note__metric {
  margin: 22px 0 8px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4.4vw, 3.8rem);
  line-height: .9;
  color: var(--cobalt);
  font-variation-settings: "wdth" 66;
}
.note h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.25; }
.note blockquote { margin: 0; font-size: 16px; color: var(--ink-2); }

/* ---------- Contact ---------- */
.talk { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.talk__big {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(4rem, 15vw, 15rem);
  line-height: .8;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
}
.talk__big em { font-style: italic; font-weight: 200; color: #8EA2FF; font-variation-settings: "wdth" 90; }
.talk__ring { position: absolute; right: -6vw; top: 40px; width: min(38vw, 520px); opacity: .32; pointer-events: none; }
.talk__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 80px); position: relative; z-index: 2; }
.talk__info p { margin: 0 0 28px; font-size: 18px; color: rgba(246, 243, 236, .78); max-width: 40ch; }
.talk__mail { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.8rem); text-decoration: none; border-bottom: 1px solid rgba(246, 243, 236, .4); font-variation-settings: "wdth" 88; word-break: break-all; }
.talk__mail:hover { color: #8EA2FF; border-color: #8EA2FF; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.field { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.field--full { grid-column: 1 / -1; }
.field label { color: rgba(246, 243, 236, .55); }
.field input, .field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246, 243, 236, .3);
  color: var(--paper);
  font: inherit;
  font-size: 18px;
  padding: 10px 0 12px;
  border-radius: 0;
  outline: none;
  transition: border-color .3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: #8EA2FF; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.form__status { font-size: 15px; }
.form__status.ok { color: #7FE0A6; }
.form__status.err { color: #FF9A84; }

/* ---------- Footer ---------- */
.ftr { padding: 64px 0 0; overflow: hidden; }
.ftr__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.ftr__row p { margin: 0; max-width: 38ch; color: var(--ink-2); font-size: 15px; }
.ftr__col { display: flex; flex-direction: column; gap: 10px; }
.ftr__col a { text-decoration: none; font-size: 15px; }
.ftr__col a:hover { color: var(--cobalt); }
.ftr__mark {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px;
  padding: 0 var(--gutter);
}
.ftr__mark text {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 172px;
  font-variation-settings: "wdth" 125;
  fill: var(--ink);
}
.ftr__barwrap { background: var(--ink); color: var(--paper); }
.ftr__bar { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.ftr__bar .mute { color: rgba(246, 243, 236, .55); }

/* ---------- Reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .hero__note { display: none; }
  .ledger__row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .mods { grid-template-columns: 1fr; }
  .preview { display: none; }
  .mod__body .mock { display: block; position: relative; opacity: 1; transform: none; inset: auto; padding: 0 0 26px 70px; max-width: 520px; }
  .mod__body .mock .kb { height: 200px; }
  .mod__body .mock .inv { height: auto; }
  .ftr__row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav, .status, .hdr__in > .btn { display: none; }
  .menu-btn {
    display: inline-flex; margin-left: auto;
    background: none; border: 1px solid var(--ink); padding: 9px 14px; cursor: pointer;
    font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--ink);
  }
  .hdr.open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bone); border-bottom: 1px solid var(--ink);
    padding: 8px var(--gutter) 20px;
  }
  .hdr.open .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .hero__meta .mono:last-child { display: none; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__cta { justify-self: start; }
  .sec__head { grid-template-columns: 1fr; }
  .merge { height: 300vh; }
  .merge__tag { top: 88px; }
  .merge__ring { width: 27vmin; }
  .chip { --tx: var(--mx); --ty: var(--my); --fly: .3; width: 132px; margin: -36px 0 0 -66px; padding: 8px 10px 10px; box-shadow: 4px 4px 0 rgba(246, 243, 236, .16); }
  .chip__top { font-size: 9.5px; }
  .chip__name { font-size: 13px; margin-top: 6px; }
  .chip__bar { margin-top: 9px; height: 3px; }
  .merge__copy { right: var(--gutter); bottom: 26px; }
  .merge__copy h2 { font-size: clamp(1.55rem, 7.4vw, 2rem); min-height: 2.1em; }
  .hero__title { font-size: 14.2vw; }
  .merge__meters { display: none; }
  .merge__tag span:last-child { display: none; }
  .ledger__row { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 170px; padding: 26px 16px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--line); padding-left: 16px; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mod__btn { grid-template-columns: 38px 1fr; }
  .mod__verbs { display: none; }
  .mod__body p { padding-left: 0; }
  .mod__body .mock { padding: 16px; margin: 0 0 26px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
  .mod__body .mock .kb__col { background: var(--bone); }
  .platform { grid-template-columns: 1fr; }
  .plat + .plat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .ba { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .note:nth-child(n) { margin-top: 0; }
  .talk__grid { grid-template-columns: 1fr; }
  .talk__ring { width: 44vw; top: 56px; right: -16vw; opacity: .45; }
  .form { grid-template-columns: 1fr; }
  .ftr__row { grid-template-columns: 1fr; }
  .ftr__bar { flex-direction: column; }
}


/* ==========================================================================
   Inner pages
   ========================================================================== */
.nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--cobalt); }
.nav a[aria-current="page"] sup { color: var(--cobalt); }

/* ---------- Page hero ---------- */
.phero { padding: 40px 0 clamp(56px, 8vw, 110px); border-bottom: 1px solid var(--line-strong); }
.crumbs { display: flex; gap: 10px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line-strong); }
.crumbs a { text-decoration: none; color: var(--mute); }
.crumbs a:hover { color: var(--cobalt); }
.phero__title {
  margin: clamp(28px, 5vw, 64px) 0 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 8.4vw, 8.6rem);
  line-height: .9;
  letter-spacing: -.015em;
  font-variation-settings: "wdth" 72;
  max-width: 13ch;
}
.phero__title .ln { display: block; overflow: hidden; padding-bottom: .05em; }
.phero__title .ln > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.phero__title .ln:nth-child(2) > span { animation-delay: .12s; }
.phero__title .ln:nth-child(3) > span { animation-delay: .24s; }
.phero__title em { font-style: italic; font-weight: 200; color: var(--cobalt); font-variation-settings: "wdth" 90; }
.phero__foot {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 5vw, 80px);
  align-items: end; margin-top: clamp(32px, 5vw, 64px);
  opacity: 0; animation: fade .9s .5s var(--ease) forwards;
}
.phero__lede { margin: 0; font-size: clamp(17px, 1.5vw, 20px); max-width: 52ch; }
.phero__aside { display: grid; gap: 2px; justify-self: end; min-width: min(100%, 320px); }
.phero__aside div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.phero__aside b { font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 72; font-size: 20px; }
.phero__ring { width: .8em; height: .8em; display: inline-block; vertical-align: -.05em; }
.phero__ring img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- About: story ---------- */
.story { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.story__body { columns: 2 320px; column-gap: clamp(24px, 4vw, 56px); }
.story__body p { margin: 0 0 1.1em; break-inside: avoid; color: var(--ink-2); }
.story__body .story__lead {
  column-span: all;
  margin: 0 0 clamp(28px, 4vw, 48px);
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.12;
  font-variation-settings: "wdth" 84; color: var(--ink); max-width: 30ch;
}

/* ---------- About: scale ruler ---------- */
.ruler { --rp: 0; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ruler__ends { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ruler__end b {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, 9vw, 8.5rem); line-height: .85; font-variation-settings: "wdth" 62;
  font-variant-numeric: tabular-nums;
}
.ruler__end--to { text-align: right; }
.ruler__end--to b { color: var(--cobalt); }
.ruler__track {
  position: relative; height: 56px; margin: 56px 0 18px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10%) 0 100% / 100% 28px no-repeat,
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 2%) 0 100% / 100% 12px no-repeat;
  border-bottom: 1px solid var(--ink);
}
.ruler__fill { position: absolute; left: 0; bottom: -1px; height: 6px; width: calc(var(--rp) * 100%); background: var(--cobalt); }
.ruler__mark { position: absolute; inset: 0; pointer-events: none; }
/* Needle sits exactly at the fill edge; the label slides from left- to right-aligned so it never leaves the track. */
.ruler__mark i { position: absolute; bottom: 0; left: calc(var(--rp) * 100%); width: 2px; height: 34px; margin-left: -1px; background: var(--cobalt); }
.ruler__mark span { position: absolute; bottom: 40px; left: calc(var(--rp) * 100%); transform: translateX(calc(var(--rp) * -100%)); background: var(--ink); color: var(--paper); padding: 5px 9px; white-space: nowrap; }
.ruler__cap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ruler__cap p { margin: 0; max-width: 46ch; }

/* ---------- About: mission ---------- */
.mission { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.mission li {
  display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: baseline;
  padding: clamp(18px, 2.6vw, 30px) 0; border-bottom: 1px solid var(--line-strong);
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 3.1rem); line-height: 1.05; font-variation-settings: "wdth" 80;
}
.mission li b { font-weight: 800; color: var(--cobalt); font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: .01em; }
.mission__note { margin: 26px 0 0 86px; font-size: 18px; font-style: italic; color: var(--ink-2); }

/* ---------- Dark band (why us) ---------- */
.band { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.band__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.band__text {
  margin: 18px 0 0; font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 2.25rem); line-height: 1.2; font-variation-settings: "wdth" 86;
}
.band .meter b { font-size: 26px; font-variation-settings: "wdth" 72; }
.band__ring { position: absolute; left: -120px; bottom: -140px; width: 340px; opacity: .16; pointer-events: none; }
.band .sec__label { border-color: rgba(246, 243, 236, .4); }
.band .sec__label .sec__no { color: #8EA2FF; }
.band .sec__label .mute { color: rgba(246, 243, 236, .55); }

/* ---------- Fact cards (reuse of .note) ---------- */
.note__title { margin: 22px 0 12px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.05; font-variation-settings: "wdth" 80; }
.note p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--ink); }
.cta__ring { width: clamp(110px, 14vw, 190px); }
.cta h2 { margin: 0 0 12px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.6vw, 4.2rem); line-height: .95; font-variation-settings: "wdth" 72; }
.cta p { margin: 0 0 26px; max-width: 60ch; color: var(--ink-2); }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* ---------- Products: catalogue ---------- */
.cat { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
.cat__aside { position: sticky; top: 100px; }
.cat__count { display: flex; align-items: flex-start; gap: 10px; }
.cat__num {
  height: 1em; overflow: hidden;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 13vw, 13rem);
  line-height: 1; font-variation-settings: "wdth" 62; font-variant-numeric: tabular-nums;
}
.cat__num span { display: block; transition: transform .6s var(--ease); }
.cat__of { padding-top: 1.4em; }
.cat__name { margin: 10px 0 18px; font-weight: 600; font-size: 18px; min-height: 2.6em; }
.cat__ticks { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.cat__ticks a { height: 22px; border: 1px solid var(--ink); display: block; position: relative; }
.cat__ticks a::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease), background .3s; }
.cat__ticks a.done::after { transform: scaleY(1); }
.cat__ticks a.on::after { transform: scaleY(1); background: var(--cobalt); }
.cat__hint { margin-top: 14px; }

.spec { padding: 0 0 clamp(64px, 9vw, 120px); scroll-margin-top: 100px; }
.spec + .spec { padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line-strong); }
.spec__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.spec h2 {
  margin: 16px 0 16px; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 4rem); line-height: .95; font-variation-settings: "wdth" 80; max-width: 16ch;
}
.spec > p { margin: 0 0 30px; max-width: 60ch; font-size: 17.5px; color: var(--ink-2); }
.frame { background: var(--paper); border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); max-width: 620px; }
.frame .mock { position: relative; inset: auto; opacity: 1; transform: none; padding: 22px; min-height: 300px; pointer-events: auto; }
.frame .kb { height: 240px; }
.frame .inv { height: auto; min-height: 240px; }
.biglist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); max-width: 620px; }
.biglist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-strong); font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 2vw, 1.7rem); font-variation-settings: "wdth" 86; }
.biglist li .mono { color: var(--cobalt); }

/* ---------- Contact: paper slip ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__info h2 { margin: 14px 0 14px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; font-variation-settings: "wdth" 80; }
.contact__info > p { margin: 0 0 30px; color: var(--ink-2); max-width: 44ch; }
.mailbig {
  display: inline-block; font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.25rem, 2.6vw, 2.2rem); font-variation-settings: "wdth" 80;
  text-decoration: none; border-bottom: 2px solid var(--cobalt); word-break: break-all; margin: 8px 0 36px;
}
.mailbig:hover { color: var(--cobalt); }
.helps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.helps li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }

.slip {
  background: var(--paper); border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--ink);
  padding: clamp(20px, 3vw, 36px); position: relative;
}
.slip__head { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
.slip__head h2 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-variation-settings: "wdth" 72; line-height: 1; }
.slip__head p { grid-column: 1 / -1; margin: 6px 0 0; font-size: 15px; color: var(--ink-2); }
.slip .field label { color: var(--mute); }
.slip .field label b { color: var(--cobalt); font-weight: 500; margin-right: 6px; }
.slip .field input, .slip .field textarea { color: var(--ink); border-bottom-color: var(--line-strong); }
.slip .field input:focus, .slip .field textarea:focus { border-color: var(--cobalt); }
.slip .form__status.ok { color: #13834A; }
.slip .form__status.err { color: #C2351B; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; border: 0; padding: 0; }
.topics label { cursor: pointer; position: relative; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 9px 14px; border: 1px solid var(--ink); font-size: 14.5px; transition: background .25s, color .25s; }
.topics label:hover span { background: var(--bone-2); }
.topics input:checked + span { background: var(--ink); color: var(--paper); }
.topics input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.slip .field { position: relative; }
.slip__stamp {
  position: absolute; right: 8px; bottom: 26px;
  border: 2px solid var(--cobalt); color: var(--cobalt); padding: 4px 10px;
  font-family: var(--f-display); font-weight: 800; letter-spacing: .1em; font-size: 15px;
  transform: rotate(-8deg) scale(1.5); opacity: 0; pointer-events: none;
  transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
}
.slip.sent .slip__stamp { transform: rotate(-8deg) scale(1); opacity: .9; }
.nextlinks { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); }
.nextlinks a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; text-decoration: none; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-variation-settings: "wdth" 80; border-bottom: 1px solid var(--line-strong); transition: color .3s; }
.nextlinks a + a { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.nextlinks a small { display: block; font-family: var(--f-body); font-weight: 400; font-size: 15px; color: var(--mute); margin-top: 6px; }
.nextlinks a:hover { color: var(--cobalt); }
.nextlinks a .arr { transition: transform .45s var(--ease); }
.nextlinks a:hover .arr { transform: translateX(8px); }

@media (max-width: 1100px) {
  .cat { grid-template-columns: 1fr; gap: 0; }
  .cat__aside {
    top: 68px; z-index: 20; background: color-mix(in srgb, var(--bone) 92%, transparent);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    margin: 0 calc(var(--gutter) * -1) 8px; padding: 10px var(--gutter);
    border-bottom: 1px solid var(--line-strong);
    display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center;
  }
  .cat__count { grid-row: span 2; }
  .cat__num { font-size: 52px; }
  .cat__of { padding-top: 4px; }
  .cat__name { margin: 0; min-height: 0; font-size: 15px; line-height: 1.25; }
  .cat__ticks a { height: 10px; }
  .cat__hint { display: none; }
  .spec { padding-top: 28px; scroll-margin-top: 150px; }
}
@media (max-width: 820px) {
  .phero__foot { grid-template-columns: 1fr; }
  .phero__aside { justify-self: stretch; }
  .story { grid-template-columns: 1fr; }
  .story__body .story__lead { font-size: 1.3rem; }
  .ruler__mark span { font-size: 10px; }
  .mission li { grid-template-columns: 40px 1fr; }
  .mission__note { margin-left: 0; }
  .band__grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .cta__ring { width: 96px; }
  .frame { box-shadow: 6px 6px 0 var(--ink); }
  .frame .mock { padding: 16px; min-height: 0; }
  .frame .kb { height: 200px; }
  .contact { grid-template-columns: 1fr; }
  .slip { box-shadow: 6px 6px 0 var(--ink); }
  .nextlinks { grid-template-columns: 1fr; }
  .nextlinks a + a { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__title .ln > span, .hero__foot, .rv, .phero__title .ln > span, .phero__foot { transform: none; opacity: 1; }
  .strike::after { transform: scaleX(1); }
}

/* ---------- The N mark in place of the old ring ---------- */
.ring-inline svg, .phero__ring svg, .cta__ring svg, .ba__ring svg, .talk__ring svg, .band__ring svg, .merge__ring svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ba__ring, .talk__ring, .band__ring, .cta__ring { display: block; aspect-ratio: 1; }
/* Outline version: a technical drawing of the mark on the dark bands. */
.nx-mark--line .nx-outline { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.nx-mark--line .nx-guide { fill: none; stroke: currentColor; stroke-width: .8; stroke-dasharray: 2 7; opacity: .45; vector-effect: non-scaling-stroke; }
.nx-mark--line .nx-frame { fill: none; stroke: currentColor; stroke-width: .8; opacity: .35; vector-effect: non-scaling-stroke; }
/* A point of light runs down the diagonal of the N. */
.nx-signal { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 10 90; stroke-dashoffset: 100; opacity: 0; }
.nx-mark--signal .nx-signal { animation: nx-signal 3.4s cubic-bezier(.45, 0, .55, 1) 1s infinite; }
@keyframes nx-signal { 0% { stroke-dashoffset: 100; opacity: 0; } 8%, 40% { opacity: .9; } 50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
/* Merge section: the N is drawn as the tools fold in (stroke offset set by v2.js). */
.merge__ring .nx-track { fill: none; stroke: rgba(246, 243, 236, .07); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.merge__ring .nx-draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.merge__ring .nx-node { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.merge__ring .nx-node--a { transform: scale(var(--node-a, 0)); }
.merge__ring.is-done .nx-node { transform: scale(1); }
.merge__ring.is-done .nx-signal { animation: nx-signal 3s cubic-bezier(.45, 0, .55, 1) .4s infinite; }

/* ---------- Brand ring (replaces the old 3D ring) ---------- */
.nx-ring { display: block; width: 100%; height: 100%; overflow: visible; }
.nx-ring-body, .nx-ring-draw, .nx-ring-track { fill: none; stroke-width: 11; }
.nx-ring-body { stroke-linecap: round; }
.nx-ring-track { stroke: rgba(246, 243, 236, .07); }
.nx-ring-draw { stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
/* A short highlight that travels round the ring. */
.nx-ring-sheen { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 9 91; opacity: .55; }
.nx-ring--solid .nx-ring-sheen { animation: nx-sheen 6s linear infinite; }
.nx-ring--draw .nx-ring-sheen { opacity: 0; }
.merge__ring.is-done .nx-ring--draw .nx-ring-sheen { opacity: .6; animation: nx-sheen 5s linear infinite; transition: opacity .6s; }
@keyframes nx-sheen { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
/* Outline rings on the dark bands. */
.nx-ring--line circle, .nx-ring--line path { fill: none; stroke: currentColor; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.nx-ring--line .nx-ring-dash { stroke-dasharray: 2 7; opacity: .55; }

/* ---------- Merge section: six tools become one ring ---------- */
.merge__ring:has(.nx-seg) { width: min(54vmin, 500px); }
.nx-seg { display: block; width: 100%; height: 100%; overflow: visible; }
.nx-seg-track { fill: none; stroke: rgba(246, 243, 236, .07); stroke-width: 12; }
.nx-seg-arc { fill: none; stroke-width: 12; stroke-dasharray: 0 600; }
.nx-seg-label { font-family: var(--f-mono); font-size: 6.6px; font-weight: 500; letter-spacing: .16em; fill: rgba(246, 243, 236, .72); opacity: 0; }
.nx-seg-core, .nx-seg-orbit, .nx-seg-center { opacity: 0; transition: opacity .7s var(--ease); }
.nx-seg-pulse, .nx-seg-orbit { transform-box: view-box; transform-origin: 100px 100px; }
.nx-seg-pulse { fill: none; stroke-width: 2; opacity: 0; }
.nx-seg-orbit circle { fill: #F6F3EC; }
.nx-seg-center { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .24em; fill: #F6F3EC; font-variation-settings: "wdth" 110; }
.nx-seg-center--sub { font-family: var(--f-mono); font-weight: 500; font-size: 6px; letter-spacing: .42em; fill: rgba(246, 243, 236, .6); font-variation-settings: normal; }
.merge__ring.is-done .nx-seg-core,
.merge__ring.is-done .nx-seg-center { opacity: 1; transition-delay: .25s; }
.merge__ring.is-done .nx-seg-orbit { opacity: 1; animation: nx-orbit 7s linear infinite; }
.merge__ring.is-done .nx-seg-pulse { animation: nx-pulse 3.2s cubic-bezier(.2, .7, .1, 1) infinite; }
@keyframes nx-orbit { to { transform: rotate(360deg); } }
@keyframes nx-pulse { 0% { transform: scale(1); opacity: .75; stroke-width: 7; } 70%, 100% { transform: scale(1.5); opacity: 0; stroke-width: 1; } }
.nx-seg-full { fill: none; stroke-width: 12; opacity: 0; }
.merge__ring.is-done .nx-seg-full { opacity: 1; }
.merge__ring.is-done .nx-seg-arc { opacity: 0; }
