:root {
  color-scheme: dark;
  --void: #060012;
  --chamber: #0B0716;
  --signal-violet: #6D5BFF;
  --electric-cyan: #00D4FF;
  --bio-green: #16F2B3;
  --ion-white: #F4F7FF;
  --muted-signal: #8D98B4;
  --header-height: 5.25rem;
  --page-gutter: clamp(1.25rem, 3.8vw, 4.5rem);
  --copy-gutter: clamp(1.5rem, 8.2vw, 8.5rem);
  --tech-progress: 0;
  font-family: "Avenir Next", Avenir, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--void);
  color: var(--ion-white);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  overflow-x: clip;
  background: var(--void);
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(109, 91, 255, 0.055), transparent 34%),
    var(--void);
  color: var(--ion-white);
}

button,
a {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
.tech-relation li:focus-visible,
.tech-questions li:focus-visible,
.tech-stage:focus-visible,
.tech-application:focus-visible {
  outline: 2px solid var(--electric-cyan);
  outline-offset: 5px;
}

.tech-story {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(6, 0, 18, 0.96) 0%, rgba(6, 0, 18, 0.82) 40%, rgba(6, 0, 18, 0.1) 69%, rgba(6, 0, 18, 0.42) 100%),
    repeating-linear-gradient(90deg, rgba(244, 247, 255, 0.017) 0 1px, transparent 1px 8vw);
}

.tech-signal-canvas,
.tech-signal-fallback {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tech-signal-canvas {
  visibility: hidden;
  opacity: 0;
}

.tech-signal-fallback {
  visibility: visible;
  opacity: 0.62;
  transform: translateX(17vw) scale(1.12);
  transform-origin: 70% 50%;
}

.tech-signal-fallback path {
  vector-effect: non-scaling-stroke;
}

.tech-signal-fallback [data-fallback-state] {
  visibility: hidden;
  opacity: 0;
  transition: opacity 360ms ease, visibility 0s linear 360ms;
}

html:not([data-tech-section]) .tech-signal-fallback [data-fallback-state="free-field"],
html[data-tech-section="0"] .tech-signal-fallback [data-fallback-state="free-field"] {
  visibility: visible;
  opacity: 0.72;
  transition-delay: 0s;
}

html[data-tech-section="1"] .tech-signal-fallback [data-fallback-state="capture-ring"] {
  visibility: visible;
  opacity: 0.76;
  transition-delay: 0s;
}

html[data-tech-section="2"] .tech-signal-fallback [data-fallback-state="dual-dimension"] {
  visibility: visible;
  opacity: 0.74;
  transition-delay: 0s;
}

html[data-tech-section="3"] .tech-signal-fallback [data-fallback-state="decode-channel"] {
  visibility: visible;
  opacity: 0.8;
  transition-delay: 0s;
}

html[data-tech-section="4"] .tech-signal-fallback [data-fallback-state="application-constellation"] {
  visibility: visible;
  opacity: 0.82;
  transition-delay: 0s;
}

.canvas-ready .tech-signal-fallback {
  visibility: hidden;
  opacity: 0;
}

.canvas-ready .tech-signal-canvas {
  visibility: visible;
  opacity: 1;
}

.canvas-fallback .tech-signal-canvas {
  visibility: hidden;
  opacity: 0;
}

.canvas-fallback .tech-signal-fallback {
  visibility: visible;
  opacity: 0.62;
}

.tech-chapter {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100svh;
  height: 100svh;
  overflow: clip;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: calc(var(--header-height) + 4rem) var(--page-gutter) 6rem var(--copy-gutter);
}

.tech-chapter::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 14%;
  bottom: 14%;
  left: 0;
  width: min(64rem, 58vw);
  background: linear-gradient(90deg, rgba(6, 0, 18, 0.74), rgba(6, 0, 18, 0));
  pointer-events: none;
}

.tech-chapter::after {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.72;
  pointer-events: none;
}

.tech-copy {
  width: min(45rem, 48vw);
  opacity: 0.08;
  transform: translate3d(0, 2.5rem, 0);
  filter: blur(0.3rem);
  transition:
    opacity 340ms ease,
    filter 560ms ease,
    transform 760ms cubic-bezier(0.2, 0.72, 0.2, 1);
}

.tech-chapter[data-active] .tech-copy,
.tech-chapter:focus-within .tech-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: none;
}

html[data-direction="down"] .tech-chapter:not([data-active]) .tech-copy {
  opacity: 0;
  transform: translate3d(0, -3rem, 0);
}

html[data-direction="up"] .tech-chapter:not([data-active]) .tech-copy {
  opacity: 0;
  transform: translate3d(0, 3rem, 0);
}

