/* =========================================================
   style.css — MachineLayer.com v1.0.0 · A GhostFire Digital Signature Build
   Change summary (v1.0.0): launch identity. A print chamber at night: graphite surface ruled with fine layer lines,
     filament mint for what is built, hot-end orange for what is being built. Unbounded / Hanken Grotesk / IBM Plex Mono.
     Stack buttons that print their layers on hover; layer kickers; the origin as two strata; the buyer stack; the job.
   Palette: Graphite #121417 · Chalk #ECE9E2 · Filament #6FE3C1 · Hot End #FF5A36 · Slate #7D8794
   ========================================================= */

:root {
  /* the five swatches */
  --graphite: #121417;
  --chalk: #ECE9E2;
  --filament: #6FE3C1;
  --hot: #FF5A36;
  --slate: #7D8794;
  /* derived */
  --plate: #1A1D22;
  --plate-2: #22262C;
  --chalk-2: rgba(236, 233, 226, .74);
  --chalk-3: rgba(236, 233, 226, .5);
  --line: rgba(236, 233, 226, .12);
  --filament-dk: #3FA88A;
  /* type */
  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  /* fluid type scale */
  --step--1: clamp(.78rem, .76rem + .1vw, .84rem);
  --step-0: clamp(1rem, .97rem + .16vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.08rem + .35vw, 1.4rem);
  --step-2: clamp(1.35rem, 1.2rem + .75vw, 1.85rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.5vw, 2.7rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.6vw, 3.9rem);
  --step-5: clamp(2.5rem, 1.7rem + 4vw, 5rem);
  /* space and motion */
  --gutter: clamp(18px, 4.4vw, 60px);
  --nav-h: 68px;
  --sec-pad: clamp(90px, 12vw, 150px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* the surface: a printed part's layer lines, plus grain */
  --layers: repeating-linear-gradient(180deg, rgba(236, 233, 226, .028) 0 1px, transparent 1px 5px);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--chalk); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-color: var(--graphite);
  background-image: var(--layers), var(--noise);
  background-size: 100% 5px, 200px 200px;
}
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--filament); color: var(--graphite); }
:focus-visible { outline: 2px solid var(--filament); outline-offset: 5px; }
.ml-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ml-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--chalk); color: var(--graphite); font-family: var(--f-mono); font-size: var(--step--1); text-decoration: none; }
.ml-skip:focus { top: 12px; }
.ml-wrap { width: min(1200px, 100% - var(--gutter) * 2); margin: 0 auto; }

