:root {
  --ink: #0a0a0a;
  --ink-2: #3a3a3a;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --paper: #ffffff;
  --panel: #f4f4f3;
  --dark-2: #151515;
  --dark-line: #2a2a2a;
  --wrap: 1180px;
  --radius: 10px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
svg use { stroke: currentColor; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--paper); padding: 8px 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; font-family: inherit;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); background: var(--paper); color: var(--ink); }
.btn-small { padding: 9px 18px; }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--paper); background: transparent; color: var(--paper); }
.ico-inline { width: 18px; height: 18px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover .ico-inline { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { position: relative; text-decoration: none; font-size: .93rem; font-weight: 600; color: var(--ink-2); padding: 4px 0; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle .bar { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow-light { color: #a9a9a9; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding: 72px 0 40px; }
.hero-grid {
  position: absolute; inset: -60px; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 60px 60px; animation: grid-pan 30s linear infinite;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
@keyframes grid-pan { to { transform: translate(60px, 60px); } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero .dim { color: #8d8d8d; }
.hero .lede { font-size: 1.2rem; max-width: 560px; color: #d9d9d9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-art { margin: 0; }
.ticker { list-style: none; margin: 56px 0 0; padding: 22px 0 0; border-top: 1px solid var(--dark-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-size: .92rem; color: #cfcfcf; }
.ticker li { display: flex; align-items: center; gap: 10px; }
.ticker svg { width: 18px; height: 18px; fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Arm scene */
.arm-scene { width: 100%; height: auto; overflow: visible; }
.arm-scene .seg { fill: #e9e9e9; }
.arm-scene .base { fill: #6a6a6a; }
.arm-scene .joint { fill: #2b2b2b; stroke: #e9e9e9; stroke-width: 3; }
.arm-scene .pin { fill: #e9e9e9; }
.arm-scene .grip-bar, .arm-scene .grip { stroke: #e9e9e9; stroke-width: 6; stroke-linecap: round; fill: none; }
.arm-scene .conveyor > rect { fill: #2e2e2e; }
.arm-scene .roller { fill: #8a8a8a; }
.arm-scene .belt-items rect { fill: none; stroke: #9a9a9a; stroke-width: 2.5; }
.belt-items { animation: belt 8s linear infinite; }
@keyframes belt { from { transform: translateX(-130px); } to { transform: translateX(0); } }
.shoulder { transform-origin: 280px 290px; animation: shoulder 6s var(--ease) infinite; }
.elbow { transform-origin: 280px 150px; animation: elbow 6s var(--ease) infinite; }
.wrist { transform-origin: 410px 150px; animation: wrist 6s var(--ease) infinite; }
.grip { animation: grip 6s var(--ease) infinite; }
@keyframes shoulder { 0%,100% { transform: rotate(-14deg); } 45%,55% { transform: rotate(16deg); } }
@keyframes elbow { 0%,100% { transform: rotate(18deg); } 45%,55% { transform: rotate(-10deg); } }
@keyframes wrist { 0%,100% { transform: rotate(-4deg); } 45%,55% { transform: rotate(-6deg); } }
@keyframes grip { 0%,40% { stroke-dasharray: 18 0; } 50%,95% { stroke-dasharray: 12 6; } }
.readout rect:first-child { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.18); }
.readout text { fill: #9a9a9a; font: 700 11px var(--font); letter-spacing: .12em; }
.readout .big { fill: var(--paper); font-size: 20px; letter-spacing: .02em; }
.readout .status-dot { fill: #e9e9e9; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Sections */
.section { padding: 112px 0; }
.section-alt { background: var(--panel); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark p, .section-dark dd { color: #cfcfcf; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 640px; }
.section-dark .section-lede { color: #cfcfcf; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split-center { align-items: center; }

/* Robot finder */
.finder-section { background: var(--panel); }
.finder { max-width: 920px; }
.finder-form { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.06); transition: border-color .2s, box-shadow .2s; }
.finder-form:focus-within { border-color: var(--ink); box-shadow: 0 24px 60px rgba(0,0,0,.1); }
.finder-form textarea { width: 100%; border: 0; resize: vertical; font: inherit; font-size: 1.15rem; line-height: 1.5; padding: 6px 8px; outline: none; background: transparent; color: var(--ink); }
.finder-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.finder-examples { display: flex; flex-wrap: wrap; gap: 6px; }
.finder-out { margin-top: 28px; }
.finder-out:empty { display: none; }
.finder-summary { font-size: 1.1rem; margin-bottom: 18px; }
.finder-status { display: flex; align-items: center; gap: 12px; color: var(--ink-2); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.finder-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.finder-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: start; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); opacity: 0; transform: translateY(12px); animation: rise .5s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.finder-item h3 { margin: 0; font-size: 1.1rem; }
.finder-item h3 small { font-weight: 600; color: var(--muted); font-size: .85rem; margin-left: 6px; }
.finder-item .prod { font-weight: 700; font-size: .92rem; }
.finder-item p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; grid-column: 1 / -1; }
.finder-item .links { grid-column: 1 / -1; display: flex; gap: 16px; font-size: .88rem; font-weight: 600; margin-top: 6px; }
.fit { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); white-space: nowrap; }
.fit.partial { background: var(--panel); color: var(--ink-2); }
.finder-note { margin-top: 16px; }
.finder-error { color: #b3261e; }

/* Problem list */
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pain-list li { display: grid; gap: 4px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.pain-list li:hover { border-color: var(--ink); transform: translateX(6px); box-shadow: -6px 0 0 var(--ink); }
.pain-list span { color: var(--ink-2); }

/* Process */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 22px; left: 23px; right: calc((100% - 80px) / 5 - 23px); height: 2px; background: var(--line); }
.process::after { content: ""; position: absolute; top: 22px; left: 23px; right: calc((100% - 80px) / 5 - 23px); height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.process.in::after { transform: scaleX(1); }
.process li { position: relative; }
.step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .85rem; margin-bottom: 22px; box-shadow: 0 0 0 6px var(--panel); }
.process p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* Robot-type cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; padding: 28px 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.08); border-color: #cfcfcf; }
.card:hover::after { transform: scaleX(1); }
.card-ico, .type-ico { width: 56px; height: 56px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; transition: transform .35s var(--ease); }
.card:hover .card-ico { transform: scale(1.08) rotate(-4deg); }
.card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
.card a.card-link { position: absolute; inset: 0; z-index: 1; }
.cards-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--ink-2); }

/* Why list */
.why-list { margin: 32px 0 0; display: grid; gap: 4px; }
.why-list > div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--dark-line); }
.why-list dt { font-weight: 700; color: var(--paper); }
.why-list dd { margin: 0; }

/* Lifecycle */
.cycle { margin: 0; }
.cycle svg { width: 100%; max-width: 460px; margin: 0 auto; display: block; overflow: visible; }
.cycle .ring { fill: none; stroke: #2c2c2c; stroke-width: 2; }
.cycle .ring-dash { fill: none; stroke: #7a7a7a; stroke-width: 2; stroke-dasharray: 4 10; transform-origin: 200px 200px; animation: spin 40s linear infinite; }
.cycle .orbit { transform-origin: 200px 200px; animation: spin 10s linear infinite; }
.cycle .dot { fill: var(--paper); }
.cycle .nodes circle { fill: var(--dark-2); stroke: #e9e9e9; stroke-width: 2; }
.cycle .nodes text { fill: var(--paper); font: 700 12px var(--font); text-anchor: middle; }
@keyframes spin { to { transform: rotate(360deg); } }

/* East / West bridge */
.bridge { margin: 0; }
.bridge svg { width: 100%; overflow: visible; }
.bridge .dotfill { fill: url(#dotgrid); opacity: .5; }
.bridge pattern circle { fill: #c9c9c9; }
.bridge .arc { fill: none; stroke: var(--line); stroke-width: 3; }
.bridge .arc-flow { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 10 12; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.bridge .traveller { fill: var(--ink); }
.bridge .traveller.t2 { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.bridge .pin-dot { fill: var(--ink); }
.bridge .pulse { fill: var(--ink); opacity: .15; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.bridge .pin-east .pulse { animation-delay: 1.2s; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .35; } 100% { transform: scale(1.8); opacity: 0; } }
.bridge text { font: 700 14px var(--font); text-anchor: middle; fill: var(--ink); }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.ticks svg { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--ink); fill: none; stroke: var(--paper); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.ticks strong { color: var(--ink); }

/* Industries */
.industries { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industries li { display: grid; gap: 6px; padding: 30px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s, color .25s; }
.industries span { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.industries small { font-size: .92rem; color: var(--muted); transition: color .25s; }
.industries li:hover { background: var(--ink); color: var(--paper); }
.industries li:hover small { color: #bdbdbd; }

/* Callout */
.callout { background: var(--panel); padding: 88px 0; }
.callout-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.callout-quote { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; max-width: 760px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.contact-email a { font-size: 1.25rem; font-weight: 700; color: var(--paper); }
.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 16px; }
.enquiry label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: #cfcfcf; }
.enquiry .full { grid-column: 1 / -1; }
.enquiry input, .enquiry select, .enquiry textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 8px; border: 1px solid #3a3a3a; background: #0d0d0d; color: var(--paper); transition: border-color .2s; }
.enquiry textarea::placeholder { color: #6e6e6e; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: none; border-color: var(--paper); }
.enquiry [aria-invalid="true"] { border-color: #ff8a80; }
.form-hint { font-size: .82rem; color: #8a8a8a !important; margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #9a9a9a; border-top: 1px solid var(--dark-line); padding: 44px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner img { height: 30px; width: auto; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-inner a { color: #d6d6d6; text-decoration: none; }
.footer-inner a:hover { color: var(--paper); text-decoration: underline; }
.footer-inner p { margin: 0; }

/* ---------- Directory ---------- */
.page-hero { background: var(--ink); color: var(--paper); padding: 80px 0 64px; position: relative; overflow: hidden; }
.page-hero .lede { color: #d0d0d0; font-size: 1.15rem; max-width: 680px; }
.crumbs { font-size: .85rem; color: #9a9a9a; margin-bottom: 20px; }
.crumbs a { color: #cfcfcf; }
.dir-stats { display: flex; flex-wrap: wrap; gap: 36px; margin-top: 32px; }
.dir-stats b { display: block; font-size: 2rem; letter-spacing: -0.02em; color: var(--paper); }
.dir-stats span { font-size: .85rem; color: #9a9a9a; }

.filters { position: relative; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 16px 0; }
.filters-inner { display: grid; gap: 12px; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-row .label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: 600 .85rem var(--font); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.search { flex: 1 1 240px; max-width: 360px; font: inherit; font-size: .95rem; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; }
.search:focus { outline: none; border-color: var(--ink); }
.result-count { font-size: .85rem; color: var(--muted); margin-left: auto; }

.country-group { padding: 48px 0 8px; }
.country-group h2 { font-size: 1.6rem; display: flex; align-items: baseline; gap: 12px; }
.country-group h2 small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.co-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.co-card { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.co-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.08); border-color: #cfcfcf; }
.co-card h3 { margin-bottom: 4px; }
.co-card h3 a { text-decoration: none; }
.co-card h3 a::after { content: ""; position: absolute; inset: 0; }
.co-meta { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.co-card p:not(.co-meta) { font-size: .93rem; color: var(--ink-2); flex: 1; }
.type-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.type-tags li { display: inline-flex; align-items: center; gap: 5px; font-size: .75rem; font-weight: 700; padding: 4px 9px 4px 6px; border-radius: 999px; background: var(--panel); color: var(--ink-2); }
.type-tags svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.empty { padding: 64px 0; text-align: center; color: var(--muted); }
.dir-note { font-size: .85rem; color: var(--muted); padding: 40px 0 0; }

/* Price, generation and AI badges (monochrome scale: more AI = more ink) */
.bdgs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.bdg { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; line-height: 1.2; padding: 4px 9px; border-radius: 4px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.bdg::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.bdg.price::before, .bdg[class*="gen-"]::before { display: none; }
.ai-programmed { color: var(--muted); }
.ai-sensor { border-color: var(--ink-2); color: var(--ink); }
.ai-sensor::before { background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.ai-autonomous { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ai-autonomous::before { background: currentColor; }
.gen-emerging { border-style: dashed; border-color: var(--ink-2); color: var(--ink); }
.gen-mature { background: var(--panel); border-color: var(--panel); }
.bdg.price { background: transparent; border-color: transparent; padding-left: 2px; color: var(--ink); }
.co-card .bdgs { margin-top: 4px; }
.finder-item .bdgs { grid-column: 1 / -1; margin: 4px 0 0; }

.legend { margin: 32px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.legend summary { cursor: pointer; padding: 14px 18px; font-weight: 700; font-size: .92rem; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.legend summary::-webkit-details-marker { display: none; }
.legend summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.legend[open] summary::after { content: "–"; }
.legend-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 4px 18px 20px; }
.legend h4 { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 10px; }
.legend dl { margin: 0; }
.legend dt { margin-top: 12px; }
.legend dt:first-child { margin-top: 0; }
.legend dd { margin: 4px 0 0; font-size: .86rem; color: var(--ink-2); }
.legend p { margin: 0; font-size: .86rem; color: var(--ink-2); }
.label-gap { margin-left: 14px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sort select { font: 600 .9rem var(--font); text-transform: none; letter-spacing: 0; color: var(--ink); padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); cursor: pointer; }
.sort select:focus { outline: none; border-color: var(--ink); }
.dir-cta { margin: 20px 0 0; font-weight: 700; }
.dir-cta a { text-decoration: none; border-bottom: 2px solid var(--ink); }
.section-tight { padding-bottom: 24px; }

.table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ptable { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ptable th { position: sticky; top: 0; text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--panel); padding: 12px 16px; white-space: nowrap; }
.ptable td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.ptable tbody tr { transition: background .15s; }
.ptable tbody tr:hover { background: #fafafa; }
.ptable td small { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.ptable td a { font-weight: 600; }
.nowrap { white-space: nowrap; }

/* Function grid */
.fn-section { padding: 72px 0 56px; }
.fn-section .section-head { margin-bottom: 32px; }
.fn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.fn-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--paper); transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.fn-card svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; transition: transform .3s var(--ease); }
.fn-card span { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.fn-card small { font-size: .78rem; color: var(--muted); transition: color .25s; }
.fn-card:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); transform: translateY(-4px); }
.fn-card:hover small { color: #bdbdbd; }
.fn-card:hover svg { transform: scale(1.1); }
.fn-home { margin-top: 56px; }
.fn-home h3 { margin-bottom: 18px; }
.fn-tags li { background: var(--ink); color: var(--paper); }

.med-note { padding: 16px 18px; border-left: 3px solid var(--ink); background: var(--panel); border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; color: var(--ink-2); }

/* Profile */
.profile { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.profile h2 { font-size: 1.5rem; margin-top: 8px; }
.profile-desc { font-size: 1.1rem; color: var(--ink-2); }
.products { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.products li { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.products b { display: block; }
.products li > span:not(.bdgs) { display: block; font-size: .88rem; color: var(--muted); }
.products .bdgs { margin-top: 10px; }
.facts { border: 1px solid var(--line); border-radius: 16px; padding: 28px; position: sticky; top: 100px; }
.facts dl { margin: 0 0 24px; }
.facts dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: 16px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 4px 0 0; font-weight: 600; word-break: break-word; }
.facts .btn { width: 100%; margin-top: 10px; }
.facts .btn-outline { background: var(--paper); color: var(--ink); }
.facts .btn-outline:hover { background: var(--ink); color: var(--paper); }
.related { margin-top: 72px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1040px) {
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process::before, .process::after { display: none; }
  .co-grid { grid-template-columns: repeat(2, 1fr); }
  .fn-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .hero-inner, .split, .contact, .profile { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .facts { position: static; }
  .bridge { order: 2; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.06); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { height: 30px; }
  .hero { padding: 48px 0 32px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .process { grid-template-columns: 1fr; row-gap: 28px; }
  .cards, .industries, .co-grid, .products { grid-template-columns: 1fr; }
  .fn-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-row .chip { flex: none; }
  .enquiry { grid-template-columns: 1fr; padding: 22px; }
  .why-list > div { grid-template-columns: 1fr; gap: 4px; }
  .ticker { justify-content: flex-start; }
  .filters { top: 76px; position: static; }
  .result-count { margin-left: 0; width: 100%; }
  .legend-grid { grid-template-columns: 1fr; gap: 18px; }
  .label-gap { margin-left: 0; width: 100%; }
  .ptable thead { display: none; }
  .ptable, .ptable tbody, .ptable tr, .ptable td { display: block; }
  .ptable tr { padding: 14px 16px; border-top: 1px solid var(--line); }
  .ptable tr:first-child { border-top: 0; }
  .ptable td { border: 0; padding: 0; }
  .ptable td:nth-child(2) { margin: 6px 0 8px; }
  .ptable td:nth-child(3), .ptable td:nth-child(4), .ptable td:nth-child(5) { display: inline-block; margin: 0 6px 0 0; }
  .ptable tr[hidden] { display: none; }
  .callout { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Robot photography */
.hero-photo .photo-frame { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--dark-line); aspect-ratio: 3 / 2; background: #111; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, -1%); } }
.hero-photo .scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent); box-shadow: 0 0 18px rgba(255,255,255,.5); animation: scan 5.5s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes scan { 0% { top: 4%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 96%; opacity: 0; } }
.hero-photo .tag { position: absolute; font-size: .78rem; letter-spacing: .02em; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.72); color: #f2f2f2; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.hero-photo .tag-a { left: 14px; top: 14px; }
.hero-photo .tag-b { right: 14px; bottom: 14px; }
.card-img { display: block; width: calc(100% + 48px); max-width: none; margin: -28px -24px 20px; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1) contrast(1.05); border-bottom: 1px solid var(--line); transition: transform .5s var(--ease), filter .5s; }
.card:hover .card-img { transform: scale(1.04); filter: grayscale(1) contrast(1.15); }
@media (prefers-reduced-motion: reduce) { .hero-photo img, .hero-photo .scan { animation: none; } .hero-photo .scan { display: none; } }

/* Nav: Compare stands out */
.site-nav a.nav-compare { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; color: var(--ink); }
.site-nav a.nav-compare::after { display: none; }
.site-nav a.nav-compare:hover, .site-nav a.nav-compare[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* News ticker under the header */
.news-ticker { background: var(--ink); color: #e6e6e6; font-size: .85rem; border-bottom: 1px solid var(--dark-line); }
.ticker-inner { display: flex; align-items: center; gap: 16px; height: 40px; }
.ticker-label { flex: none; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--paper); text-decoration: none; padding: 4px 10px; border: 1px solid #555; border-radius: 999px; display: flex; align-items: center; gap: 8px; }
.ticker-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--paper); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.ticker-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker var(--ticker-dur, 60s) linear infinite; }
.ticker-track:hover, .ticker-track:focus-within { animation-play-state: paused; }
.ticker-run { display: flex; }
.ticker-run a { color: #e6e6e6; text-decoration: none; white-space: nowrap; padding: 0 28px; border-right: 1px solid #333; }
.ticker-run a:hover { color: #fff; text-decoration: underline; }
.ticker-run b { color: #9a9a9a; font-weight: 600; margin-right: 10px; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } .ticker-viewport { overflow-x: auto; } .ticker-label::before { animation: none; } }

/* News list */
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.news-item a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.news-item a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.07); border-color: #c8c8c8; }
.news-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; color: #6a6a6a; }
.news-meta b { color: var(--ink); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.news-title { font-weight: 700; font-size: 1.02rem; line-height: 1.35; flex: 1; }
.news-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.news-cats span { font-size: .72rem; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.news-status { grid-column: 1 / -1; color: var(--ink-2); padding: 24px 0; }
.news-more { margin-top: 28px; }

/* Compare: checkboxes */
.cmp { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink-2); cursor: pointer; user-select: none; }
.cmp input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; cursor: pointer; }
.cmp:hover { color: var(--ink); }
.products li .cmp { margin-top: 10px; }
.cmp-col { width: 44px; text-align: center; }
.cmp-list { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; font-size: .88rem; }
.cmp-list summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 8px; }
.cmp-list summary::-webkit-details-marker { display: none; }
.cmp-list summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 4px; font-size: .8rem; line-height: 1; }
.cmp-list[open] summary::before { content: "–"; }
.cmp-list ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.cmp-list .cmp span { font-weight: 500; }
.finder-item .links .cmp { margin-left: auto; }

/* Compare: tray */
.cmp-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: var(--paper); box-shadow: 0 -10px 30px rgba(0,0,0,.25); animation: tray-in .35s var(--ease); }
@keyframes tray-in { from { transform: translateY(100%); } }
.cmp-tray.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.cmp-tray-inner { display: flex; align-items: center; gap: 14px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.cmp-count { font-size: .9rem; color: #cfcfcf; }
.cmp-count b { color: var(--paper); }
.cmp-tray ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.cmp-tray li { display: flex; align-items: center; gap: 6px; border: 1px solid #444; border-radius: 999px; padding: 4px 6px 4px 12px; font-size: .82rem; max-width: 260px; }
.cmp-tray li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-tray li button { background: none; border: 0; color: #bbb; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.cmp-tray li button:hover { color: #fff; }
.cmp-clear { background: none; border: 0; color: #aaa; font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; }
.cmp-hint { font-size: .85rem; color: #aaa; }
body:has(.cmp-tray:not([hidden])) .site-footer { padding-bottom: 96px; }

/* Compare: page */
.cmp-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 28px; }
.cmp-pick label { font-weight: 700; }
.cmp-pick select { font: inherit; padding: 10px 14px; border: 1px solid #bbb; border-radius: 8px; background: var(--paper); min-width: min(100%, 340px); }
.cmp-browse { font-size: .92rem; }
.cmp-empty { color: var(--ink-2); padding: 18px 20px; border: 1px dashed #c8c8c8; border-radius: var(--radius); }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: calc(160px + var(--cols) * 200px); table-layout: fixed; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: .93rem; }
.cmp-table tbody th { width: 160px; color: var(--ink-2); font-weight: 600; background: var(--panel); }
.cmp-table thead th:first-child { width: 160px; background: var(--panel); }
.cmp-table thead th { vertical-align: bottom; }
.cmp-table thead b { display: block; font-size: 1.05rem; margin-top: 12px; }
.cmp-img { aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--panel); }
.cmp-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); display: block; }
.cmp-noimg { display: grid; place-items: center; height: 100%; font-size: .85rem; color: #777; }
.cmp-x { margin-top: 8px; background: none; border: 0; padding: 0; font: inherit; font-size: .82rem; color: #6a6a6a; text-decoration: underline; cursor: pointer; }
.cmp-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 640px) {
  .ticker-inner { height: 36px; gap: 10px; }
  .cmp-tray ul { display: none; }
  .cmp-tray-inner { justify-content: space-between; }
  .cmp-table th, .cmp-table td { padding: 10px 12px; }
  .cmp-table { min-width: calc(110px + var(--cols) * 160px); }
  .cmp-table tbody th, .cmp-table thead th:first-child { width: 110px; }
}
