/* =========================================================
   style.css — RoboticsAI.ai v1.1.0 · A GhostFire Digital Signature Build
   Change summary (v1.1.0): the workcell grid. The page sits on an 18px ink dot grid (crisp SVG tile, origin 0 0);
     with JS on, the hero drops the CSS dots so the canvas can draw the same grid live, dot for dot, as the arm's
     workspace map. --noise and --grid are now tokens.
   Prior (v1.0.0): launch identity. A 1920s constructivist print on bone paper: ink, signal red and servo
     blue, with misregistered red under the headline. Bricolage Grotesque / Instrument Sans / Geist Mono. Link buttons
     are two-link arms that straighten on hover; joint kickers unfold; kinematic-chain lineage; joint dials; program
     listing; Lift back-to-top.
   Palette: Bone #ECE6D8 · Ink #121212 · Rivet #8A8478 · Signal Red #E1301E · Servo Blue #2146C7
   ========================================================= */

:root {
  --bone: #ECE6D8;
  --bone-2: #E3DCCB;
  --paper: #F4EFE4;
  --ink: #121212;
  --ink-2: rgba(18, 18, 18, .74);
  --ink-3: rgba(18, 18, 18, .52);
  --rivet: #8A8478;
  --red: #E1301E;
  --blue: #2146C7;
  --line: rgba(18, 18, 18, .14);
  --f-display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(18px, 4.4vw, 60px);
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* the workcell grid: grimy.js reads --grid-s and draws the hero's dots on the same lattice */
  --grid-s: 18px;
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Crect width='1.5' height='1.5' fill='%23121212' fill-opacity='.15' shape-rendering='crispEdges'/%3E%3C/svg%3E");
  --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 0.07 0 0 0 0 0.07 0 0 0 0 0.07 0 0 0 0.06 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(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
  background-color: var(--bone);
  background-image: var(--grid), var(--noise);
  background-size: var(--grid-s) var(--grid-s), 200px 200px;
  background-position: 0 0, 0 0;
}
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; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--red); color: var(--bone); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.rb-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--ink); color: var(--bone); font-family: var(--f-mono); font-size: .8rem; text-decoration: none; }
.rb-skip:focus { top: 12px; }
.rb-wrap { width: min(1200px, 100% - var(--gutter) * 2); margin: 0 auto; }

/* ─── LINK: a two-link arm under the words that straightens out when you reach for it ─── */
.lk { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 6px 0 2px; text-decoration: none; color: var(--ink); }
.lk-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; }
.lk-t b { font-weight: 500; }
.lk-arm { width: 100%; height: 16px; overflow: visible; }
.lk-l { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; d: path("M4 12 L60 4 L116 12"); transition: d .5s var(--ease); }
.lk-j { fill: var(--red); stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; transition: cy .5s var(--ease), fill .3s ease; }
.lk:hover .lk-l, .lk:focus-visible .lk-l { d: path("M4 8 L60 8 L116 8"); }
.lk:hover .lk-j, .lk:focus-visible .lk-j { cy: 8; }
.lk:hover .lk-t, .lk:focus-visible .lk-t { color: var(--red); }
.lk--red .lk-t { color: var(--red); }
.lk--red .lk-j { fill: var(--ink); stroke: var(--red); }
.lk--red .lk-l { stroke: var(--red); }
.lk--red:hover .lk-t, .lk--red:focus-visible .lk-t { color: var(--ink); }
.lk--sm .lk-t { font-size: .7rem; }
.lk--btn { align-items: stretch; }