/* ─── STACK BUTTON: three printed layers under the words; hover and the stack prints out to full width ─── */
.lx { position: relative; display: inline-flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 0 2px; text-decoration: none; color: var(--chalk); }
.lx-t { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: color .3s ease; }
.lx-t b { font-weight: 500; }
.lx-stack { width: 100%; height: 13px; overflow: visible; }
.lx-l { fill: var(--filament); transform-box: fill-box; transform-origin: left center; transition: transform .45s var(--ease), fill .3s ease; }
.lx-l1 { fill: var(--filament-dk); }
.lx-l2 { transform: scaleX(.68); transition-delay: .06s; }
.lx-l3 { transform: scaleX(.34); transition-delay: .12s; }
.lx:hover .lx-l2, .lx:focus-visible .lx-l2, .lx:hover .lx-l3, .lx:focus-visible .lx-l3 { transform: scaleX(1); }
.lx:hover .lx-l3, .lx:focus-visible .lx-l3 { fill: var(--hot); }
.lx:hover .lx-t, .lx:focus-visible .lx-t { color: var(--filament); }
.lx--hot .lx-t { color: var(--hot); }
.lx--hot .lx-l1 { fill: #B23A20; }
.lx--hot .lx-l2 { fill: #E0492A; }
.lx--hot .lx-l3 { fill: var(--hot); }
.lx--hot:hover .lx-t, .lx--hot:focus-visible .lx-t { color: var(--chalk); }
.lx--hot:hover .lx-l3, .lx--hot:focus-visible .lx-l3 { fill: #FFC2A8; }
.lx--sm .lx-t { font-size: .7rem; }
.lx--sm .lx-stack { height: 10px; }

/* ─── NAV ─── */
.ml-nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--gutter); transition: background-color .4s ease, box-shadow .4s ease; }
.ml-nav.is-solid { background: rgba(18, 20, 23, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.ml-brand { font-family: var(--f-display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; text-decoration: none; color: var(--chalk); }
.ml-brand b { font-weight: 700; color: var(--filament); }
.ml-brand i { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .7em; color: var(--slate); margin-left: 1px; }
.ml-links { display: flex; gap: 36px; }
.ml-links a { position: relative; font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--chalk-2); padding: 6px 0; transition: color .25s ease; }
.ml-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--filament); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.ml-links a:hover, .ml-links a:focus-visible { color: var(--chalk); }
.ml-links a:hover::after, .ml-links a:focus-visible::after { transform: scaleX(1); }

/* ─── HERO ─── */
.ml-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
.ml-stage { position: absolute; inset: 0; touch-action: pan-y; }
.ml-stage canvas { position: absolute; inset: 0; }
.ml-hero-in { position: relative; z-index: 2; width: min(1200px, 100% - var(--gutter) * 2); margin: 0 auto; padding: calc(var(--nav-h) + clamp(28px, 7vh, 80px)) 0 0; pointer-events: none; }
.ml-hero-in > * { pointer-events: auto; max-width: 620px; }
.ml-eyebrow { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .04em; color: var(--chalk-3); }
.ml-eyebrow { display: flex; flex-wrap: wrap; gap: 2px 14px; }
.ml-eyebrow b { color: var(--chalk); font-weight: 500; }
.ml-mark {
  margin-top: 14px; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 5.3vw, 5.1rem); line-height: .95; letter-spacing: -.035em; color: var(--chalk); white-space: nowrap;
  /* extruded: the wordmark sits on its own printed layers */
  text-shadow: 0 .03em 0 #9FA6AE, 0 .06em 0 #5E656E, 0 .09em 0 #3A4048, 0 .12em 0 #262A30;
}
.ml-mark b { font-weight: 800; color: var(--filament); text-shadow: 0 .03em 0 #4CC4A1, 0 .06em 0 #3FA88A, 0 .09em 0 #2E7D67, 0 .12em 0 #1E5446; }
.ml-mark i { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .24em; letter-spacing: 0; color: var(--slate); text-shadow: none; margin-left: .15em; vertical-align: .25em; }
.ml-claim { margin-top: 26px; font-family: var(--f-display); font-weight: 500; font-size: var(--step-3); line-height: 1.05; letter-spacing: -.02em; }
.ml-claim em { font-style: normal; color: var(--hot); }
.ml-lede { max-width: 44ch; margin-top: 14px; font-size: var(--step-0); color: var(--chalk-2); }
.ml-ctas { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; margin-top: clamp(20px, 3.4vh, 32px); }
.ml-note { margin-top: 14px; font-family: var(--f-mono); font-size: .7rem; color: var(--chalk-3); }

/* live readout, set like a printer's status screen */
.ml-hud { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(18px, 4vh, 36px); width: min(340px, 34vw); padding: 12px 0 0; border-top: 2px solid var(--filament); }
.ml-hud-mode { display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.ml-hud-mode i { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 10px var(--hot); animation: mlBlink 1.2s steps(2, end) infinite; }
@keyframes mlBlink { 50% { opacity: .25; } }
.ml-hud-v { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; margin: 10px 0 0; }
.ml-hud-v div { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.ml-hud-v dt { font-family: var(--f-mono); font-size: .66rem; color: var(--chalk-3); }
.ml-hud-v dd { margin: 0; font-family: var(--f-mono); font-size: .74rem; font-variant-numeric: tabular-nums; }
.ml-hud-hint { margin-top: 10px; font-size: .8rem; color: var(--filament); }

/* ─── SECTIONS ─── */
.ml-sec { position: relative; padding: var(--sec-pad) 0; scroll-margin-top: calc(16px - var(--sec-pad)); }
.ml-sec + .ml-sec { border-top: 1px solid var(--line); }

/* the layer kicker: four little layers print in, then the layer number, its Z height and the name */
.ml-k { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 20px; }
.ml-k-ico { width: 28px; height: 22px; overflow: visible; }
.ml-k-b { fill: var(--filament); transform-box: fill-box; transform-origin: left center; transition: transform .5s var(--ease), opacity .3s ease; }
.ml-k-b1 { fill: var(--filament-dk); }
.ml-k-b4 { fill: var(--hot); }
.ml-k-b2 { transition-delay: .15s; } .ml-k-b3 { transition-delay: .3s; } .ml-k-b4 { transition-delay: .45s; }
.ml-js .ml-k:not(.is-in) .ml-k-b { transform: scaleX(0); opacity: 0; }
.ml-k-n { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--hot); }
.ml-k-z { font-family: var(--f-mono); font-size: .7rem; color: var(--slate); }
.ml-k-t { font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.ml-h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--step-4); line-height: 1.02; letter-spacing: -.03em; max-width: 19ch; }
.ml-h2 em { font-style: normal; color: var(--filament); }
.ml-lede2 { max-width: 58ch; margin-top: 20px; font-size: var(--step-1); line-height: 1.55; color: var(--chalk-2); }
.ml-fine { max-width: 90ch; margin-top: 22px; font-size: var(--step--1); color: var(--chalk-3); }

/* L01: the origin as two strata that share one layer, 1986 */
.ml-strata { margin-top: clamp(40px, 5vw, 64px); transition: opacity .9s ease, transform .9s var(--ease); }
.ml-js .ml-strata:not(.is-in) { opacity: 0; transform: translateY(18px); }
.ml-strata-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 14px; padding: 18px 0 20px; font-family: var(--f-display); font-weight: 700; font-size: var(--step-2); letter-spacing: -.02em; text-align: center; border-bottom: 3px solid var(--hot); box-shadow: 0 10px 22px -16px var(--hot); }
.ml-strata-cap strong { font-weight: 700; }
.ml-strata-cap b { font-weight: 700; color: var(--filament); }
.ml-strata-cap span { flex-basis: 100%; font-family: var(--f-mono); font-weight: 400; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--chalk-3); }
.ml-strata-head { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); padding: 16px 0 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.ml-strata-head span:last-child { grid-column: 3; text-align: right; }
.ml-strata-rows { display: grid; gap: 10px; }
.ml-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: stretch; }
.ml-cell { padding: 24px clamp(18px, 2.4vw, 32px); background: var(--plate); box-shadow: inset 0 -5px 0 var(--plate-2), 0 1px 0 rgba(236, 233, 226, .06) inset; }
.ml-cell:last-child { text-align: right; }
.ml-cell-k { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .04em; color: var(--filament); }
.ml-cell-w { margin-top: 6px; font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); line-height: 1.1; letter-spacing: -.02em; }
.ml-cell-d { margin-top: 8px; color: var(--chalk-2); }
.ml-row-z { display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--chalk-3); background: repeating-linear-gradient(180deg, var(--line) 0 1px, transparent 1px 6px); }
/* 1986 is the one layer that runs straight through both stacks */
.ml-row--1986 .ml-cell { background: linear-gradient(180deg, #1F2A27, var(--plate)); box-shadow: inset 0 -5px 0 #18322B, inset 0 2px 0 rgba(111, 227, 193, .35); }
.ml-row--1986 .ml-row-z { background: linear-gradient(180deg, #1F2A27, var(--plate)); box-shadow: inset 0 -5px 0 #18322B, inset 0 2px 0 rgba(111, 227, 193, .35); font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--hot); text-shadow: 0 0 18px rgba(255, 90, 54, .45); }

/* L02: the buyers as a printed stack, laid down from the bed up */
.ml-stack { display: flex; flex-direction: column; gap: 0; margin-top: clamp(40px, 5vw, 60px); }
.ml-slab { --w: 100%; position: relative; width: var(--w); padding: 22px clamp(18px, 2.6vw, 34px) 26px; background: linear-gradient(90deg, var(--plate-2), var(--plate)); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(236, 233, 226, .07); display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 6px 28px; align-items: baseline; transition: opacity .7s ease, transform .7s var(--ease); }
.ml-slab:nth-child(1) { --w: 70%; margin-left: 15%; }
.ml-slab:nth-child(2) { --w: 80%; margin-left: 10%; }
.ml-slab:nth-child(3) { --w: 90%; margin-left: 5%; }
.ml-slab::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: var(--filament); }
.ml-slab:nth-child(1)::before { background: var(--hot); box-shadow: 0 0 14px var(--hot); }
.ml-js .ml-slab:not(.is-in) { opacity: 0; transform: translateY(-26px); }
.ml-slab:nth-child(4) { transition-delay: 0s; } .ml-slab:nth-child(3) { transition-delay: .15s; } .ml-slab:nth-child(2) { transition-delay: .3s; } .ml-slab:nth-child(1) { transition-delay: .45s; }
.ml-slab-z { font-family: var(--f-mono); font-size: .74rem; color: var(--filament); }
.ml-slab:nth-child(1) .ml-slab-z { color: var(--hot); }
.ml-slab h3 { font-family: var(--f-display); font-weight: 600; font-size: var(--step-1); line-height: 1.15; letter-spacing: -.015em; }
.ml-slab p:last-child { color: var(--chalk-2); }

/* L03: price and the print job */
.ml-asset-in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 90px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.ml-price { transition: opacity .8s ease, transform .8s var(--ease); }
.ml-js .ml-price:not(.is-in) { opacity: 0; transform: translateY(12px); }
.ml-price-k { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hot); }
.ml-price-v { margin-top: 8px; font-family: var(--f-display); font-weight: 800; font-size: var(--step-5); line-height: .95; letter-spacing: -.04em; font-variant-numeric: lining-nums; text-shadow: 0 .03em 0 #4CC4A1, 0 .06em 0 #2E7D67, 0 .09em 0 #1E5446; }
.ml-price-s { margin: 18px 0 22px; color: var(--chalk-2); }
.ml-facts { margin: 30px 0 0; }
.ml-facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.ml-facts dt { font-family: var(--f-mono); font-size: .76rem; color: var(--chalk-3); }
.ml-facts dd { margin: 0; }
.ml-job { padding: 22px 0 0; border-top: 2px solid var(--filament); transition: opacity .8s ease; }
.ml-js .ml-job:not(.is-in) { opacity: 0; }
.ml-job-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--f-mono); font-size: .8rem; font-weight: 500; }
.ml-job-head span:first-child { color: var(--filament); text-transform: uppercase; }
.ml-job-st { margin-left: auto; padding-left: 14px; color: var(--hot); position: relative; text-transform: uppercase; }
.ml-job-st::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--hot); animation: mlBlink 1.2s steps(2, end) infinite; }
.ml-job-list { margin-top: 18px; display: grid; gap: 4px; }
.ml-job-list li { position: relative; padding: 16px 0 16px 22px; }
/* each step is a layer: its rail prints in, one after the other */
.ml-job-list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--plate-2); }
.ml-job-list li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--filament); transform-origin: top; transition: transform .7s var(--ease); }
.ml-js .ml-job:not(.is-in) .ml-job-list li::after { transform: scaleY(0); }
.ml-job-list li:nth-child(2)::after { transition-delay: .5s; }
.ml-job-list li:nth-child(3)::after { transition-delay: 1s; background: var(--hot); box-shadow: 0 0 12px rgba(255, 90, 54, .6); }
.ml-jl-k { font-family: var(--f-mono); font-size: .8rem; color: var(--filament); }
.ml-job-list li:nth-child(3) .ml-jl-k { color: var(--hot); }
.ml-jl-h { margin-top: 6px; color: var(--chalk-2); }
.ml-jl-h b { font-weight: 600; color: var(--chalk); }
.ml-job-end { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-family: var(--f-mono); font-size: .78rem; color: var(--chalk-3); }