html[data-direction="down"] .tech-chapter[data-active] .tech-copy {
  animation: tech-scene-enter-up 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

html[data-direction="up"] .tech-chapter[data-active] .tech-copy {
  animation: tech-scene-enter-down 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tech-chapter[data-active]::before {
  animation: tech-field-scan 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#tech-semg[data-active] .tech-eyebrow {
  animation: tech-layer-arrive 720ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#tech-semg[data-active] .tech-title > span:first-child {
  animation: tech-title-arrive 900ms 340ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#tech-semg[data-active] .tech-title > span:last-child {
  animation: tech-title-arrive 920ms 560ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#tech-semg[data-active] .tech-paragraphs {
  animation: tech-layer-arrive 720ms 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#tech-semg[data-active] .tech-emphasis {
  animation: tech-layer-arrive 720ms 920ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#tech-semg[data-active] .tech-relation {
  animation: tech-layer-arrive 720ms 980ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tech-chapter:not(#tech-semg)[data-active] .tech-eyebrow {
  animation: tech-layer-arrive 640ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tech-chapter:not(#tech-semg)[data-active] .tech-title {
  animation: tech-title-arrive 820ms 240ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tech-chapter:not(#tech-semg)[data-active] .tech-paragraphs,
.tech-chapter:not(#tech-semg)[data-active] .tech-emphasis,
.tech-chapter:not(#tech-semg)[data-active] .tech-closing {
  animation: tech-layer-arrive 700ms 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.tech-chapter:not(#tech-semg)[data-active] .tech-relation,
.tech-chapter:not(#tech-semg)[data-active] .tech-questions,
.tech-chapter:not(#tech-semg)[data-active] .tech-stages,
.tech-chapter:not(#tech-semg)[data-active] .tech-applications {
  animation: tech-layer-arrive 760ms 660ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tech-title-arrive {
  from {
    opacity: 0;
    transform: translate3d(-0.35rem, 2.6rem, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes tech-layer-arrive {
  from {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tech-scene-enter-up {
  from {
    opacity: 0;
    filter: blur(0.45rem);
    transform: translate3d(0, 3rem, 0);
  }
  to {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tech-scene-enter-down {
  from {
    opacity: 0;
    filter: blur(0.45rem);
    transform: translate3d(0, -3rem, 0);
  }
  to {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes tech-field-scan {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.tech-eyebrow {
  margin: 0 0 1.55rem;
  color: var(--signal-violet);
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: clamp(0.58rem, 0.72vw, 0.72rem);
  line-height: 1.6;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.tech-title {
  margin: 0;
  max-width: 10.5em;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: clamp(2.9rem, 4.75vw, 5.4rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.tech-title > span {
  display: block;
  white-space: pre-line;
}

.tech-title .tech-accent {
  color: var(--electric-cyan);
  text-shadow: 0 0 1.2rem rgba(0, 212, 255, 0.16);
}

#tech-semg .tech-accent {
  font-size: 0.92em;
  white-space: nowrap;
}

html[lang="en"] .tech-title {
  max-width: 11.5em;
  font-family: "Avenir Next", Avenir, sans-serif;
  font-size: clamp(2.65rem, 4.2vw, 4.9rem);
  letter-spacing: -0.045em;
}

.tech-paragraphs {
  max-width: 40rem;
  margin-top: 1.65rem;
}

.tech-paragraphs p {
  margin: 0.48rem 0;
  color: var(--muted-signal);
  font-size: clamp(0.9rem, 1.03vw, 1.06rem);
  line-height: 1.85;
  letter-spacing: 0.012em;
}

.tech-emphasis,
.tech-closing {
  display: grid;
  gap: 0.28rem;
  margin: 1.55rem 0 0;
  color: rgba(244, 247, 255, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.32rem);
  line-height: 1.6;
}

.tech-emphasis span:last-child,
.tech-closing span:last-child {
  color: var(--ion-white);
  font-weight: 650;
}

.tech-relation,
.tech-questions,
.tech-stages,
.tech-applications {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tech-relation {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(244, 247, 255, 0.78);
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 0.65rem;
  line-height: 1.5;
  letter-spacing: 0.09em;
}

.tech-relation li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tech-relation li:not(:last-child)::after {
  content: "→";
  color: var(--electric-cyan);
}

.tech-questions {
  counter-reset: question;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.4rem;
}

.tech-questions li {
  counter-increment: question;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.4rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-top: 1px solid rgba(244, 247, 255, 0.12);
  color: rgba(244, 247, 255, 0.88);
  font-size: clamp(0.8rem, 0.92vw, 0.96rem);
  line-height: 1.55;
}

.tech-questions li::before {
  content: "0" counter(question);
  color: var(--signal-violet);
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}

.tech-stages,
.tech-applications {
  border-bottom: 1px solid rgba(244, 247, 255, 0.12);
}

.tech-stage,
.tech-application {
  display: grid;
  grid-template-columns: minmax(5.7rem, 0.75fr) minmax(7.2rem, 0.9fr) minmax(0, 2.5fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.82rem 0;
  border-top: 1px solid rgba(244, 247, 255, 0.12);
}

.tech-relation li,
.tech-questions li,
.tech-stage,
.tech-application {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    color 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    opacity 360ms ease,
    transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-relation li[data-reveal="pending"],
.tech-questions li[data-reveal="pending"],
.tech-stage[data-reveal="pending"],
.tech-application[data-reveal="pending"] {
  opacity: 0.24;
  transform: translate3d(0, 0.28rem, 0);
}

.tech-relation li[data-reveal="revealing"],
.tech-questions li[data-reveal="revealing"],
.tech-stage[data-reveal="revealing"],
.tech-application[data-reveal="revealing"] {
  color: var(--ion-white);
  border-color: rgba(0, 212, 255, 0.62);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1.012);
}

.tech-relation li[data-reveal="revealed"],
.tech-questions li[data-reveal="revealed"],
.tech-stage[data-reveal="revealed"],
.tech-application[data-reveal="revealed"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tech-relation li[data-interactive="true"],
.tech-questions li[data-interactive="true"],
.tech-stage[data-interactive="true"],
.tech-application[data-interactive="true"],
.tech-relation li:hover,
.tech-questions li:hover,
.tech-stage:hover,
.tech-application:hover,
.tech-relation li:focus-visible,
.tech-questions li:focus-visible,
.tech-stage:focus-visible,
.tech-application:focus-visible {
  color: var(--ion-white);
  border-color: rgba(0, 212, 255, 0.72);
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.08), transparent 72%);
  opacity: 1;
  transform: translate3d(0.24rem, 0, 0);
}

.tech-stage__code,
.tech-application__code {
  color: var(--electric-cyan);
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
}

.tech-stage__label,
.tech-application__label {
  color: var(--ion-white);
  font-size: 0.86rem;
  font-weight: 600;
}

.tech-stage__body,
.tech-application__body {
  margin: 0;
  max-height: 0;
  overflow: clip;
  color: var(--muted-signal);
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0;
  transform: translate3d(0, 0.4rem, 0);
  transition:
    max-height 540ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-stage[data-interactive="true"] .tech-stage__body,
.tech-application[data-interactive="true"] .tech-application__body,
.tech-stage:hover .tech-stage__body,
.tech-application:hover .tech-application__body,
.tech-stage:focus-visible .tech-stage__body,
.tech-application:focus-visible .tech-application__body {
  max-height: 7.5rem;
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.tech-application__code {
  color: var(--bio-green);
}

/* Act 01 — the copy anchors the origin while the free field owns the right side. */
#tech-semg {
  justify-content: flex-start;
}

#tech-semg::after {
  background:
    radial-gradient(circle at 78% 46%, rgba(109, 91, 255, 0.13), transparent 30%),
    linear-gradient(105deg, rgba(109, 91, 255, 0.055), transparent 44%);
}

#tech-semg .tech-copy {
  width: min(45rem, 44vw);
}

#tech-semg .tech-title {
  max-width: 9.5em;
}

/* Act 02 — text approaches the sensing orbit; the relation becomes a low horizon. */
#tech-sensing {
  justify-content: flex-start;
}

#tech-sensing::before {
  top: 20%;
  bottom: 22%;
  left: 8vw;
  width: min(45rem, 45vw);
  border: 1px solid rgba(0, 212, 255, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.07), rgba(6, 0, 18, 0) 68%);
}

#tech-sensing::after {
  background:
    radial-gradient(ellipse at 54% 52%, rgba(0, 212, 255, 0.11), transparent 28%),
    radial-gradient(ellipse at 54% 52%, transparent 30%, rgba(0, 212, 255, 0.035) 31%, transparent 48%);
}

#tech-sensing .tech-copy {
  width: min(37rem, 37vw);
  margin-left: clamp(1rem, 8vw, 9rem);
}

#tech-sensing .tech-title {
  max-width: 8.8em;
  font-size: clamp(2.65rem, 4vw, 4.7rem);
}

#tech-sensing .tech-relation {
  position: static;
  justify-content: flex-start;
  width: 100%;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.16);
}

/* Act 03 — the title holds the upper axis and questions occupy two opposing domains. */
#tech-dimension {
  align-items: flex-start;
  padding-top: calc(var(--header-height) + clamp(2.7rem, 7svh, 6rem));
}

#tech-dimension::before {
  content: none;
}

#tech-dimension::after {
  background:
    radial-gradient(circle at 24% 58%, rgba(109, 91, 255, 0.12), transparent 25%),
    radial-gradient(circle at 76% 58%, rgba(0, 212, 255, 0.1), transparent 25%);
}

#tech-dimension .tech-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(30rem, 0.95fr) minmax(0, 1fr);
  width: 100%;
  column-gap: clamp(1.5rem, 4vw, 5rem);
  text-align: center;
}

#tech-dimension .tech-eyebrow,
#tech-dimension .tech-title,
#tech-dimension .tech-paragraphs,
#tech-dimension .tech-closing {
  grid-column: 2;
}

#tech-dimension .tech-title {
  max-width: 13em;
  margin-inline: auto;
  font-size: clamp(2.2rem, 3.35vw, 3.9rem);
}

#tech-dimension .tech-paragraphs {
  margin-inline: auto;
}

#tech-dimension .tech-questions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 72rem);
  margin-top: clamp(1rem, 3svh, 2.4rem);
  margin-inline: auto;
  column-gap: clamp(2.5rem, 6vw, 6.5rem);
  justify-self: center;
  text-align: left;
}

#tech-dimension .tech-questions li:nth-child(odd) {
  grid-template-columns: minmax(0, 1fr) 2.1rem;
  text-align: right;
}

#tech-dimension .tech-questions li:nth-child(odd)::before {
  order: 2;
  color: var(--signal-violet);
}

#tech-dimension .tech-questions li:nth-child(even)::before {
  color: var(--electric-cyan);
}

#tech-dimension .tech-closing {
  margin-top: clamp(0.8rem, 2svh, 1.4rem);
}

/* Act 04 — a narrow thesis is paired with a four-lane decode instrument. */
#tech-pipeline {
  justify-content: flex-start;
}

#tech-pipeline::before {
  content: none;
}

#tech-pipeline::after {
  background: linear-gradient(112deg, rgba(109, 91, 255, 0.095), transparent 46%, rgba(0, 212, 255, 0.075));
}