/* ─── NAV ─── */
.rb-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; }
.rb-nav.is-solid { background: rgba(236, 230, 216, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.rb-brand { font-family: var(--f-display); font-size: 1.45rem; font-weight: 800; font-stretch: 78%; letter-spacing: -.01em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.rb-brand b { font-weight: 800; color: var(--red); }
.rb-brand i { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .52em; letter-spacing: 0; text-transform: none; color: var(--blue); margin-left: 2px; }
.rb-links { display: flex; gap: 36px; }
.rb-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(--ink-2); padding: 6px 0; transition: color .25s ease; }
.rb-links a::before { content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .3s var(--ease); }
.rb-links a:hover, .rb-links a:focus-visible { color: var(--ink); }
.rb-links a:hover::before, .rb-links a:focus-visible::before { transform: scale(1); }

/* ─── HERO ─── */
.rb-hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; }
/* JS on: the canvas owns the hero's dots (same lattice, live); JS off: the CSS grid shows through untouched */
.rb-js .rb-hero.is-grid { background-color: var(--bone); background-image: var(--noise); background-size: 200px 200px; }
.rb-stage { position: absolute; inset: 0; touch-action: pan-y; }
.rb-stage canvas { position: absolute; inset: 0; }
.rb-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; }
.rb-hero-in > * { pointer-events: auto; max-width: 600px; }
.rb-eyebrow { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; color: var(--ink-3); }
.rb-eyebrow span { color: var(--ink); font-weight: 500; }
.rb-mark {
  margin-top: 12px; font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: clamp(3.6rem, 9.6vw, 8.8rem); line-height: .86;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--ink);
  text-shadow: .045em .035em 0 rgba(225, 48, 30, .9);
}
.rb-mark b { font-weight: 800; color: var(--red); text-shadow: .045em .035em 0 rgba(33, 70, 199, .85); }
.rb-mark i { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .2em; letter-spacing: 0; text-transform: none; color: var(--blue); text-shadow: none; margin-left: .1em; vertical-align: .2em; }
.rb-claim { margin-top: 18px; font-family: var(--f-display); font-weight: 600; font-stretch: 85%; font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -.01em; }
.rb-claim em { font-style: normal; color: var(--red); }
.rb-lede { max-width: 42ch; margin-top: 14px; font-size: clamp(1rem, 1.25vw, 1.12rem); color: var(--ink-2); }
.rb-ctas { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 40px; margin-top: clamp(20px, 3.4vh, 32px); }
.rb-note { margin-top: 14px; font-family: var(--f-mono); font-size: .7rem; color: var(--ink-3); }