/* L04: the inquiry form */
.ml-mail { color: var(--filament); text-decoration: none; border-bottom: 1.5px solid currentColor; }
.ml-mail:hover { color: var(--chalk); }
.ml-form { margin-top: clamp(32px, 4vw, 48px); max-width: 880px; }
.ml-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ml-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 44px; }
.ml-f { position: relative; display: flex; flex-direction: column; gap: 6px; }
.ml-f--full { grid-column: 1 / -1; }
.ml-f label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--chalk-3); }
.ml-f input, .ml-f select, .ml-f textarea { width: 100%; margin: 0; padding: 10px 0 12px; border: 0; border-bottom: 2px solid var(--slate); border-radius: 0; outline: none; background: transparent; color: var(--chalk); font-family: var(--f-body); font-size: 1.12rem; -webkit-appearance: none; appearance: none; }
.ml-f select { cursor: pointer; padding-right: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1 L6 6 L11 1' fill='none' stroke='%236FE3C1' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px; }
.ml-f select option { background: var(--graphite); color: var(--chalk); }
.ml-f textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.ml-f input::placeholder, .ml-f textarea::placeholder { color: rgba(236, 233, 226, .3); }
.ml-f::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--hot); box-shadow: 0 0 10px rgba(255, 90, 54, .5); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); pointer-events: none; }
.ml-f:focus-within::after { transform: scaleX(1); }
.ml-f:focus-within label { color: var(--filament); }
.ml-send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 34px; }
.ml-status { font-family: var(--f-mono); font-size: .8rem; color: var(--filament); min-height: 1.4em; }
.ml-status.is-err { color: var(--hot); }