#tech-pipeline .tech-copy {
  display: grid;
  grid-template-columns: minmax(17rem, 0.72fr) minmax(30rem, 1.28fr);
  grid-template-rows: auto auto 1fr auto;
  width: min(86rem, 88vw);
  column-gap: clamp(3rem, 8vw, 10rem);
  align-items: start;
}

#tech-pipeline .tech-eyebrow,
#tech-pipeline .tech-title,
#tech-pipeline .tech-paragraphs,
#tech-pipeline .tech-closing {
  grid-column: 1;
}

#tech-pipeline .tech-title {
  max-width: 7.4em;
  font-size: clamp(2.35rem, 3.65vw, 4.5rem);
}

#tech-pipeline .tech-stages {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  margin: 0;
  border-bottom-color: rgba(0, 212, 255, 0.18);
}

#tech-pipeline .tech-stage {
  grid-template-columns: minmax(6.5rem, 0.7fr) minmax(8.4rem, 0.8fr) minmax(0, 1.6fr);
  min-height: 4.65rem;
  border-color: rgba(0, 212, 255, 0.12);
}

#tech-pipeline .tech-stage[data-interactive="true"] {
  border-color: rgba(0, 212, 255, 0.52);
  background: linear-gradient(90deg, rgba(109, 91, 255, 0.08), rgba(0, 212, 255, 0.045));
}