/* live readout, printed like a spec plate */
.rb-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(--ink); }
.rb-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; color: var(--ink); }
.rb-hud-mode i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: rbBlink 1.2s steps(2, end) infinite; }
@keyframes rbBlink { 50% { opacity: .2; } }
.rb-hud-j { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 14px; margin: 10px 0 0; }
.rb-hud-j div { display: flex; justify-content: space-between; gap: 6px; border-bottom: 1px solid var(--line); padding-bottom: 3px; }
.rb-hud-j dt { font-family: var(--f-mono); font-size: .66rem; color: var(--ink-3); }
.rb-hud-j dd { margin: 0; font-family: var(--f-mono); font-size: .74rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.rb-hud-hint { margin-top: 10px; font-size: .78rem; color: var(--blue); }

/* ─── SECTIONS ─── */
.rb-sec { position: relative; padding: clamp(90px, 12vw, 150px) 0; scroll-margin-top: calc(16px - clamp(90px, 12vw, 150px)); }
.rb-sec + .rb-sec { border-top: 2px solid var(--ink); }

/* the joint kicker: a little two-link arm unfolds, then the joint number and the name */
.rb-k { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 20px; }
.rb-k-arm { width: 48px; height: 28px; overflow: visible; }
.rb-k-arm path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.rb-k-arm circle { fill: var(--red); stroke: var(--ink); stroke-width: 1.4; }
.rb-k-arm .rb-k-tip { fill: var(--blue); }
.rb-k-l2, .rb-k-tip { transform-origin: 20px 10px; transition: transform 1s var(--ease) .15s; }
.rb-js .rb-k:not(.is-in) .rb-k-l2, .rb-js .rb-k:not(.is-in) .rb-k-tip { transform: rotate(-118deg); }
.rb-k-n { font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: var(--red); }
.rb-k-t { font-family: var(--f-mono); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.rb-h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: .95; letter-spacing: -.015em; text-transform: uppercase; max-width: 15ch; }
.rb-h2 em { font-style: normal; color: var(--red); }
.rb-lede2 { max-width: 58ch; margin-top: 20px; font-size: clamp(1.02rem, 1.3vw, 1.16rem); color: var(--ink-2); }
.rb-lede2 i { color: var(--ink); }
.rb-fine { margin-top: 18px; font-size: .8rem; color: var(--ink-3); }

/* J1: the lineage as a kinematic chain */
.rb-chain { position: relative; margin: clamp(30px, 5vw, 56px) 0 70px; aspect-ratio: 1200 / 520; }
.rb-chain-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rb-chain-shadow { fill: none; stroke: rgba(18, 18, 18, .09); stroke-width: 26; stroke-linecap: round; stroke-linejoin: round; transform: translate(12px, 10px); }
.rb-chain-link { fill: none; stroke: var(--ink); stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease) .1s; }
.rb-js .rb-chain:not(.is-in) .rb-chain-link { stroke-dashoffset: 1; }
.rb-chain-base { fill: var(--blue); }
.rb-chain-j { fill: var(--red); stroke: var(--ink); stroke-width: 2; }
.rb-chain-hub { fill: var(--ink); }
.rb-chain-pen { fill: var(--red); }
.rb-joints { position: absolute; inset: 0; }
.rb-jt { position: absolute; width: 22%; transform: translateX(-50%); text-align: center; transition: opacity .8s ease; }
.rb-js .rb-chain:not(.is-in) .rb-jt { opacity: 0; }
.rb-chain.is-in .rb-jt--2 { transition-delay: .5s; }
.rb-chain.is-in .rb-jt--3 { transition-delay: 1s; }
.rb-chain.is-in .rb-jt--4 { transition-delay: 1.5s; }
.rb-jt--1 { left: 25%; bottom: calc(100% - 63.46% + 28px); }
.rb-jt--2 { left: 46.67%; top: calc(77.69% + 28px); }
.rb-jt--3 { left: 66.67%; bottom: calc(100% - 37.69% + 28px); }
.rb-jt--4 { left: 88.33%; top: calc(47.69% + 28px); }
.rb-jt-k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.rb-jt-w { margin-top: 2px; font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; text-transform: uppercase; }
.rb-jt-d { margin-top: 6px; font-size: .86rem; line-height: 1.45; color: var(--ink-2); }
.rb-tip { max-width: 60ch; font-family: var(--f-display); font-weight: 600; font-stretch: 90%; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; }
.rb-tip b { font-weight: 800; text-transform: uppercase; }
.rb-tip b span { color: var(--red); }

/* J2: four joint dials */
.rb-dials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px clamp(20px, 3vw, 40px); margin-top: clamp(40px, 5vw, 60px); }
.rb-dial { --a: 0deg; transition: opacity .8s ease, transform .8s var(--ease); }
.rb-dial:nth-child(1) { --a: 38deg; } .rb-dial:nth-child(2) { --a: -52deg; } .rb-dial:nth-child(3) { --a: 12deg; } .rb-dial:nth-child(4) { --a: 67deg; }
.rb-js .rb-dial:not(.is-in) { opacity: 0; transform: translateY(14px); }
.rb-dial:nth-child(2) { transition-delay: .12s; } .rb-dial:nth-child(3) { transition-delay: .24s; } .rb-dial:nth-child(4) { transition-delay: .36s; }
.rb-dial-svg { width: 100%; max-width: 240px; height: auto; overflow: visible; }
.rb-dial-arc { fill: none; stroke: var(--ink); stroke-width: 2; }
.rb-dial-ticks { fill: none; stroke: var(--ink); stroke-width: 10; stroke-dasharray: 1.2 11.68; opacity: .5; transform: scale(.9); transform-origin: 100px 104px; }
.rb-dial-needle { transform-origin: 100px 104px; transform: rotate(var(--a)); transition: transform 1.6s cubic-bezier(.34, 1.56, .64, 1) .3s; }
.rb-js .rb-dial:not(.is-in) .rb-dial-needle { transform: rotate(-90deg); }
.rb-dial-needle path { stroke: var(--red); stroke-width: 3; stroke-linecap: round; }
.rb-dial-needle circle { fill: var(--red); }
.rb-dial-hub { fill: var(--ink); }
.rb-dial-k { margin-top: 12px; font-family: var(--f-mono); font-size: .74rem; color: var(--red); }
.rb-dial h3 { margin-top: 4px; font-family: var(--f-display); font-weight: 700; font-stretch: 85%; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.05; text-transform: uppercase; }
.rb-dial p:last-child { margin-top: 8px; font-size: .94rem; color: var(--ink-2); }