/* ─── FOOTER ─── */
.ml-foot { position: relative; padding: 84px var(--gutter) 90px; text-align: center; border-top: 3px solid var(--filament-dk); background: #0C0D10; }
.ml-foot-mark { font-family: var(--f-display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.02em; }
.ml-foot-mark b { font-weight: 700; color: var(--filament); }
.ml-foot-mark i { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .5em; color: var(--slate); }
.ml-foot-creed { margin-top: 8px; font-family: var(--f-display); font-weight: 400; font-size: 1rem; color: var(--chalk-2); }
.ml-foot-meta, .ml-foot-ug { margin-top: 14px; font-family: var(--f-mono); font-size: .74rem; color: var(--chalk-3); }
.ml-foot-ug { margin-top: 4px; }
.ml-foot-ug i { font-style: italic; font-weight: 500; color: var(--filament); }

/* ─── HOME Z (back to top) ─── */
.ml-home { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(16px, 3vh, 30px); z-index: 70; width: 46px; height: 82px; padding: 4px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s ease, transform .4s var(--ease); }
.ml-home.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ml-home svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 3px rgba(12, 13, 16, .9)); }
.ml-home-rod { stroke: var(--slate); stroke-width: 2; stroke-linecap: round; }
.ml-home-head { transition: transform .9s var(--ease); }
.ml-home-block { fill: var(--chalk); }
.ml-home-tip { fill: var(--hot); transition: filter .3s ease; }
.ml-home:hover .ml-home-tip, .ml-home:focus-visible .ml-home-tip { filter: drop-shadow(0 0 4px var(--hot)); }
.ml-home-t { font-family: var(--f-mono); font-size: 9px; font-weight: 500; fill: var(--filament); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .ml-asset-in { grid-template-columns: minmax(0, 1fr); }
  .ml-hud { width: min(300px, 40vw); }
  .ml-hud-hint { display: none; }
  .ml-slab { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .ml-strata-head { display: none; }
  .ml-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ml-row-z { order: -1; justify-content: flex-start; padding: 8px clamp(18px, 2.4vw, 32px); }
  .ml-cell:last-child { text-align: left; }
  .ml-cell + .ml-row-z + .ml-cell { box-shadow: inset 0 -5px 0 var(--plate-2); }
  .ml-slab:nth-child(n) { --w: 100%; margin-left: 0; }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  .ml-links { display: none; }
  .ml-hero { min-height: 0; }
  .ml-hero-in { padding-top: calc(var(--nav-h) + 22px); padding-bottom: min(96vw, 430px); }
  .ml-mark { font-size: clamp(1.9rem, 9.4vw, 3.6rem); }
  .ml-hud { display: none; }
  .ml-eyebrow { flex-direction: column; }
  .ml-eb-sep { display: none; }
  .ml-fields { grid-template-columns: minmax(0, 1fr); }
  .ml-foot { padding-bottom: 120px; }
}
@media (max-width: 420px) {
  .ml-ctas { gap: 14px 26px; }
  .lx-t { font-size: .72rem; letter-spacing: .1em; }
}
@media (max-height: 640px) and (min-width: 761px) {
  .ml-hero-in { padding-top: calc(var(--nav-h) + 12px); }
  .ml-mark { font-size: clamp(2.4rem, 5.4vw, 4.8rem); }
  .ml-claim { margin-top: 16px; font-size: 1.7rem; }
  .ml-lede { margin-top: 8px; }
  .ml-ctas { margin-top: 14px; }
  .ml-hud { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ml-hud-mode i, .ml-job-st::before { animation: none; }
  .lx-l, .ml-k-b, .ml-strata, .ml-slab, .ml-price, .ml-job, .ml-job-list li::after, .ml-f::after, .ml-home-head { transition: none; }
}
