@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/v7/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/v7/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/v7/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url('/assets/v7/fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/v7/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('/assets/v7/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/v7/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: oklch(0.985 0.006 250);
}

* {
  box-sizing: border-box;
}

::selection {
  background: oklch(0.505 0.135 200 / 0.3);
}

a {
  color: oklch(0.505 0.135 200);
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

a:hover {
  color: oklch(0.4 0.13 200);
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid oklch(0.505 0.135 200);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

@keyframes desmo-pulse {
  0%,
  100% { opacity: 0.35; }
  50% { opacity: 1; }
}

@keyframes desmo-landmark-pulse {
  0%,
  82% {
    opacity: 0;
    transform: scale(0.75);
  }

  88% {
    opacity: 0.55;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(2.2);
  }
}

.site-header {
  -webkit-backdrop-filter: blur(12px);
}

.site-nav a:hover {
  color: oklch(0.2 0.004 250) !important;
}

.hero-image,
.slot-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  object-position: 67% center;
}

.hero-landmark-overlay {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-landmark-dot {
  fill: none;
  stroke: rgb(35 207 192);
  stroke-width: 1.35px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: desmo-landmark-pulse 4.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: opacity, transform;
}

.hero-landmark-dot:nth-of-type(12n + 2) { animation-delay: -0.35s; }
.hero-landmark-dot:nth-of-type(12n + 3) { animation-delay: -0.7s; }
.hero-landmark-dot:nth-of-type(12n + 4) { animation-delay: -1.05s; }
.hero-landmark-dot:nth-of-type(12n + 5) { animation-delay: -1.4s; }
.hero-landmark-dot:nth-of-type(12n + 6) { animation-delay: -1.75s; }
.hero-landmark-dot:nth-of-type(12n + 7) { animation-delay: -2.1s; }
.hero-landmark-dot:nth-of-type(12n + 8) { animation-delay: -2.45s; }
.hero-landmark-dot:nth-of-type(12n + 9) { animation-delay: -2.8s; }
.hero-landmark-dot:nth-of-type(12n + 10) { animation-delay: -3.15s; }
.hero-landmark-dot:nth-of-type(12n + 11) { animation-delay: -3.5s; }
.hero-landmark-dot:nth-of-type(12n + 12) { animation-delay: -3.85s; }

.peripheral-image {
  min-height: 100%;
  filter: invert(1) saturate(0.06) brightness(1.02);
}

.peripherals-grid article:first-child .peripheral-image {
  object-position: 42% center;
}

.peripherals-grid article:last-child .peripheral-image {
  object-position: 30% center;
}

.capability-button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 11px 20px;
  border: 0;
  border-top: 1px solid oklch(0.9 0.008 250);
  background: transparent;
  color: oklch(0.36 0.008 250);
  text-align: left;
  font-size: 14.5px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.capability-button > span:first-child {
  width: 12px;
  color: oklch(0.505 0.135 200);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
}

.capability-button:hover,
.capability-button:focus-visible,
.capability-button.is-active {
  background: oklch(0.912 0.007 250);
  color: oklch(0.18 0.004 250);
}

.reset-view {
  margin-left: auto;
  padding: 7px 13px;
  border: 1px solid oklch(0.872 0.008 250);
  background: transparent;
  color: oklch(0.496 0.008 250);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.reset-view:hover,
.reset-view.is-active {
  border-color: oklch(0.6 0.008 250);
  color: oklch(0.2 0.004 250);
}

.viewer-status {
  color: oklch(0.51 0.008 250);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

model-viewer {
  touch-action: pan-y;
}

.contact-section input:focus,
.contact-section textarea:focus {
  outline: none;
  border-color: oklch(0.505 0.135 200) !important;
}

.contact-section button[type='submit']:hover {
  background: oklch(0.4 0.13 200) !important;
}

.contact-section button[type='submit']:disabled {
  cursor: wait;
  opacity: 0.65;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: oklch(0.42 0.008 250);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  line-height: 1.4;
}

.form-status.is-error {
  color: oklch(0.48 0.17 25);
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 14px !important;
  }

  .site-nav {
    justify-content: flex-start !important;
    width: 100%;
  }

  .hero-section {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    padding-top: 64px !important;
  }

  .system-grid {
    grid-template-columns: 1fr !important;
  }

  .viewer-panel {
    border-top: 1px solid oklch(0.886 0.008 250) !important;
    border-left: 0 !important;
  }

  .peripherals-grid,
  .research-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  #dataquality > div[style*='display: grid; gap: 1px'] > div {
    grid-template-columns: 220px minmax(0, 1fr) !important;
    gap: 28px !important;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 132px;
  }

  .site-header {
    padding: 14px 20px !important;
  }

  .site-nav {
    gap: 10px 14px !important;
    font-size: 10px !important;
  }

  .site-nav a:last-child {
    padding: 6px 10px !important;
  }

  .hero-section,
  .content-section {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .hero-section {
    padding-top: 48px !important;
    padding-bottom: 52px !important;
  }

  .hero-section h1 {
    font-size: clamp(38px, 12vw, 48px) !important;
  }

  .content-section {
    padding-top: 72px !important;
  }

  .content-section > h2 {
    font-size: 31px !important;
  }

  .stats-grid {
    grid-template-columns: 1fr !important;
    padding: 0 20px !important;
  }

  .stats-grid > div {
    padding: 22px 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid oklch(0.886 0.008 250);
  }

  .stats-grid > div:last-child {
    border-bottom: 0;
  }

  .capability-details [data-capability-panel] > div {
    grid-template-columns: 1fr !important;
  }

  .peripherals-grid article {
    grid-template-columns: 1fr !important;
  }

  .peripherals-grid article > div:first-child {
    min-height: 260px;
    border-right: 0 !important;
    border-bottom: 1px solid oklch(0.9 0.008 250);
  }

  #sync > div[style*='border: 1px'] {
    overflow-x: auto;
    padding: 24px 20px !important;
  }

  .timeline-grid {
    min-width: 650px;
    grid-template-columns: 180px minmax(0, 1fr) !important;
  }

  #dataquality > div[style*='display: grid; gap: 1px'] > div {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 24px 20px !important;
  }

  #dataquality > div[style*='display: grid; gap: 1px'] > div > div:first-child {
    padding-right: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid oklch(0.9 0.008 250);
  }

  #dataquality > div[style*='grid-template-columns: repeat(3'] {
    grid-template-columns: 1fr !important;
  }

  .research-grid article {
    padding: 24px !important;
  }

  .contact-grid {
    gap: 36px !important;
    padding: 30px 24px !important;
  }

  .site-footer {
    align-items: flex-start !important;
    flex-direction: column;
    margin-top: 72px !important;
    padding: 24px 20px 40px !important;
  }
}

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

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

  .hero-landmark-dot {
    animation: none !important;
    opacity: 0;
  }
}