/* Act 05 — four applications orbit a central feedback pulse. */
#tech-applications {
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}

#tech-applications::before {
  content: none;
}

#tech-applications::after {
  content: none;
}

#tech-applications .tech-copy {
  display: grid;
  grid-template-columns: minmax(20rem, 0.78fr) minmax(34rem, 1.22fr);
  grid-template-rows: repeat(6, auto);
  column-gap: clamp(3rem, 6vw, 7rem);
  align-content: center;
  align-items: start;
  width: 100%;
  height: 100%;
}

#tech-applications .tech-eyebrow,
#tech-applications .tech-title,
#tech-applications .tech-paragraphs,
#tech-applications .tech-closing,
#tech-applications .tech-next {
  grid-column: 1;
}

#tech-applications .tech-title {
  max-width: 8em;
  font-size: clamp(2.35rem, 3.75vw, 4.6rem);
}

#tech-applications .tech-paragraphs,
#tech-applications .tech-closing {
  max-width: min(34rem, 34vw);
}

#tech-applications .tech-applications {
  position: static;
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: center;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(7rem, auto));
  gap: clamp(1.1rem, 3svh, 2rem) clamp(1.5rem, 3.5vw, 3.5rem);
  align-content: center;
  margin: 0;
  border: 0;
}

#tech-applications .tech-application {
  min-width: 0;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-self: stretch;
  align-items: center;
  min-height: 7rem;
  padding: 0.75rem 0.9rem;
  border-color: rgba(22, 242, 179, 0.12);
  background: transparent;
  backdrop-filter: none;
}

