:root {
  --bg: #121413;
  --surface: #1a1d1b;
  --raised: #222622;
  --ink: #eeeee6;
  --muted: #b0b5ac;
  --line: #353b34;
  --accent: #d4f77d;
  --accent-ink: #17210c;
  --blue: #94bdcc;
  --radius: 18px;
  --mono: "SFMono-Regular",Consolas,"Liberation Mono",monospace;
  --sans: Inter,"Segoe UI",Arial,sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,input,select,a {
  -webkit-tap-highlight-color: transparent;
}
button,input,select {
  font: inherit;
}
button,a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
button:disabled {
  cursor: wait;
  opacity: .7;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
svg {
  display: block;
}
button {
  color: inherit;
}
p,h1,h2,h3 {
  margin: 0;
}
.wrap {
  width: min(1280px,calc(100% - 104px));
  margin: auto;
}
.mono {
  font-family: var(--mono);
}
.muted {
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 14px;
  z-index: 99;
}
.skip:focus {
  top: 16px;
}
.preview {
  background: #d4f77d;
  color: #253116;
  text-align: center;
  padding: 9px 18px;
  font: 11px/1.5 var(--mono);
  letter-spacing: .05em;
}
.preview strong {
  font-weight: 700;
}
.preview span {
  opacity: .8;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 25px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.5px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  font: 17px var(--mono);
}
.nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
  color: var(--muted);
}
.nav a:hover {
  color: var(--accent);
}
.header-link {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 10px 15px;
  font-size: 12px;
}
.header-link:hover {
  border-color: var(--muted);
}
.hero {
  display: grid;
  align-items: center;
}
.eyebrow {
  font: 10px/1.5 var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px #d4f77d0d;
}
.hero h1 {
  font-weight: 540;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
}
.hero .intro {
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.btn {
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 7px;
  min-height: 46px;
  padding: 13px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 12px;
  font-weight: 650;
  transition: background .2s,transform .2s;
}
.btn:hover {
  background: #e1ff9a;
  transform: translateY(-1px);
}
.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn.secondary:hover {
  background: var(--raised);
}
.text-link {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.text-link:hover {
  color: var(--ink);
}
.hero-note {
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
}
.hero-note .tiny-line {
  width: 24px;
  height: 1px;
  background: var(--muted);
}
.system {
  position: relative;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.system>* {
  position: relative;
}
.practice-row { display: flex; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.practice-row > div { flex: 1; min-width: 0; }
.practice-row h2 { font-size: clamp(17px, 1.7vw, 21px); font-weight: 500; letter-spacing: -.025em; line-height: 1.3; }
.practice-row p { margin: 6px 0 9px; font-size: 12px; color: var(--muted); }
.practice-row code { font: 10px/1.6 var(--mono); color: var(--blue); }
.practice-row .practice-number { font: 20px var(--mono); color: #87988b; width: 52px; text-align: center; flex: none; }
.practice-row img { object-fit: cover; border-radius: 3px; flex: none; }
.practice-row > span:last-child { color: var(--muted); }
.practice-row:hover h2 { color: var(--blue); }
.system-caption { font-size: 10px; color: var(--muted); line-height: 1.6; padding: 15px 0 9px; }
.system-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  color: var(--muted);
  letter-spacing: .1em;
}


.system-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font: 9px/1.5 var(--mono);
  color: var(--muted);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.system-bottom strong {
  color: var(--ink);
  font-weight: 400;
}

@keyframes dash {
to{stroke-dashoffset:-240}
}
@keyframes pulse {
50%{opacity:.25}
}
.stack {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.stack-label {
  font: 9px/1.5 var(--mono);
  letter-spacing: .08em;
  color: var(--muted);
}
.stack-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font: 12px var(--mono);
  color: #d5d8cf;
}
.stack-items span:before {
  content: "+";
  color: #63705a;
  margin-right: 10px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}
.section-heading h2 {
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.15;
  margin-top: 12px;
}
.section-aside {
  font: 10px/1.6 var(--mono);
  color: var(--muted);
  text-align: right;
}
.project {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 9px var(--mono);
  letter-spacing: .1em;
  color: var(--muted);
}
.project-num {
  color: var(--accent);
}
.project h3 {
  letter-spacing: -.05em;
  font-weight: 550;
}
.project .subtitle {
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -.025em;
}
.project-description {
  color: var(--muted);
}
.tags {
  display: flex;
  flex-wrap: wrap;
}
.tag {
  font: 9px var(--mono);
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
}
.authorship {
  font: 9px/1.6 var(--mono);
  color: var(--muted);
  margin-top: auto;
}
.authorship span {
  color: var(--ink);
}
.project-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.project-links button {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  padding: 0 0 5px;
  line-height: 1.5;
}
.project-links button:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.project-links .quiet {
  border: 0;
  color: var(--muted);
  font-size: 11px;
}
.demo-panel {
  background: #191e19;
  border-left: 1px solid var(--line);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font: 9px/1.5 var(--mono);
  color: var(--muted);
}
.window-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-right: 10px;
}
.window-controls i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5a6652;
}
.panel-title {
  display: flex;
  align-items: center;
}
.demo-badge {
  color: var(--accent);
  border: 1px solid #d4f77d35;
  padding: 4px 7px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 8px;
  letter-spacing: .06em;
}
.rack-map {
  background: #111610;
  border: 1px solid #303a2b;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.rack-map:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#6473554d 1px,transparent 1px);
  background-size: 13px 13px;
}
.zone {
  position: absolute;
  top: 20px;
  bottom: 23px;
  width: 33%;
  border: 1px dashed #45533b;
  border-radius: 6px;
  padding: 12px;
  font: 8px var(--mono);
  color: #a0b093;
}
.zone-a {
  left: 15px;
}
.zone-b {
  right: 15px;
}
.zone-label {
  display: flex;
  justify-content: space-between;
  gap: 7px;
}
.zone-label b {
  font-weight: 400;
  color: #dcdfd4;
}
.machine {
  position: absolute;
  bottom: 14px;
  left: 12px;
  opacity: .55;
}
.machine svg {
  width: 55px;
  height: 38px;
}
.dock {
  position: absolute;
  bottom: 16px;
  right: 13px;
  opacity: .5;
  font: 8px var(--mono);
}
.dock:before {
  content: "";
  display: block;
  width: 45px;
  height: 27px;
  border: 1px solid #81936e;
  border-top-width: 4px;
  margin-bottom: 4px;
  background: repeating-linear-gradient(0deg,transparent 0 5px,#72846255 5px 6px);
}
.route {
  position: absolute;
  left: 34%;
  right: 34%;
  top: 90px;
  border-top: 1px dashed #566345;
}
.route:after {
  content: "→";
  position: absolute;
  right: -4px;
  top: -8px;
  color: var(--accent);
  font-size: 12px;
}
.rack {
  position: absolute;
  z-index: 3;
  left: 27%;
  top: 63px;
  width: 47px;
  height: 62px;
  transform: translateX(-50%);
  transition: left 1s cubic-bezier(.4,0,.2,1);
  color: var(--accent);
}
.rack.rack-b {
  left: 73%;
}
.rack svg {
  width: 47px;
  height: 49px;
  filter: drop-shadow(0 0 10px #c9fc6424);
}
.rack small {
  display: block;
  font: 7px var(--mono);
  white-space: nowrap;
  margin-top: 5px;
  text-align: center;
}
.antenna {
  position: absolute;
  z-index: 2;
  left: 40%;
  top: 38px;
  color: #596f45;
  transition: color .2s;
}
.antenna.a2 {
  left: auto;
  right: 40%;
  top: 127px;
}
.antenna.active {
  color: var(--accent);
}
.antenna svg {
  width: 17px;
  height: 17px;
}
.demo-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font: 9px/1.5 var(--mono);
  margin: 14px 0;
  color: var(--muted);
}
.demo-status strong {
  font-weight: 400;
  color: var(--accent);
}
.event-log {
  min-height: 35px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #303a2b;
  border-radius: 5px;
  background: #121710;
  font: 9px/1.5 var(--mono);
  color: #b7c5ab;
}
.event-log .event-dot {
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
}
.demo-actions .btn {
  min-height: 37px;
  padding: 9px 13px;
  font-size: 10px;
  gap: 14px;
}
.scenario {
  border: 0;
  background: none;
  padding: 7px 0;
  font: 9px var(--mono);
  color: var(--muted);
  text-align: left;
}
.scenario:hover {
  color: var(--accent);
}
.bio .project-num {
  color: var(--blue);
}
.bio .demo-panel {
  background: #1c2020;
}
.bio .demo-badge {
  color: var(--blue);
  border-color: #94bdcc40;
}
.bio-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 25px;
  flex: 1;
}
.label-form {
  display: grid;
  gap: 13px;
  min-width: 0;
}
.field {
  display: grid;
  gap: 6px;
  font: 9px var(--mono);
  color: var(--muted);
}
.field input, .field select {
  min-width: 0;
  width: 100%;
  height: 34px;
  border: 1px solid #414b45;
  background: #151a17;
  border-radius: 4px;
  padding: 7px 9px;
  color: var(--ink);
  font: 10px var(--mono);
}
.field input:focus, .field select:focus {
  border-color: var(--blue);
}
.form-note {
  font: 8px/1.6 var(--mono);
  color: var(--muted);
}
.paper-area {
  padding: 16px 10px;
  background: #131816;
  border: 1px solid #39433c;
  border-radius: 7px;
  position: relative;
  min-width: 0;
}
.paper-label {
  background: #f3f2e9;
  color: #1e251e;
  padding: 16px 12px;
  min-height: 145px;
  box-shadow: 3px 5px 0 #0003;
  transform: rotate(-3deg);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.paper-label:after {
  content: "";
  position: absolute;
  top: 0;
  right: 8px;
  width: 20px;
  height: 15px;
  background: #1b1e1610;
  clip-path: polygon(0 0,100% 0,100% 100%);
}
.label-brand {
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -.5px;
  border-bottom: 1px solid #bcbeb3;
  padding-bottom: 7px;
  display: flex;
  justify-content: space-between;
}
.label-brand span {
  font: 6px var(--mono);
  letter-spacing: .06em;
  align-self: center;
}
.label-name {
  font: 8px/1.5 var(--sans);
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.label-sku {
  font: 10px var(--mono);
  font-weight: 700;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.barcode {
  height: 23px;
  margin: 8px 0 5px;
  background: repeating-linear-gradient(90deg,#192017 0px 2px,transparent 2px 4px,#192017 4px 5px,transparent 5px 8px,#192017 8px 11px,transparent 11px 13px);
  max-width: 140px;
}
.label-epc {
  font: 6px/1.7 var(--mono);
  overflow-wrap: anywhere;
}
.paper-caption {
  font: 7px/1.5 var(--mono);
  color: var(--muted);
  margin-top: 18px;
  text-align: center;
}
.bio .btn {
  background: var(--blue);
  color: #162329;
}
.bio .btn:hover {
  background: #b3d6e3;
}
.bio .demo-actions {
  margin-top: 19px;
}
.bio details {
  margin-top: 15px;
  font: 9px/1.6 var(--mono);
  color: var(--muted);
}
summary {
  cursor: pointer;
  width: fit-content;
}
pre {
  margin: 10px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  background: #121713;
  border: 1px solid #39433c;
  border-radius: 4px;
  font: 9px/1.7 var(--mono);
  color: #c4d4ca;
}
.bio-message {
  font: 8px/1.5 var(--mono);
  color: var(--blue);
  text-align: right;
  max-width: 145px;
  min-height: 25px;
}
/* Printer: EPC de producto, TID de pieza y validación por sentido. */
.reader-demo {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 36px;
  border-top: 1px solid var(--line);
  background: #171c1a;
}
.rfid-flow h4 { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.rfid-flow p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.rfid-flow strong { color: var(--ink); font-weight: 500; }
.reader-identity { margin: 26px 0 16px; padding-left: 15px; border-left: 2px solid var(--blue); }
.reader-identity span { display: block; font-size: 11px; color: var(--muted); margin-bottom: 9px; }
.reader-identity code { color: var(--blue); font: 13px/1.6 var(--mono); overflow-wrap: anywhere; }
.rfid-flow .epc-rule { font-size: 12px; }
.reader-console { min-width: 0; }
.reader-outputs { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 23px; }
.reader-output-row { display: flex; align-items: center; gap: 26px; }
.reader-lights { display: flex; align-items: center; gap: 12px; }
.reader-light { width: 20px; height: 20px; border: 1px solid #5c6b60; border-radius: 50%; background: #2a332d; }
.reader-light.green.on { background: #b8ed78; border-color: #b8ed78; }
.reader-light.red.on { background: #f67c74; border-color: #f67c74; }
.reader-light.blue.on { background: #8bc9f0; border-color: #8bc9f0; }
.reader-light.red.alternate { animation: signal-red 1s steps(1,end) infinite; }
.reader-light.blue.alternate { animation: signal-blue 1s steps(1,end) infinite; }
.reader-buzzer-label { font-size: 12px; color: var(--muted); }
.reader-buzzer-label strong { font-weight: 400; display: inline-block; padding-left: 5px; }
.reader-outputs[data-buzzer="true"] .reader-buzzer-label strong { color: #f0b4a3; }
.reader-outputs p { margin-top: 13px; font-size: 12px; }
.reader-outputs .text-link { display: inline-block; margin-top: 16px; color: var(--muted); }

.reader-playback { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 16px; }
.reader-playback > div:first-child { flex: 1; }
.reader-playback span { font-size: 12px; font-weight: 600; }
.reader-playback p { font-size: 11px; color: var(--muted); line-height: 1.6; margin-top: 5px; min-height: 35px; }
.reader-player-buttons { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.reader-player-buttons button { border: 1px solid #48554d; border-radius: 4px; background: none; color: var(--ink); padding: 9px 11px; font: 11px var(--sans); }
.reader-demo[data-playback="playing"] .reader-playback span { color: var(--blue); }

.reader-toolbar, .reader-summary, .reader-actions, .reader-secondary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.reader-directions { display: flex; border-bottom: 1px solid var(--line); }
.reader-directions button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 18px; font-size: 13px; color: var(--muted); }
.reader-directions button[aria-pressed="true"] { color: var(--blue); border-bottom-color: var(--blue); }
.reader-scope { color: var(--muted); font: 10px var(--mono); }
.reader-summary { margin: 22px 0 10px; font-size: 12px; color: var(--muted); align-items: baseline; gap: 8px; }
.reader-summary strong { color: var(--ink); font: 24px var(--mono); letter-spacing: -.05em; margin-right: 5px; }
#reader-order-state { font-size: 11px; }
#reader-progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 0; background: #303a34; accent-color: var(--blue); }
#reader-progress::-webkit-progress-bar { background: #303a34; }
#reader-progress::-webkit-progress-value { background: var(--blue); transition: width .25s ease; }
#reader-progress::-moz-progress-bar { background: var(--blue); }
.reader-table-wrap { max-height: 215px; overflow: auto; margin: 18px 0; scrollbar-width: thin; }
.reader-table { width: 100%; border-collapse: collapse; font: 11px/1.6 var(--mono); text-align: left; }
.reader-table caption { text-align: left; color: var(--muted); padding-bottom: 10px; font: 12px var(--sans); }
.reader-table th { font: 10px var(--sans); color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.reader-table td { padding: 9px 10px; border-bottom: 1px solid #2a332d; color: var(--muted); }
.reader-table td:first-child { overflow-wrap: anywhere; }
.reader-table [data-state="read"] td { color: var(--blue); }
.reader-table [data-state="unexpected"] td { color: #f0b4a3; }
.reader-table .latest-read { background: #94bdcc0b; }
.reader-actions { justify-content: flex-start; margin-top: 18px; }
.reader-actions .btn { font-size: 12px; padding: 12px 16px; }
.reader-demo .text-link { font-size: 12px; }
.reader-demo button.text-link { background: none; border: 0; border-bottom: 1px solid #66766b; padding: 5px 0; color: var(--muted); }
.reader-demo button.text-link:hover { color: var(--ink); }
.reader-secondary { justify-content: flex-start; margin-top: 18px; column-gap: 22px; }
.reader-demo button:disabled { cursor: default; opacity: .45; }
.reader-status { font-size: 13px; line-height: 1.7; margin-top: 20px; min-height: 44px; color: var(--blue); }
.reader-note { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 14px; }
.reader-demo[data-state="complete"] .reader-status { color: var(--accent); }
.reader-demo[data-state="incomplete"] .reader-status, .reader-demo[data-state="incomplete_anomaly"] .reader-status { color: #f0b4a3; }
.reader-demo.is-reading .latest-read { animation: reader-scan .6s ease-out; }
@keyframes reader-scan { from { background: #94bdcc40; } to { background: #94bdcc0b; } }
.buzzer-state { margin-top: 18px; color: var(--muted); font: 11px/1.6 var(--mono); }
.buzzer-state span { display: inline-block; margin-right: 5px; }
.buzzer-state[data-active="true"] { color: #f0b4a3; }
.buzzer-state[data-active="true"] span { animation: buzzer-pulse 2s steps(1) infinite; }
@keyframes buzzer-pulse { 0%, 15% { opacity: 1; } 15.01%, 100% { opacity: .35; } }
@media (max-width: 760px) {
  .reader-demo { grid-template-columns: 1fr; padding: 26px 22px; gap: 28px; }
  .rfid-flow h4 { font-size: 26px; }
  .rfid-flow p { font-size: 13px; }
  .reader-identity { margin-top: 20px; }
  .reader-directions button { padding: 10px 15px; }
  .reader-playback { gap: 12px; }
  .reader-player-buttons { max-width: 100px; }
  .reader-summary strong { font-size: 22px; }
  .reader-table td { font-size: 10px; padding: 8px 3px; }
  .reader-table th { padding: 8px 3px; }
  .reader-secondary { gap: 16px; }
  .signal-registers { flex-wrap: wrap; }
}
.case-study {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding: 25px 35px;
  background: var(--surface);
}
.case-study[hidden] {
  display: none;
}
.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
}
.case-grid h4 {
  font: 9px var(--mono);
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.case-grid p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.bio .case-grid h4 {
  color: var(--blue);
}
.lab-intro {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.lab-intro .lab-icon {
  font: 21px var(--mono);
  color: var(--accent);
  margin-right: 18px;
}
.lab-intro>div {
  display: flex;
  align-items: center;
}
.lab-intro h3 {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
}
.lab-intro p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.lab-intro .lab-tag {
  font: 8px var(--mono);
  color: var(--muted);
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 4px;
}
.about {
  display: grid;
  grid-template-columns: .83fr 1.17fr;
  margin: 90px 0 0;
  border-top: 1px solid var(--line);
}
.about h2 {
  line-height: 1.2;
  letter-spacing: -.045em;
  font-weight: 500;
  margin-top: 14px;
}
.about-copy {
  color: var(--muted);
  line-height: 1.9;
}
.about-copy p+p {
  margin-top: 16px;
}
.about-copy strong {
  font-weight: 500;
  color: var(--ink);
}
.process {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  font: 9px var(--mono);
  margin-top: 22px;
  color: var(--ink);
}
.process i {
  font-style: normal;
  color: #647356;
}
.contact {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.contact .eyebrow {
  color: #526335;
}
.contact h2 {
  font-weight: 550;
  letter-spacing: -.045em;
  margin-top: 9px;
  line-height: 1.15;
}
.contact a {
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
  background: #17210c;
  color: #eff9da;
  padding: 15px 19px;
  border-radius: 6px;
}
.contact a:hover {
  background: #344025;
}
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 20px 0 30px;
  font: 9px/1.7 var(--mono);
  color: var(--muted);
}
.footer a:hover {
  color: var(--ink);
}
.footer span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer .status-dot {
  width: 4px;
  height: 4px;
  box-shadow: none;
}
@media (min-width:1450px) {

}
@media (max-width:1060px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .stack-items {
    gap: 18px;
  }
  .bio-workspace {
    gap: 12px;
  }
  .bio .project-description {
    font-size: 12px;
  }
  .nav {
    gap: 20px;
  }
  .about {
    gap: 40px;
  }
}
@media (max-width:800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .hero h1 {
    max-width: 650px;
  }
  .hero .intro {
    max-width: 560px;
  }
  .hero-note {
    margin-top: 23px;
  }
  .system {
    max-width: 650px;
    width: 100%;
  }
  .system-bottom {
    font-size: 8px;
  }
  .stack {
    align-items: flex-start;
  }
  .stack-items {
    justify-content: flex-end;
  }
  .stack-label {
    flex: none;
    font-size: 8px;
  }
  .projects {
    padding-top: 55px;
  }
  .project h3 {
    margin-top: 18px;
  }
  .demo-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .rack-map {
    height: 190px;
  }
  .bio-workspace {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 570px;
    width: 100%;
    align-self: center;
  }
  .paper-label {
    max-width: 240px;
    margin: auto;
  }
  .bio .demo-actions {
    margin-top: 25px;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .case-study {
    padding: 25px 28px;
  }
  .about {
    grid-template-columns: 1fr;
    padding-top: 35px;
  }
  .about h2 {
    font-size: 31px;
  }
  .contact {
    padding: 30px;
  }
  .lab-intro {
    padding: 20px;
  }
  .lab-intro .lab-tag {
    display: none;
  }
}
@media (max-width:480px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .preview {
    font-size: 8px;
    letter-spacing: .02em;
  }
  .preview span {
    display: none;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .header-link {
    display: none;
  }
  .nav {
    gap: 15px;
    font-size: 11px;
  }
  .nav .about-nav {
    display: none;
  }
  .hero {
    padding-top: 39px;
  }
  .hero h1 {
    font-size: 49px;
    letter-spacing: -.06em;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: .1em;
  }
  .hero .intro {
    font-size: 13px;
  }
  .actions {
    gap: 20px;
    margin-top: 26px;
  }
  .btn {
    font-size: 11px;
    padding: 12px 15px;
    gap: 20px;
  }
  .text-link {
    font-size: 10px;
    gap: 7px;
  }
  .hero-note {
    font-size: 8px;
  }
  .system {
    padding: 17px 16px 13px;
    border-radius: 12px;
  }
  .system-top {
    font-size: 8px;
  }

  .system-bottom {
    font-size: 7px;
  }
  .stack {
    display: block;
    padding: 17px 0;
  }
  .stack-label br {
    display: none;
  }
  .stack-items {
    justify-content: flex-start;
    margin-top: 12px;
    gap: 13px;
  }
  .stack-items span:before {
    margin-right: 5px;
  }
  .section-heading {
    margin-bottom: 25px;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .section-aside {
    font-size: 8px;
  }
  .project-copy {
    padding: 24px;
  }
  .project-meta {
    font-size: 8px;
  }
  .project h3 {
    font-size: 34px;
  }
  .project .subtitle {
    font-size: 20px;
  }
  .project-description {
    font-size: 12px;
  }
  .tag {
    font-size: 8px;
  }
  .demo-panel {
    padding: 18px;
  }
  .panel-heading {
    font-size: 8px;
    gap: 5px;
  }
  .demo-badge {
    font-size: 7px;
    padding: 3px 5px;
  }
  .rack-map {
    height: 180px;
  }
  .zone {
    padding: 9px;
    font-size: 7px;
  }
  .zone-label {
    flex-direction: column;
    gap: 5px;
  }
  .machine {
    left: 8px;
  }
  .machine svg {
    width: 43px;
  }
  .event-log {
    font-size: 8px;
    min-height: 45px;
  }
  .demo-status {
    font-size: 8px;
  }
  .demo-actions {
    gap: 10px;
  }
  .demo-actions .btn {
    font-size: 9px;
    padding: 9px 11px;
    gap: 8px;
  }
  .scenario {
    font-size: 8px;
  }
  .bio-workspace {
    gap: 12px;
    grid-template-columns: .95fr 1.05fr;
  }
  .paper-area {
    padding: 12px 7px;
  }
  .paper-label {
    padding: 13px 9px;
  }
  .label-brand {
    font-size: 11px;
  }
  .label-brand span {
    font-size: 5px;
  }
  .label-name {
    font-size: 7px;
  }
  .label-epc {
    font-size: 5.5px;
  }
  .field input, .field select {
    font-size: 9px;
  }
  .label-form {
    gap: 10px;
  }
  .paper-caption {
    font-size: 6px;
  }
  .form-note {
    font-size: 7px;
  }
  .bio-message {
    font-size: 7px;
    max-width: 110px;
  }
  .lab-intro {
    padding: 18px 15px;
  }
  .lab-intro .lab-icon {
    font-size: 17px;
    margin-right: 13px;
  }
  .lab-intro p {
    font-size: 10px;
  }
  .lab-intro h3 {
    font-size: 12px;
  }
  .about-copy {
    font-size: 13px;
  }
  .contact {
    display: block;
    padding: 26px;
  }
  .contact a {
    display: inline-block;
    margin-top: 24px;
  }
  .footer {
    align-items: flex-start;
    font-size: 8px;
  }
  .footer>span {
    max-width: 190px;
  }
}
@media (prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.header {
  height: 76px;
}
.hero {
  padding: 36px 0 32px;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}
.hero h1 {
  font-size: clamp(44px,4.6vw,66px);
  margin: 17px 0 19px;
  line-height: 1.03;
  letter-spacing: -.06em;
}
.hero .intro {
  font-size: 14px;
  max-width: 465px;
  line-height: 1.75;
}
.hero .actions {
  margin-top: 24px;
}
.hero-note {
  font-size: 9px;
  max-width: 440px;
  line-height: 1.8;
  margin-top: 21px;
}
.system {
  padding: 20px 23px 7px;
}

.stack {
  padding: 17px 0;
}
.stack-label {
  font-size: 8px;
}
.stack-items {
  font-size: 11px;
  gap: 26px;
}
.projects {
  padding-top: 43px;
}
.section-heading {
  margin-bottom: 25px;
}
.section-heading h2 {
  font-size: clamp(26px,2.7vw,35px);
}
.section-aside {
  font-size: 9px;
}
.project {
  grid-template-columns: .87fr 1.13fr;
  margin-bottom: 20px;
}
.project-copy {
  padding: 28px;
}
.project h3 {
  font-size: 37px;
  margin-top: 18px;
}
.project .subtitle {
  font-size: 20px;
  margin-top: 9px;
}
.project-description {
  font-size: 12px;
  margin-top: 14px;
  line-height: 1.75;
  max-width: 410px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 17px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  color: var(--muted);
  font: 9px/1.5 var(--mono);
}
.feature-list li {
  position: relative;
  padding-left: 10px;
}
.feature-list li:before {
  content: "+";
  color: var(--accent);
  position: absolute;
  left: 0;
}
.bio .feature-list li:before {
  color: var(--blue);
}
.tags {
  margin-top: 17px;
  gap: 6px;
}
.tag {
  font-size: 8px;
}
.authorship {
  padding-top: 22px;
  font-size: 9px;
}
.project-links {
  margin-top: 14px;
}
.project-links button {
  font-size: 11px;
}
.project-links .text-link {
  font-size: 10px;
}
.demo-panel {
  justify-content: center;
  padding: 22px;
}
.panel-heading {
  font-size: 9px;
}
.rack-map {
  margin-top: 20px;
  height: 190px;
}
.lab-intro {
  margin-top: 20px;
  padding: 18px 23px;
}
.about {
  margin-top: 49px;
  padding: 32px 0 38px;
  gap: 50px;
}
.about-copy {
  font-size: 13px;
}
.about h2 {
  font-size: 31px;
}
.contact {
  padding: 30px 35px;
  margin-bottom: 23px;
}
.contact h2 {
  font-size: 31px;
}
.footer {
  padding-bottom: 24px;
}
.control .project-num {
  color: #e6b886;
}
.control .project-copy h3 {
  font-size: 34px;
}
.control .demo-panel {
  background: #201e1a;
}
.control .demo-badge {
  color: #e6b886;
  border-color: #e6b88645;
}
.control .feature-list li:before {
  color: #e6b886;
}
.control-screen {
  border: 1px solid #4a4135;
  background: radial-gradient(ellipse at 70% 35%,#e6b88608,transparent 70%),#161612;
  border-radius: 8px;
  margin: 20px 0 13px;
  padding: 20px 14px 13px;
}
.control-diagram {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 27px;
  min-height: 155px;
  padding: 8px;
}
.device-label {
  font: 7px var(--mono);
  letter-spacing: .08em;
  color: #b8ae9c;
  display: block;
  margin-bottom: 12px;
}
.terminal-app {
  position: relative;
  flex: 1;
  max-width: 135px;
  min-width: 0;
  font: 8px/1.8 var(--mono);
  padding: 13px 11px;
  border: 1px solid #635641;
  border-radius: 4px;
  background: #1b1a14;
}
.terminal-line {
  display: block;
  color: #b5a992;
}
.terminal-app strong {
  font: 8px/1.8 var(--mono);
  color: #e6b886;
  display: block;
  overflow-wrap: anywhere;
  margin: 4px 0;
}
.signal-wire {
  position: absolute;
  top: 55%;
  left: 100%;
  width: 28px;
  border-top: 1px dashed #907955;
}
.signal-wire:after {
  content: "›";
  position: absolute;
  right: -3px;
  top: -10px;
  color: #e6b886;
  font-size: 15px;
}
.controller {
  position: relative;
  flex: none;
  width: 83px;
  min-height: 130px;
  border: 1px solid #78684d;
  border-radius: 4px;
  padding: 12px;
  background: repeating-linear-gradient(90deg,#363126 0 4px,#2e2b22 4px 7px);
  text-align: center;
}
.controller .device-label {
  font-size: 7px;
  position: absolute;
  left: 0;
  right: 0;
  top: -19px;
}
.controller-pins {
  display: flex;
  gap: 3px;
  justify-content: space-between;
}
.controller-pins i {
  width: 5px;
  height: 7px;
  background: #baa77d;
  border-radius: 1px;
}
.controller-pins.bottom {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
}
.controller-name {
  display: block;
  font: 8px/2 var(--mono);
  color: #e7d7bc;
  padding-top: 10px;
}
.signal-tower {
  width: 61px;
  text-align: center;
  flex: none;
}
.signal-tower .device-label {
  font-size: 7px;
  margin-bottom: 8px;
}
.tower-shell {
  width: 35px;
  padding: 4px;
  margin: auto;
  background: #252923;
  border: 1px solid #4a5044;
  border-radius: 8px 8px 4px 4px;
}
.signal-light {
  height: 24px;
  margin-bottom: 3px;
  border-radius: 3px;
  border: 1px solid #ffffff18;
  background: #293128;
  opacity: .4;
}
.signal-light:last-child {
  margin-bottom: 0;
}
.signal-light.green.on {
  background: #b8ed78;
  opacity: 1;
  box-shadow: 0 0 17px #b8ed7835;
}
.signal-light.red.on {
  background: #f67c74;
  opacity: 1;
  box-shadow: 0 0 17px #f67c7435;
}
.signal-light.blue.on {
  background: #8bc9f0;
  opacity: 1;
  box-shadow: 0 0 17px #8bc9f035;
}
.tower-stem {
  height: 12px;
  width: 6px;
  background: #737969;
  margin: auto;
}
.tower-base {
  height: 4px;
  width: 36px;
  background: #737969;
  margin: auto;
  border-radius: 2px;
}
.diagram-caption {
  font: 6.5px/1.5 var(--mono);
  color: #a59b89;
  text-align: center;
  margin-top: 10px;
}
.signal-scenarios {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.signal-scenarios legend {
  font: 9px var(--mono);
  color: var(--muted);
  margin-bottom: 11px;
}
.signal-scenarios button {
  background: #28251f;
  border: 1px solid #514637;
  border-radius: 4px;
  padding: 7px 9px;
  font: 9px var(--mono);
  color: #c5b8a3;
}
.signal-scenarios button[aria-pressed=true] {
  background: #e6b886;
  color: #2b2117;
  border-color: #e6b886;
}
.control-status {
  min-height: 33px;
  margin: 13px 0 0;
  font: 9px/1.7 var(--mono);
  color: #e6cba9;
}
.signal-registers {
  border-top: 1px solid #4a4135;
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding-top: 11px;
  font: 7px var(--mono);
  color: #ad9f8a;
}
.signal-registers b {
  font-weight: 400;
  color: #efddbe;
  margin-left: 5px;
}
.signal-light.red.alternate {
  animation: signal-red 1s steps(1,end) infinite;
}
.signal-light.blue.alternate {
  animation: signal-blue 1s steps(1,end) infinite;
}
@keyframes signal-red {
0%,100%{background:#f67c74;opacity:1;box-shadow:0 0 14px #f67c7435}50%{background:#293128;opacity:.4;box-shadow:none}
}
@keyframes signal-blue {
0%,100%{background:#293128;opacity:.4;box-shadow:none}50%{background:#8bc9f0;opacity:1;box-shadow:0 0 14px #8bc9f035}
}
.demo-process {
  --process-color: var(--accent);
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 13px 0 0;
  font: 8px/1.5 var(--mono);
}
.demo-process li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 4px;
  border-top: 1px solid #52604866;
  color: var(--muted);
  border-radius: 2px;
  overflow-wrap: anywhere;
}
.process-number {
  flex: none;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 1px solid #63715a77;
  border-radius: 50%;
  font-size: 7px;
  line-height: 1;
}
.demo-process li[data-state="current"],
.demo-process li[data-state="done"] {
  border-top-color: var(--process-color);
  color: var(--process-color);
}
.demo-process li[data-state="current"] .process-number,
.demo-process li[data-state="done"] .process-number {
  border-color: var(--process-color);
  background: #ffffff08;
}
.demo-process li[data-state="current"] {
  background: #ffffff05;
}
.demo-process li[data-state="warning"] {
  border-color: #e6b886;
  color: #e6b886;
}
.demo-process li[data-state="warning"] .process-number {
  border-color: currentColor;
}
.rack-phase {
  position: absolute;
  top: 7px;
  left: 15px;
  right: 15px;
  color: #b6c8a3;
  font: 6px/1.4 var(--mono);
  letter-spacing: .07em;
}
.rack-readouts {
  position: absolute;
  bottom: 7px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #a1b18e;
  font: 6px/1.4 var(--mono);
}
.rack-readouts span {
  white-space: nowrap;
}
.rack-readouts span:last-child {
  color: var(--accent);
}
.antenna-code {
  display: block;
  position: absolute;
  top: 18px;
  left: 3px;
  font: 6px var(--mono);
}
.rfid-wave {
  position: absolute;
  z-index: -1;
  left: -9px;
  top: -9px;
  width: 35px;
  height: 35px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
}
.antenna.active .rfid-wave {
  animation: rfid-read 1s ease-out infinite;
}
.antenna.active .rfid-wave + .rfid-wave {
  animation-delay: .5s;
}
.rack-map[data-direction="return"] .route {
  transform: rotate(180deg);
}
.route:before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.route-packet {
  position: absolute;
  top: -3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e1ffad;
  box-shadow: 0 0 10px var(--accent);
  opacity: 0;
}
.rack-map[data-phase="moving"] .route:before {
  animation: rack-route-confirm 1s ease-out both;
}
.rack-map[data-phase="moving"] .route-packet {
  animation: signal-transmit 1s cubic-bezier(.4,0,.2,1) both;
}
.rack-map[data-location="injection"] .zone-a,
.rack-map[data-location="shipping"] .zone-b {
  border-color: #8baf5b;
  background: #b7ed7406;
}
.rack-map[data-phase="warning"] .rack-phase {
  color: #e6b886;
}
.bio .demo-process {
  --process-color: var(--blue);
}
.bio-printer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #526361;
  border-radius: 4px;
  padding: 7px 4px;
  margin-bottom: 15px;
  background: linear-gradient(#2c3837,#202b29);
  color: #b2c9cb;
  font: 6px/1.4 var(--mono);
  letter-spacing: .03em;
}
.bio-printer:after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -5px;
  height: 3px;
  border-radius: 2px;
  background: #070c0a;
  box-shadow: 0 1px #607471;
}
.bio-printer i {
  width: 4px;
  height: 4px;
  flex: none;
  border-radius: 50%;
  background: var(--blue);
}
.print-head {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #507d8c;
  box-shadow: 0 0 8px #507d8c99;
  opacity: 0;
  pointer-events: none;
}
.is-printing .paper-label {
  animation: bio-paper-feed 1.35s cubic-bezier(.2,.7,.3,1) both;
}
.is-printing .print-head {
  animation: bio-print-head 1s .18s ease-in-out both;
}
.is-printing .barcode {
  animation: bio-ink .9s .2s ease-out both;
}
.is-printing .bio-printer i {
  animation: bio-printer-led 1.35s linear both;
}
.control-screen[data-signal="complete"] {
  --signal-color: #b8ed78;
}
.control-screen[data-signal="incomplete"],
.control-screen[data-signal="incomplete_anomaly"] {
  --signal-color: #f67c74;
}
.control-screen[data-signal="anomaly"] {
  --signal-color: #8bc9f0;
}
.control-screen[data-signal="processing"],
.control-screen[data-signal="off"] {
  --signal-color: #e6b886;
}
.control .demo-process {
  --process-color: var(--signal-color,#e6b886);
  font-size: 7px;
  margin: 9px 0 0;
}
.signal-packet {
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--signal-color);
  box-shadow: 0 0 8px var(--signal-color);
  opacity: 0;
}
.control-screen[data-signal="incomplete_anomaly"] .signal-packet {
  background: linear-gradient(90deg,#f67c74 50%,#8bc9f0 50%);
}
.is-propagating .terminal-app .signal-packet {
  animation: signal-transmit .3s .08s linear both;
}
.is-propagating .controller .signal-packet {
  animation: signal-transmit .3s .4s linear both;
}
.is-propagating .terminal-app {
  animation: signal-node .3s ease-out both;
}
.is-propagating .controller {
  animation: signal-node .4s .25s ease-out both;
}
.is-propagating .tower-shell {
  animation: signal-node .5s .65s ease-out both;
}
.is-printing .demo-process li,
.is-propagating .demo-process li {
  animation: process-emphasis .45s ease-out both;
}
.is-printing .demo-process li:nth-child(2),
.is-propagating .demo-process li:nth-child(2) {
  animation-delay: .3s;
}
.is-printing .demo-process li:nth-child(3),
.is-propagating .demo-process li:nth-child(3) {
  animation-delay: .65s;
}
@keyframes rfid-read {
  0% {transform:scale(.35);opacity:.65}
  100% {transform:scale(1.5);opacity:0}
}
@keyframes rack-route-confirm {
  0% {transform:scaleX(0);opacity:.9}
  80% {transform:scaleX(1);opacity:.9}
  100% {transform:scaleX(1);opacity:.3}
}
@keyframes signal-transmit {
  0% {left:0;opacity:0}
  15% {opacity:1}
  85% {opacity:1}
  100% {left:calc(100% - 4px);opacity:0}
}
@keyframes bio-paper-feed {
  0%,20% {transform:translateY(-7px) rotate(0)}
  75% {transform:translateY(4px) rotate(0)}
  100% {transform:rotate(-3deg)}
}
@keyframes bio-print-head {
  0% {top:12%;opacity:0}
  10% {opacity:1}
  85% {opacity:1}
  100% {top:95%;opacity:0}
}
@keyframes bio-ink {
  0% {opacity:.45}
  100% {opacity:1}
}
@keyframes bio-printer-led {
  0%,35%,70%,100% {opacity:1}
  20%,55% {opacity:.35}
}
@keyframes signal-node {
  0%,100% {box-shadow:0 0 0 0 transparent}
  45% {box-shadow:0 0 0 1px var(--signal-color),0 0 16px #ffffff10}
}
@keyframes process-emphasis {
  0%,100% {background:transparent}
  40% {background:#ffffff0b}
}
.engineering {
  padding-top: 47px;
}
.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.engineering-item {
  padding: 24px;
  border-right: 1px solid var(--line);
  background: var(--surface);
}
.engineering-item:last-child {
  border-right: 0;
}
.engineering-item:hover {
  background: #22271f;
}
.engineering-number {
  font: 10px var(--mono);
  color: var(--accent);
}
.engineering-item h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -.02em;
  margin-top: 17px;
  line-height: 1.4;
}
.engineering-item p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 10px;
}
.engineering-source {
  font: 8px var(--mono);
  color: var(--muted);
  display: block;
  margin-top: 20px;
}
.contributions {
  padding-top: 45px;
}
.contribution-row {
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 27px;
  background: var(--surface);
}
.contribution-row:hover {
  border-color: #758463;
}
.android-mark {
  flex: none;
  width: 76px;
  height: 84px;
  display: grid;
  place-items: center;
  font: 22px var(--mono);
  color: #c2cbae;
  background: #292e22;
  border: 1px solid #464c39;
  border-radius: 8px;
}
.contribution-body {
  flex: 1;
}
.contribution-body .project-meta {
  font-size: 8px;
}
.contribution-body h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.4;
  margin-top: 9px;
}
.contribution-body>p:last-of-type {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 8px;
  max-width: 650px;
}
.contribution-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  font: 8px var(--mono);
  color: #b7c29f;
}
.commit-link {
  font-size: 10px;
  line-height: 1.9;
  text-align: right;
  color: var(--muted);
  flex: none;
}
.commit-link .mono {
  font-size: 9px;
  color: var(--accent);
}
@media (min-width:1450px) {
  .hero {
    padding-top: 43px;
    padding-bottom: 34px;
  }
  .hero h1 {
    font-size: 70px;
  }
}
@media (max-width:1060px) {
  .hero {
    gap: 25px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .hero-note {
    font-size: 8px;
  }
  .system {
    padding: 18px 18px 4px;
  }

  .project-copy {
    padding: 24px;
  }
  .demo-panel {
    padding: 20px;
  }
  .project h3 {
    font-size: 34px;
  }
  .project .subtitle {
    font-size: 19px;
  }
  .feature-list {
    font-size: 8px;
    gap: 9px 11px;
  }
  .control-diagram {
    gap: 20px;
    padding: 3px;
  }
  .controller {
    width: 70px;
    padding: 10px;
  }
  .controller-pins.bottom {
    left: 10px;
    right: 10px;
  }
  .signal-wire {
    width: 21px;
  }
  .terminal-app {
    padding: 11px 8px;
  }
  .terminal-app strong {
    font-size: 7px;
  }
  .signal-registers {
    gap: 6px;
    font-size: 6px;
  }
  .engineering-item {
    padding: 20px;
  }
  .contribution-body h3 {
    font-size: 16px;
  }
}
@media (max-width:800px) {
  .header {
    height: 70px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 32px 0;
  }
  .hero h1 {
    font-size: 42px;
  }
  .hero .intro {
    font-size: 12px;
  }
  .hero .actions {
    gap: 15px;
  }
  .hero .actions .btn {
    font-size: 10px;
    gap: 12px;
    padding: 12px;
  }
  .hero .text-link {
    font-size: 9px;
  }
  .hero-note {
    font-size: 7px;
  }
  .system {
    padding: 16px 14px 3px;
  }
  .system-top {
    font-size: 7px;
    gap: 8px;
  }


  .stack-items {
    font-size: 10px;
    gap: 13px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .project {
    grid-template-columns: 1fr;
  }
  .project-copy {
    padding: 26px;
  }
  .project-description {
    max-width: 600px;
    font-size: 13px;
  }
  .feature-list {
    max-width: 500px;
    gap: 10px 22px;
    font-size: 10px;
  }
  .authorship {
    padding-top: 21px;
  }
  .demo-panel {
    padding: 23px;
  }
  .project h3 {
    font-size: 36px;
  }
  .project .subtitle {
    font-size: 22px;
  }
  .control-diagram {
    gap: 40px;
    justify-content: center;
    min-height: 180px;
  }
  .controller {
    width: 94px;
    min-height: 150px;
    padding: 14px;
  }
  .controller-name {
    font-size: 9px;
    padding-top: 13px;
  }
  .controller-pins.bottom {
    left: 14px;
    right: 14px;
  }
  .signal-wire {
    width: 41px;
  }
  .terminal-app {
    padding: 15px 13px;
    width: 140px;
    flex: none;
  }
  .terminal-app strong {
    font-size: 8px;
  }
  .signal-registers {
    font-size: 8px;
    gap: 12px;
  }
  .diagram-caption {
    font-size: 8px;
  }
  .signal-scenarios button {
    font-size: 10px;
    padding: 9px 12px;
  }
  .control-status {
    font-size: 10px;
  }
  .about {
    gap: 25px;
    margin-top: 35px;
  }
  .engineering-grid {
    grid-template-columns: 1fr;
  }
  .engineering-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }
  .engineering-item:last-child {
    border-bottom: 0;
  }
  .engineering-item h3 {
    margin-top: 10px;
    font-size: 17px;
  }
  .engineering-item p {
    max-width: 600px;
  }
  .engineering-source {
    margin-top: 12px;
    font-size: 9px;
  }
  .contribution-row {
    padding: 22px;
    gap: 18px;
  }
  .android-mark {
    width: 56px;
    height: 69px;
    font-size: 18px;
  }
  .commit-link {
    display: none;
  }
}
@media (max-width:600px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(42px,9vw,54px);
    max-width: 550px;
  }
  .hero .intro {
    font-size: 13px;
    max-width: 520px;
  }
  .hero .actions .btn {
    font-size: 11px;
    padding: 12px 15px;
    gap: 20px;
  }
  .hero .text-link {
    font-size: 10px;
  }
  .hero-note {
    font-size: 8px;
    max-width: 450px;
  }
  .system {
    padding: 17px 18px 2px;
  }

  .system-top {
    font-size: 8px;
    padding-bottom: 14px;
  }


  .stack {
    padding: 16px 0;
  }
  .projects {
    padding-top: 32px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 14px;
  }
  .section-heading h2 {
    font-size: 27px;
    max-width: 270px;
  }
  .section-aside {
    font-size: 7px;
    max-width: 110px;
    padding-top: 3px;
  }
  .feature-list {
    font-size: 9px;
    gap: 10px 14px;
  }
  .control .project-copy h3 {
    font-size: 32px;
  }
  .control-diagram {
    gap: 23px;
    padding: 3px;
    min-height: 157px;
  }
  .controller {
    width: 72px;
    min-height: 129px;
    padding: 10px;
  }
  .controller-name {
    font-size: 8px;
    padding-top: 10px;
  }
  .controller-pins.bottom {
    left: 10px;
    right: 10px;
  }
  .terminal-app {
    flex: 1;
    width: auto;
    padding: 11px 8px;
    max-width: 120px;
  }
  .terminal-app strong {
    font-size: 7px;
  }
  .terminal-line {
    font-size: 7px;
  }
  .signal-wire {
    width: 24px;
  }
  .device-label {
    font-size: 6px;
  }
  .control-screen {
    padding: 17px 8px 12px;
  }
  .diagram-caption {
    font-size: 6px;
  }
  .signal-registers {
    font-size: 6.5px;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .signal-registers span:last-child {
    margin-left: auto;
  }
  .signal-scenarios button {
    font-size: 9px;
    padding: 8px 9px;
  }
  .signal-scenarios legend {
    font-size: 9px;
  }
  .control-status {
    font-size: 9px;
    min-height: 35px;
  }
  .engineering {
    padding-top: 33px;
  }
  .contributions {
    padding-top: 33px;
  }
  .contribution-row {
    padding: 20px;
    gap: 13px;
    align-items: flex-start;
  }
  .android-mark {
    width: 36px;
    height: 40px;
    border-radius: 5px;
    font-size: 12px;
  }
  .contribution-body h3 {
    font-size: 16px;
  }
  .contribution-body .project-meta {
    font-size: 7px;
    line-height: 1.8;
  }
  .contribution-body>p:last-of-type {
    font-size: 12px;
  }
  .contribution-tags {
    font-size: 8px;
    gap: 9px;
  }
  .about h2 {
    font-size: 29px;
  }
  .about-copy {
    font-size: 13px;
  }
  .contact h2 {
    font-size: 27px;
  }
  .contact {
    padding: 26px;
  }
  .hero-note .tiny-line {
    flex: none;
  }
  .panel-heading {
    font-size: 8px;
  }
  .lab-intro p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion:reduce) {
  .signal-light.red.alternate, .reader-light.red.alternate {
    background: #f67c74;
    opacity: 1;
  }
  .signal-light.blue.alternate, .reader-light.blue.alternate {
    background: #8bc9f0;
    opacity: 1;
  }
}

/* Contacto directo y evidencia pública de proyectos privados. */
.contact-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}
.contact .contact-secondary{background:transparent;color:inherit;padding:4px 0;font-weight:500;white-space:normal}
.contact .contact-secondary:hover{text-decoration:underline}
.case-evidence{margin:20px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:13px;line-height:1.8;color:var(--muted)}
.hero h1{font-size:clamp(30px,3.6vw,55px);overflow-wrap:break-word}
@media(max-width:760px){.hero h1{font-size:clamp(28px,7.5vw,42px)}.contact-links{max-width:100%}.contact-links a{white-space:normal;overflow-wrap:anywhere}}