/* J3: price and the program listing */
.rb-acq-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; }
.rb-price { transition: opacity .8s ease, transform .8s var(--ease); }
.rb-js .rb-price:not(.is-in) { opacity: 0; transform: translateY(12px); }
.rb-price-k { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.rb-price-v { margin-top: 6px; font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: clamp(3.6rem, 8vw, 6.6rem); line-height: .9; letter-spacing: -.02em; text-shadow: .04em .03em 0 rgba(225, 48, 30, .85); font-variant-numeric: lining-nums; }
.rb-price-s { margin: 12px 0 22px; color: var(--ink-2); }
.rb-facts { margin: 30px 0 0; }
.rb-facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.rb-facts dt { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-3); }
.rb-facts dd { margin: 0; font-size: .96rem; }
.rb-prog { position: relative; padding: 22px 0 0; border-top: 2px solid var(--ink); transition: opacity .8s ease; }
.rb-js .rb-prog:not(.is-in) { opacity: 0; }
.rb-prog-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-family: var(--f-mono); font-size: .8rem; font-weight: 500; }
.rb-prog-head span:first-child { color: var(--blue); }
.rb-prog-st { margin-left: auto; padding-left: 14px; color: var(--red); position: relative; }
.rb-prog-st::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--red); animation: rbBlink 1.2s steps(2, end) infinite; }
.rb-prog-list { margin-top: 18px; counter-reset: none; }
.rb-prog-list li { position: relative; padding: 14px 0 14px 18px; border-left: 2px solid var(--line); transition: border-color .3s ease, background-color .3s ease; }
.rb-prog-list li:hover { border-left-color: var(--red); background: linear-gradient(90deg, rgba(225, 48, 30, .07), transparent 70%); }
.rb-pl-code { font-family: var(--f-mono); font-size: clamp(.82rem, 1.1vw, .95rem); line-height: 1.5; overflow-wrap: anywhere; }
.rb-n { color: var(--ink-3); margin-right: 6px; }
.rb-pl-code b { font-weight: 500; color: var(--blue); }
.rb-c { color: var(--rivet); }
.rb-pl-h { margin-top: 6px; color: var(--ink-2); }
.rb-pl-end .rb-pl-code b { color: var(--red); }