#tech-applications .tech-application__body {
  grid-column: 1 / -1;
}

#tech-applications .tech-application__code {
  overflow-wrap: anywhere;
  line-height: 1.25;
}

#tech-applications .tech-application__label {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 2.5em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  white-space: normal;
}

#tech-applications .tech-application[data-interactive="true"] {
  border-color: rgba(22, 242, 179, 0.5);
  background: linear-gradient(110deg, rgba(0, 212, 255, 0.07), rgba(22, 242, 179, 0.075));
  box-shadow: 0 0 2.5rem rgba(22, 242, 179, 0.055);
}

.tech-next {
  display: inline-flex;
  margin-top: 1.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(22, 242, 179, 0.44);
  color: var(--bio-green);
  font-family: Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.tech-returning .site-header,
.tech-returning .tech-copy,
.tech-returning .site-footer {
  opacity: 0;
  transform: translate3d(0, -0.8rem, 0);
  filter: blur(0.22rem);
  pointer-events: none;
  transition:
    opacity 360ms ease,
    filter 420ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-returning .tech-copy {
  animation: none;
}

.canvas-ready.tech-returning .tech-signal-canvas {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 980px) {
  .tech-title {
    font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  }

  #tech-semg .tech-copy,
  #tech-sensing .tech-copy {
    width: min(37rem, 48vw);
  }

  #tech-pipeline .tech-copy {
    grid-template-columns: minmax(16rem, 0.82fr) minmax(25rem, 1.18fr);
    column-gap: clamp(2rem, 5vw, 4rem);
  }

  #tech-pipeline .tech-stage {
    grid-template-columns: 5.8rem minmax(7.5rem, 0.75fr) minmax(0, 1.25fr);
  }

  #tech-applications .tech-applications {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 4svh, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  }

  #tech-applications .tech-copy {
    grid-template-columns: minmax(16rem, 0.76fr) minmax(27rem, 1.24fr);
    column-gap: clamp(1.5rem, 4vw, 3rem);
  }
}

@media (min-width: 761px) and (max-height: 620px) {
  :root {
    --header-height: 3.75rem;
    --page-gutter: clamp(1.1rem, 3vw, 2rem);
    --copy-gutter: clamp(1.6rem, 5vw, 3rem);
  }

  .tech-chapter {
    min-height: 100svh;
    height: 100svh;
    padding: calc(var(--header-height) + 0.7rem) var(--page-gutter) 2.1rem var(--copy-gutter);
  }

  .tech-eyebrow {
    margin-bottom: 0.42rem;
    font-size: 0.56rem;
    line-height: 1.35;
  }

  .tech-title,
  #tech-semg .tech-title,
  #tech-sensing .tech-title,
  #tech-dimension .tech-title,
  #tech-pipeline .tech-title,
  #tech-applications .tech-title {
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    line-height: 1.01;
  }

  html[lang="en"] .tech-title {
    font-size: clamp(1.65rem, 3.15vw, 2.35rem);
    line-height: 1.02;
  }

  .tech-paragraphs {
    margin-top: 0.55rem;
  }

  .tech-paragraphs p {
    margin-block: 0.18rem;
    font-size: 0.72rem;
    line-height: 1.38;
  }

  .tech-emphasis,
  .tech-closing {
    gap: 0.12rem;
    margin-top: 0.48rem;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .tech-relation,
  .tech-questions,
  .tech-stages,
  .tech-applications {
    margin-top: 0.55rem;
  }

  .tech-relation {
    gap: 0.42rem;
    font-size: 0.56rem;
  }

  .tech-relation li {
    gap: 0.42rem;
  }

  .tech-questions li {
    padding-block: 0.22rem;
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .tech-stage__code,
  .tech-application__code {
    font-size: 0.56rem;
  }

  .tech-stage__label,
  .tech-application__label {
    font-size: 0.75rem;
  }

  .tech-stage__body,
  .tech-application__body {
    font-size: 0.69rem;
    line-height: 1.35;
  }

  #tech-sensing .tech-copy {
    width: min(34rem, 47vw);
    margin-left: clamp(1rem, 4vw, 3rem);
  }

  #tech-sensing .tech-relation {
    margin-top: 0.55rem;
    padding-top: 0.42rem;
  }

  #tech-dimension,
  #tech-applications {
    padding-top: calc(var(--header-height) + 0.7rem);
  }

  #tech-dimension .tech-questions {
    margin-top: 0.5rem;
  }

  #tech-dimension .tech-closing {
    margin-top: 0.42rem;
  }

  #tech-pipeline .tech-copy {
    width: 100%;
    grid-template-columns: minmax(14rem, 0.78fr) minmax(26rem, 1.22fr);
    column-gap: clamp(1.5rem, 4vw, 3rem);
  }

  #tech-pipeline .tech-stage {
    grid-template-columns: 4.7rem minmax(6.4rem, 0.75fr) minmax(0, 1.25fr);
    min-height: 3.4rem;
    gap: 0.65rem;
    padding-block: 0.35rem;
  }

  #tech-applications .tech-copy {
    display: grid;
    grid-template-columns: minmax(14rem, 0.78fr) minmax(26rem, 1.22fr);
    grid-template-rows: repeat(5, auto);
    width: 100%;
    column-gap: clamp(1.5rem, 4vw, 3rem);
    align-content: center;
  }

  #tech-applications .tech-eyebrow,
  #tech-applications .tech-title,
  #tech-applications .tech-paragraphs,
  #tech-applications .tech-closing,
  #tech-applications .tech-next {
    grid-column: 1;
  }

  #tech-applications .tech-paragraphs,
  #tech-applications .tech-closing {
    max-width: 100%;
  }

  #tech-applications .tech-applications {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: center;
    width: 100%;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 0.5rem 0.9rem;
    align-content: center;
  }

  #tech-applications .tech-application {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-self: stretch;
    gap: 0.35rem 0.5rem;
    padding: 0.38rem 0.45rem;
  }

  #tech-applications .tech-application[data-interactive="true"] .tech-application__body {
    max-height: 4.5rem;
  }

  .tech-next {
    margin-top: 0.5rem;
    padding-block: 0.25rem;
    font-size: 0.58rem;
  }

}

