@font-face {
  font-family: Antonio;
  src: url('fonts/Antonio.ttf') format('truetype');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ground: #000;
  --structure: #f96;
  --secondary: #fc6;
  --interactive: #c9c;
  --data: #9cf;
  --text: #ede7db;
  --bright: #ff9;
  --gap: 3px;
  --rail: 64px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  scrollbar-color: var(--interactive) var(--ground);
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font: 16px/1.6 var(--body-font, system-ui, sans-serif);
}
::selection {
  background: var(--interactive);
  color: #000;
}
a {
  color: var(--data);
  text-underline-offset: 5px;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 5px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button:hover {
  filter: brightness(1.12);
}
button:active {
  transform: translateY(1px);
}
.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  padding: 12px;
  background: var(--bright);
  color: #000;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
h1,
h2,
h3,
.brand,
.action,
.command-bank,
.display-label,
.feature-list,
.gallery-nav {
  font-family: Antonio, sans-serif;
  font-weight: 400;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  line-height: 1.08;
  text-wrap: balance;
}
h1 {
  font-size: clamp(56px, 6.6vw, 96px);
  color: var(--bright);
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(40px, 4.4vw, 64px);
  color: var(--secondary);
  letter-spacing: -0.02em;
}
h3 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--interactive);
}
.brand {
  font-size: 44px;
  color: var(--structure);
  line-height: 1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand span {
  font-size: 14px;
  color: var(--interactive);
  letter-spacing: 0.06em;
}
main {
  max-width: 1440px;
  margin: auto;
  padding: 0 5%;
}
.landing {
  padding: 0 0 40px;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  padding: 12px 24px;
  border-radius: 28px;
  color: #000;
  text-decoration: none;
  font-size: 19px;
  line-height: 1.3;
}
.action:hover {
  filter: brightness(1.12);
  text-decoration: none;
}
.primary {
  background: var(--structure);
}
.lavender {
  background: var(--interactive);
}
.blue {
  background: var(--data);
}
.lucide {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.console-stage {
  height: clamp(340px, 74svh, 840px);
  overflow: hidden;
}
#showcase-display,
#showcase-display > svg {
  display: block;
  width: 100%;
  height: 100%;
}
.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
}
.scene-selectors,
.playback-bank {
  display: flex;
  gap: 3px;
}
.scene-selectors button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  background: var(--interactive);
  color: #000;
  font:
    16px Antonio,
    sans-serif;
}
.scene-selectors button:first-child {
  border-radius: 24px 0 0 24px;
}
.scene-selectors button:last-child {
  border-radius: 0 24px 24px 0;
}
.scene-selectors button[aria-pressed='true'] {
  background: var(--secondary);
}
.playback-bank button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: #000;
  color: var(--data);
  min-height: 44px;
  padding: 10px;
  font-size: 13px;
  white-space: nowrap;
}
.playback-bank button:hover {
  color: var(--bright);
}
.showcase-status {
  color: var(--data);
  font-size: 12px;
  margin-top: 12px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 38px;
}
.section-intro p {
  color: var(--data);
  max-width: 55ch;
}
.feature-section {
  padding-bottom: 96px;
}
.feature-exhibit {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 38px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.feature-list button {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--interactive);
  color: #000;
  border: 0;
  padding: 16px 24px;
  min-height: 92px;
  font:
    24px Antonio,
    sans-serif;
}
.feature-list button span {
  font-size: 13px;
  margin-top: 8px;
}
.feature-list button:first-child {
  border-radius: 36px 0 0 0;
}
.feature-list button:last-child {
  border-radius: 0 0 0 36px;
}
.feature-list button[aria-selected='true'] {
  background: var(--structure);
  padding-left: 38px;
}
.feature-media {
  position: relative;
  border-block: 3px solid var(--interactive);
  background: #000;
  aspect-ratio: 1000/610;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-media img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.loop-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #000;
  color: var(--interactive);
  border: 1px solid var(--interactive);
  border-radius: 24px;
  font-size: 13px;
  padding: 10px 18px;
  min-height: 44px;
}
.feature-caption {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  padding-top: 22px;
}
.feature-caption p {
  margin-top: 12px;
  font-size: 15px;
  max-width: 65ch;
}
.feature-caption a {
  margin-top: 6px;
}
.gallery-section {
  position: relative;
  --section-rule-height: 18px;
  padding: 58px 0 78px;
}
.gallery-section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: var(--section-rule-height);
  border-radius: calc(var(--section-rule-height) / 2);
  background: var(--secondary);
}
.gallery-section .action {
  margin-top: 24px;
  font-size: 17px;
}
.element-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.element-preview a {
  display: block;
  text-decoration: none;
}
.element-preview svg:not(.lucide) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 560/330;
}
.element-preview span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font:
    18px Antonio,
    sans-serif;
  color: var(--interactive);
  border-top: 2px solid var(--interactive);
  padding: 10px 0;
}
.element-preview a:hover span {
  color: var(--bright);
  border-color: var(--bright);
}
.instrument-link {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--data);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}
.instrument-link p {
  font-size: 15px;
  max-width: 64ch;
}
.start-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 48px 40px 48px calc(var(--rail) + 32px);
  margin-bottom: 70px;
  border-left: var(--rail) solid var(--structure);
  border-bottom: 18px solid var(--structure);
  border-radius: 0 0 0 70px;
}
.start-section h2 {
  color: var(--bright);
  font-size: clamp(36px, 3.5vw, 52px);
}
.start-section p {
  margin-top: 20px;
  font-size: 15px;
}
.start-section .action {
  flex-shrink: 0;
}
footer {
  max-width: 1440px;
  padding: 0 5% 45px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
footer p {
  font-size: 12px;
  color: var(--data);
}
footer nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
}
@media (max-width: 1100px) {
  .showcase-controls {
    flex-wrap: wrap;
    gap: 12px;
  }
  .scene-selectors {
    flex: 1;
  }
  .scene-selectors button {
    flex: 1;
    padding: 10px 12px;
    font-size: 15px;
  }
  .feature-exhibit {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
  .feature-caption {
    display: block;
  }
  .feature-caption a {
    display: inline-block;
    margin-top: 14px;
  }
  .start-section {
    padding: 32px;
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 16px;
  }
  .brand {
    font-size: 38px;
    gap: 10px;
  }
  .brand span {
    font-size: 11px;
  }
  main {
    padding: 0 6%;
  }
  .landing {
    padding-top: 4px;
  }
  .action {
    font-size: 17px;
    padding: 12px 20px;
    gap: 20px;
  }
  .console-stage {
    height: clamp(420px, 70svh, 740px);
  }
  .showcase-controls {
    margin-top: 18px;
    gap: 10px;
  }
  .scene-selectors {
    flex-wrap: wrap;
    flex-basis: 100%;
  }
  .scene-selectors button {
    flex: 1 1 30%;
    border-radius: 0 !important;
    font-size: 15px;
  }
  .playback-bank {
    margin-left: auto;
  }
  .showcase-status {
    font-size: 11px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 28px;
  }
  h2 {
    font-size: 44px;
  }
  .section-intro p {
    font-size: 15px;
  }
  .feature-exhibit {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .feature-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .feature-list button {
    flex: 1 1 30%;
    font-size: 19px;
    min-height: 85px;
    padding: 12px 15px;
    border-radius: 0 !important;
  }
  .feature-list button span {
    font-size: 11px;
  }
  .feature-list button[aria-selected='true'] {
    padding-left: 15px;
  }
  .feature-media {
    aspect-ratio: 1000/730;
  }
  .feature-caption {
    padding-top: 20px;
  }
  .feature-caption h3 {
    font-size: 25px;
  }
  .feature-section {
    padding-bottom: 64px;
  }
  .gallery-section {
    --section-rule-height: 12px;
    padding: 42px 0 55px;
  }
  .element-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
  .element-preview span {
    font-size: 16px;
  }
  .instrument-link {
    flex-direction: column;
    align-items: start;
    gap: 18px;
    margin-top: 30px;
  }
  .start-section {
    padding: 28px 0 30px 24px;
    border-left-width: 30px;
    border-bottom-width: 12px;
    border-radius: 0 0 0 44px;
    gap: 24px;
    margin-bottom: 42px;
  }
  .start-section h2 {
    font-size: 40px;
  }
  .start-section p {
    font-size: 14px;
  }
  .start-section .action {
    max-width: 100%;
  }
  footer {
    flex-wrap: wrap;
    padding: 0 6% 30px;
    gap: 22px;
  }
  footer p {
    flex: 1;
  }
  footer nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    gap: 22px;
  }
  .loop-control {
    right: 8px;
    bottom: 8px;
    font-size: 12px;
    padding: 8px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  button:active {
    transform: none;
  }
}

#showcase-display .arc-sweep {
  transform-origin: 0 0;
  transform: rotate(-12deg);
  animation: arc-scan 8s ease-in-out infinite alternate;
}
#showcase-display .sensor-sweep {
  animation: sensor-scan 4200ms linear infinite alternate;
}
#showcase-display .spectrum-bar {
  animation: spectrum 2300ms ease-in-out infinite alternate;
  animation-delay: var(--phase);
}
#showcase-display .core-cell {
  animation: energy 2800ms ease-in-out infinite alternate;
  animation-delay: var(--phase);
}
#showcase-display .signal-trace {
  stroke-dasharray: 120 5;
  animation: flow 12s linear infinite;
  animation-delay: var(--phase);
}
#showcase-display .network-flow {
  stroke-dasharray: 12 8;
  animation: flow 16s linear infinite;
}
@keyframes arc-scan {
  from {
    transform: rotate(-78deg);
  }
  to {
    transform: rotate(68deg);
  }
}
@keyframes spectrum {
  from {
    transform: scaleY(0.72);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes sensor-scan {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--scan-distance));
  }
}
@keyframes energy {
  from {
    opacity: 0.6;
  }
  to {
    opacity: 1;
  }
}
@keyframes flow {
  to {
    stroke-dashoffset: -260;
  }
}

.screen-arrival {
  animation: screen-reveal 550ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes screen-reveal {
  from {
    clip-path: inset(0 96% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
.showcase-paused * {
  animation-play-state: paused !important;
}
.showcase-reduced * {
  animation: none !important;
}
@media (prefers-reduced-motion: reduce) {
  #showcase-display * {
    animation: none !important;
  }
}