/* J4: the inquiry form, ruled like a work order */
/* the three paths, linked like an arm: each separator is a link with a joint that seats on reveal */
.rb-paths { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; margin-top: 26px; }
.rb-path { position: relative; display: inline-flex; align-items: baseline; gap: 8px; margin: 0; padding: 8px 0 10px; border: 0; background: none; cursor: pointer; font-family: var(--f-mono); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); transition: color .25s ease; }
.rb-path-n { font-size: .68rem; letter-spacing: .04em; color: var(--red); }
.rb-path::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.rb-path:hover, .rb-path:focus-visible, .rb-path.is-on { color: var(--red); }
.rb-path:hover::after, .rb-path:focus-visible::after, .rb-path.is-on::after { transform: scaleX(1); }
.rb-path:focus-visible { outline: none; }
.rb-path-j { position: relative; display: block; width: 46px; height: 14px; margin: 0 14px; }
.rb-path-j::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ink); transform-origin: left; transition: transform .6s var(--ease); }
.rb-path-j::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--red); border: 1.5px solid var(--ink); box-shadow: 0 0 0 3px var(--bone); transition: transform .5s var(--ease) .35s; }
.rb-path-j:nth-of-type(2)::before { transition-delay: .2s; }
.rb-path-j:nth-of-type(2)::after { transition-delay: .55s; }
.rb-js .rb-paths:not(.is-in) .rb-path-j::before { transform: scaleX(0); }
.rb-js .rb-paths:not(.is-in) .rb-path-j::after { transform: scale(0); }
.rb-path.is-on + .rb-path-j::after, .rb-path-j:has(+ .rb-path.is-on)::after { background: var(--blue); }
.rb-paths + .rb-lede2 { margin-top: 14px; }
.rb-mail { color: var(--red); text-decoration: none; border-bottom: 1.5px solid currentColor; }
.rb-mail:hover { color: var(--ink); }
.rb-form { margin-top: clamp(32px, 4vw, 48px); max-width: 880px; }
.rb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rb-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 44px; }
.rb-f { position: relative; display: flex; flex-direction: column; gap: 6px; }
.rb-f--full { grid-column: 1 / -1; }
.rb-f label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rb-f input, .rb-f select, .rb-f textarea { width: 100%; margin: 0; padding: 10px 0 12px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; outline: none; background: transparent; color: var(--ink); font-family: var(--f-body); font-size: 1.12rem; -webkit-appearance: none; appearance: none; }
.rb-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='%23E1301E' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 4px center / 12px 8px; }
.rb-f textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.rb-f input::placeholder, .rb-f textarea::placeholder { color: rgba(18, 18, 18, .34); }
.rb-f::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); pointer-events: none; }
.rb-f:focus-within::after { transform: scaleX(1); }
.rb-f:focus-within label { color: var(--red); }
.rb-send { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 34px; }
.rb-status { font-family: var(--f-mono); font-size: .8rem; color: var(--blue); min-height: 1.4em; }
.rb-status.is-err { color: var(--red); }