@media (max-width: 760px) {
  :root {
    --header-height: 4.4rem;
    --page-gutter: 1.25rem;
    --copy-gutter: 1.35rem;
  }

  .tech-story {
    background:
      linear-gradient(90deg, rgba(6, 0, 18, 0.94), rgba(6, 0, 18, 0.6) 72%, rgba(6, 0, 18, 0.34)),
      repeating-linear-gradient(90deg, rgba(244, 247, 255, 0.016) 0 1px, transparent 1px 18vw);
  }

  html[lang="en"] #tech-semg .tech-accent {
    max-width: 100%;
    white-space: normal;
  }

  .tech-signal-fallback {
    opacity: 0.45;
    transform: translate3d(19vw, 8vh, 0) scale(1.06);
  }

  .tech-chapter {
    align-items: center;
    min-height: 100svh;
    height: 100svh;
    padding: calc(var(--header-height) + 1.4rem) var(--copy-gutter) 4.2rem;
  }

  #tech-semg::before,
  #tech-sensing::before,
  #tech-dimension::before,
  #tech-pipeline::before,
  #tech-applications::before {
    top: 8%;
    right: auto;
    bottom: 8%;
    left: 0;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: linear-gradient(90deg, rgba(6, 0, 18, 0.78), rgba(6, 0, 18, 0.12));
  }

  #tech-semg .tech-copy,
  #tech-sensing .tech-copy,
  #tech-dimension .tech-copy,
  #tech-pipeline .tech-copy,
  #tech-applications .tech-copy {
    display: block;
    width: min(100%, 38rem);
    margin: 0;
    text-align: left;
    transform: translate3d(0, 0.9rem, 0);
  }

  #tech-semg .tech-title,
  #tech-sensing .tech-title,
  #tech-dimension .tech-title,
  #tech-pipeline .tech-title,
  #tech-applications .tech-title,
  html[lang="en"] #tech-semg .tech-title,
  html[lang="en"] #tech-sensing .tech-title,
  html[lang="en"] #tech-dimension .tech-title,
  html[lang="en"] #tech-pipeline .tech-title,
  html[lang="en"] #tech-applications .tech-title {
    max-width: 10em;
    margin-inline: 0;
    font-size: clamp(2rem, 8.7vw, 3.55rem);
    line-height: 1.04;
  }

  .tech-eyebrow {
    max-width: 30rem;
    margin-bottom: 0.82rem;
    font-size: 0.49rem;
    letter-spacing: 0.16em;
  }

  .tech-paragraphs {
    margin-top: 0.85rem;
  }

  .tech-paragraphs p {
    margin-block: 0.3rem;
    font-size: clamp(0.7rem, 2.8vw, 0.82rem);
    line-height: 1.55;
  }

  .tech-emphasis,
  .tech-closing {
    margin-top: 0.75rem;
    font-size: clamp(0.78rem, 3vw, 0.92rem);
    line-height: 1.45;
  }

  #tech-sensing .tech-relation,
  .tech-relation {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem 0.8rem;
    margin-top: 0.85rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(0, 212, 255, 0.16);
  }

  .tech-relation li {
    display: grid;
    grid-template-columns: 0.75rem 1fr;
    gap: 0.2rem;
    font-size: 0.54rem;
  }

  .tech-relation li::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border: 1px solid var(--electric-cyan);
    border-radius: 50%;
  }

  .tech-relation li:not(:last-child)::after {
    content: none;
  }

  #tech-dimension .tech-questions,
  .tech-questions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0.7rem;
    text-align: left;
  }

  #tech-dimension .tech-questions li,
  #tech-dimension .tech-questions li:nth-child(odd) {
    grid-template-columns: 1.75rem 1fr;
    padding: 0.3rem 0;
    text-align: left;
    font-size: clamp(0.68rem, 2.7vw, 0.78rem);
    line-height: 1.35;
  }

  #tech-dimension .tech-questions li:nth-child(odd)::before {
    order: 0;
  }

  #tech-pipeline .tech-stages,
  #tech-applications .tech-applications {
    position: static;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 0.7rem;
    border-bottom: 1px solid rgba(244, 247, 255, 0.12);
  }

  #tech-applications .tech-applications {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(3.5rem, auto));
  }

  #tech-pipeline .tech-stage,
  #tech-applications .tech-application {
    display: grid;
    min-height: 0;
    gap: 0.35rem;
    padding: 0.38rem 0;
    background: transparent;
    backdrop-filter: none;
  }

  #tech-pipeline .tech-stage {
    grid-template-columns: 5.6rem 1fr;
  }

  #tech-applications .tech-application {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    min-height: 3.5rem;
  }

  .tech-application__code {
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .tech-application__label {
    display: flex;
    align-items: center;
    min-height: 2.5em;
    line-height: 1.25;
  }

  .tech-stage__body,
  .tech-application__body {
    grid-column: 1 / -1;
    font-size: 0.7rem;
    line-height: 1.45;
  }

  #tech-applications .tech-paragraphs,
  #tech-applications .tech-closing {
    max-width: 100%;
  }

  .tech-next {
    margin-top: 0.7rem;
    font-size: 0.6rem;
  }

}

/* Narrow landscape phones need the mobile width treatment without the tall-screen
   single column. Keep every act magnetized to one viewport, then compact Acts
   03–05 into paired reading / signal-detail planes. */
@media (max-width: 760px) and (max-height: 560px) and (orientation: landscape) {
  :root {
    --header-height: 3.2rem;
    --page-gutter: 0.9rem;
    --copy-gutter: 1rem;
  }

  .tech-chapter,
  #tech-dimension,
  #tech-applications {
    align-items: center;
    min-height: 100svh;
    height: 100svh;
    padding: calc(var(--header-height) + 0.42rem) var(--copy-gutter) 1.65rem;
  }

  #tech-semg .tech-copy,
  #tech-sensing .tech-copy,
  #tech-dimension .tech-copy,
  #tech-pipeline .tech-copy,
  #tech-applications .tech-copy {
    width: 100%;
    max-width: none;
  }

  .tech-eyebrow {
    margin-bottom: 0.3rem;
    font-size: 0.5rem;
    line-height: 1.25;
    letter-spacing: 0.14em;
  }

  #tech-semg .tech-title,
  #tech-sensing .tech-title,
  #tech-dimension .tech-title,
  #tech-pipeline .tech-title,
  #tech-applications .tech-title,
  html[lang="en"] #tech-semg .tech-title,
  html[lang="en"] #tech-sensing .tech-title,
  html[lang="en"] #tech-dimension .tech-title,
  html[lang="en"] #tech-pipeline .tech-title,
  html[lang="en"] #tech-applications .tech-title {
    max-width: 15em;
    font-size: clamp(1.2rem, 3.25vw, 1.55rem);
    line-height: 1.01;
  }

  .tech-paragraphs {
    margin-top: 0.4rem;
  }

  .tech-paragraphs p {
    margin-block: 0.13rem;
    font-size: 0.625rem;
    line-height: 1.3;
  }

  .tech-emphasis,
  .tech-closing {
    gap: 0.08rem;
    margin-top: 0.38rem;
    font-size: 0.62rem;
    line-height: 1.28;
  }

  #tech-semg .tech-copy,
  #tech-sensing .tech-copy {
    width: min(26rem, 56vw);
  }

  #tech-sensing .tech-copy {
    margin-left: clamp(0rem, 2vw, 1rem);
  }

  #tech-sensing .tech-relation,
  .tech-relation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.2rem 0.45rem;
    margin-top: 0.38rem;
    padding-top: 0.32rem;
  }

  .tech-relation li {
    grid-template-columns: 0.5rem 1fr;
    font-size: 0.5rem;
    line-height: 1.2;
  }

  .tech-relation li::before {
    width: 0.28rem;
    height: 0.28rem;
  }

  #tech-dimension .tech-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-rows: repeat(4, auto);
    column-gap: clamp(0.9rem, 3vw, 1.5rem);
    align-content: center;
    text-align: left;
  }

  #tech-dimension .tech-eyebrow,
  #tech-dimension .tech-title,
  #tech-dimension .tech-paragraphs,
  #tech-dimension .tech-closing {
    grid-column: 1;
    margin-inline: 0;
  }

  #tech-dimension .tech-eyebrow {
    grid-row: 1;
  }

  #tech-dimension .tech-title {
    grid-row: 2;
  }

  #tech-dimension .tech-paragraphs {
    grid-row: 3;
  }

  #tech-dimension .tech-closing {
    grid-row: 4;
  }

  #tech-dimension .tech-questions {
    grid-column: 2;
    grid-row: 1 / span 4;
    align-self: center;
    margin-top: 0;
  }

  #tech-dimension .tech-questions li,
  #tech-dimension .tech-questions li:nth-child(odd) {
    grid-template-columns: 1.45rem 1fr;
    padding-block: 0.2rem;
    font-size: 0.625rem;
    line-height: 1.22;
  }

  #tech-pipeline .tech-copy,
  #tech-applications .tech-copy {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    grid-template-rows: repeat(5, auto);
    column-gap: clamp(0.9rem, 3vw, 1.5rem);
    align-content: center;
  }

  #tech-pipeline .tech-eyebrow,
  #tech-pipeline .tech-title,
  #tech-pipeline .tech-paragraphs,
  #tech-pipeline .tech-closing,
  #tech-applications .tech-eyebrow,
  #tech-applications .tech-title,
  #tech-applications .tech-paragraphs,
  #tech-applications .tech-closing,
  #tech-applications .tech-next {
    grid-column: 1;
  }

  #tech-pipeline .tech-stages,
  #tech-applications .tech-applications {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 5;
    align-self: center;
    width: 100%;
    margin: 0;
  }

  #tech-pipeline .tech-stages {
    display: grid;
    grid-template-columns: 1fr;
  }

  #tech-pipeline .tech-stage {
    grid-template-columns: 3.6rem minmax(5rem, 0.7fr) minmax(0, 1.3fr);
    gap: 0.38rem;
    padding-block: 0.22rem;
  }

  #tech-applications .tech-applications {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 0.38rem 0.5rem;
    border: 0;
  }

  #tech-applications .tech-application {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-self: stretch;
    gap: 0.22rem 0.35rem;
    padding: 0.28rem 0.34rem;
    border: 1px solid rgba(22, 242, 179, 0.12);
  }

  .tech-stage__code,
  .tech-application__code {
    font-size: 0.5rem;
    letter-spacing: 0.09em;
  }

  .tech-stage__label,
  .tech-application__label {
    font-size: 0.625rem;
  }

  .tech-stage__body,
  .tech-application__body {
    font-size: 0.6rem;
    line-height: 1.25;
  }

  .tech-stage[data-interactive="true"] .tech-stage__body,
  .tech-application[data-interactive="true"] .tech-application__body {
    max-height: 3rem;
  }

  #tech-applications .tech-paragraphs,
  #tech-applications .tech-closing {
    max-width: 100%;
  }

  .tech-next {
    margin-top: 0.38rem;
    padding-block: 0.18rem;
    font-size: 0.48rem;
  }

}

@media (max-width: 420px) and (orientation: portrait) {
  #tech-semg .tech-title,
  #tech-sensing .tech-title,
  #tech-dimension .tech-title,
  #tech-pipeline .tech-title,
  #tech-applications .tech-title,
  html[lang="en"] .tech-title {
    font-size: clamp(1.82rem, 8.8vw, 2.85rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: y proximity;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .tech-signal-canvas {
    display: none;
  }

  .tech-signal-fallback,
  .canvas-pending .tech-signal-fallback,
  .canvas-ready .tech-signal-fallback,
  .canvas-fallback .tech-signal-fallback {
    visibility: visible;
    opacity: 0.46;
  }

  .tech-chapter {
    min-height: 100svh;
    height: auto;
    overflow: visible;
  }

  .tech-copy,
  .tech-chapter[data-active] .tech-copy {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none !important;
  }

  .tech-relation li,
  .tech-questions li,
  .tech-stage,
  .tech-application {
    opacity: 1;
    transform: none;
  }

  .tech-stage__body,
  .tech-application__body {
    max-height: none;
    opacity: 1;
    transform: none;
  }
}