/* ─── FOOTER ─── */
.rb-foot { position: relative; padding: 84px var(--gutter) 90px; text-align: center; border-top: 2px solid var(--ink); background: var(--ink); color: var(--bone); }
.rb-foot-mark { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; font-size: 2.2rem; text-transform: uppercase; letter-spacing: -.01em; }
.rb-foot-mark b { font-weight: 800; color: var(--red); }
.rb-foot-mark i { font-family: var(--f-mono); font-style: normal; font-weight: 500; font-size: .45em; text-transform: none; color: #8DA4F0; }
.rb-foot-creed { margin-top: 8px; font-family: var(--f-display); font-weight: 600; font-stretch: 90%; font-size: 1.15rem; color: rgba(236, 230, 216, .8); }
.rb-foot-meta, .rb-foot-ug { margin-top: 14px; font-family: var(--f-mono); font-size: .74rem; color: rgba(236, 230, 216, .55); }
.rb-foot-ug { margin-top: 4px; }
.rb-foot-ug i { font-style: italic; font-weight: 500; color: var(--red); }

/* ─── LIFT (back to top) ─── */
.rb-lift { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(16px, 3vh, 30px); z-index: 70; width: 52px; height: 82px; padding: 4px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s ease, transform .4s var(--ease); }
.rb-lift.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rb-lift svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 1.2px rgba(236, 230, 216, .95)) drop-shadow(0 0 1.2px rgba(236, 230, 216, .95)); }
.rb-lift-rail { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.rb-lift-cable { stroke: var(--ink); stroke-width: 1.4; }
.rb-lift-body { fill: var(--ink); }
.rb-lift-f { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.rb-lift-f--l { transform-origin: 15px 8px; }
.rb-lift-f--r { transform-origin: 25px 8px; }
.rb-lift:hover .rb-lift-f--l, .rb-lift:focus-visible .rb-lift-f--l, .rb-lift.is-lifting .rb-lift-f--l { transform: rotate(16deg); }
.rb-lift:hover .rb-lift-f--r, .rb-lift:focus-visible .rb-lift-f--r, .rb-lift.is-lifting .rb-lift-f--r { transform: rotate(-16deg); }
.rb-lift.is-lifting svg { animation: rbLift .9s var(--ease); }
@keyframes rbLift { 40% { transform: translateY(-14px); } 100% { transform: none; } }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .rb-dials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rb-acq-in { grid-template-columns: minmax(0, 1fr); }
  .rb-hud { width: min(300px, 40vw); }
  .rb-hud-hint { display: none; }
}
@media (max-width: 860px) {
  .rb-chain { aspect-ratio: auto; margin: 36px 0 30px; }
  .rb-chain-svg { display: none; }
  .rb-joints { position: relative; inset: auto; padding-left: 48px; }
  .rb-joints::before { content: ""; position: absolute; left: 13px; top: 10px; bottom: 10px; width: 10px; border-radius: 6px; background: var(--ink); }
  .rb-jt, .rb-jt--1, .rb-jt--2, .rb-jt--3, .rb-jt--4 { position: relative; left: auto; top: auto; bottom: auto; width: auto; transform: none; text-align: left; padding: 0 0 30px; }
  .rb-jt:last-child { padding-bottom: 0; }
  .rb-jt::before { content: ""; position: absolute; left: -44px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--red); border: 2px solid var(--ink); box-shadow: inset 0 0 0 6px var(--red), inset 0 0 0 11px var(--ink); }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .rb-links { display: none; }
  .rb-hero { min-height: 0; }
  .rb-hero-in { padding-top: calc(var(--nav-h) + 22px); padding-bottom: min(84vw, 380px); }
  .rb-mark { font-size: clamp(2.3rem, 12.2vw, 4.6rem); white-space: nowrap; }
  .rb-hud { left: var(--gutter); right: var(--gutter); bottom: auto; top: auto; position: relative; width: auto; margin: 0 var(--gutter) 22px; display: none; }
  .rb-dials { grid-template-columns: minmax(0, 1fr); }
  .rb-dial { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .rb-dial-svg { grid-row: span 3; }
  .rb-dial-k { margin-top: 0; }
  .rb-fields { grid-template-columns: minmax(0, 1fr); }
  .rb-paths { flex-direction: column; align-items: flex-start; gap: 0; }
  .rb-path-j { width: 14px; height: 22px; margin: 0 0 0 4px; }
  .rb-path-j::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin: 0 0 0 -1px; transform-origin: top; }
  .rb-js .rb-paths:not(.is-in) .rb-path-j::before { transform: scaleY(0); }
  .rb-foot { padding-bottom: 120px; }
}
@media (max-width: 420px) {
  .rb-ctas { gap: 14px 26px; }
  .lk-t { font-size: .72rem; letter-spacing: .1em; }
  .rb-dial { grid-template-columns: 96px minmax(0, 1fr); }
}
@media (max-height: 640px) and (min-width: 761px) {
  .rb-hero-in { padding-top: calc(var(--nav-h) + 12px); }
  .rb-mark { font-size: clamp(3rem, 7.6vw, 6.2rem); }
  .rb-claim { margin-top: 10px; font-size: 1.9rem; }
  .rb-lede { margin-top: 8px; }
  .rb-ctas { margin-top: 14px; }
  .rb-hud { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rb-hud-mode i, .rb-prog-st::before, .rb-lift.is-lifting svg { animation: none; }
  .lk-l, .lk-j, .rb-k-l2, .rb-k-tip, .rb-chain-link, .rb-jt, .rb-dial, .rb-dial-needle, .rb-price, .rb-prog, .rb-f::after, .rb-lift-f, .rb-path::after, .rb-path-j::before, .rb-path-j::after { transition: none; }
}
