/* ==========================================================================
   Oy Scanteknik Ab – immersive site
   Dark "metrology lab" look: graphite, brushed steel, the blue of the machines.
   ========================================================================== */

:root {
  --bg: #06080b;
  --bg-2: #080b0f;
  --surface: #0c1117;
  --panel: rgba(9, 13, 18, 0.74);
  --line: rgba(150, 175, 205, 0.14);
  --line-2: rgba(150, 175, 205, 0.3);
  --text: #e8edf2;
  --muted: #9aa6b3;
  --dim: #66727f;
  --accent: #3f8cff;
  --accent-hover: #5c9eff;
  --accent-2: #93c2ff;
  --accent-soft: rgba(63, 140, 255, 0.15);
  --accent-glow: rgba(63, 140, 255, 0.4);
  --paper: #eef1f4;
  --steel-grad: linear-gradient(180deg, #f6f8fa 0%, #c3ccd5 55%, #7e8a96 100%);

  --f-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 68px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

h1, h2, h3, h4, p, dl, dd, figure, blockquote {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

main:focus {
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Type helpers ---------- */

.eyebrow,
.kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.note {
  font-family: var(--f-mono);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--dim);
}

.section-title {
  margin: 14px 0 20px;
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 700;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-lead {
  max-width: 40em;
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--muted);
}

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  font-stretch: 105%;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.3s, transform 0.2s;
}

.button:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 34px -10px var(--accent-glow);
}

.button svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s;
}

.button:hover svg {
  transform: translateX(2px);
}

.button--ghost {
  background: rgba(6, 8, 11, 0.35);
  border-color: var(--line-2);
  color: var(--text);
}

.button--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.button--small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.button--large {
  min-height: 58px;
  padding: 0 28px;
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  background: rgba(6, 8, 11, 0.78);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand__mark {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.brand__name {
  font-size: 16px;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.lang-switch {
  display: flex;
  gap: 2px;
}

.lang-switch button {
  padding: 6px 7px;
  border: 0;
  background: none;
  color: var(--dim);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.lang-switch button:hover {
  color: var(--text);
}

.lang-switch button[aria-pressed="true"] {
  color: var(--text);
  box-shadow: inset 0 -1px 0 var(--accent);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: none;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }

.is-menu-open .menu-toggle__bars { background: transparent; }
.is-menu-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-menu-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Stage
   ========================================================================== */

.stage {
  position: relative;
}

.stage__viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  margin-bottom: -100vh;
  margin-bottom: -100svh;
  overflow: hidden;
  z-index: 0;
}

.stage__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 60% at 70% 58%, rgba(44, 108, 196, 0.3), transparent 70%),
    radial-gradient(ellipse 80% 60% at 70% 110%, rgba(44, 108, 196, 0.18), transparent 70%),
    linear-gradient(180deg, #05070a 0%, #070a0e 100%);
}

.stage__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(150, 175, 205, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 175, 205, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 70% 55%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 70% at 70% 55%, #000 10%, transparent 75%);
}

.stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

.is-ready .stage__canvas {
  opacity: 1;
}

.stage__fallback {
  display: none;
  position: absolute;
  top: 50%;
  right: 7vw;
  width: auto;
  height: min(72vh, 720px);
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  transform: translateY(-50%);
}

.is-fallback .stage__fallback {
  display: block;
}

.is-fallback .stage__canvas,
.is-fallback .hud__loader {
  display: none;
}

/* HUD chrome */

.hud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hud__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid var(--line-2);
}

.hud__corner--tl { top: calc(var(--header-h) + 12px); left: 18px; border-top-width: 1px; border-left-width: 1px; }
.hud__corner--tr { top: calc(var(--header-h) + 12px); right: 18px; border-top-width: 1px; border-right-width: 1px; }
.hud__corner--bl { bottom: 18px; left: 18px; border-bottom-width: 1px; border-left-width: 1px; }
.hud__corner--br { bottom: 18px; right: 18px; border-bottom-width: 1px; border-right-width: 1px; }

.hud__status {
  position: absolute;
  right: 50px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hud__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hud__loader {
  position: absolute;
  top: 55%;
  left: 70%;
  width: 120px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: opacity 0.6s;
}

.hud__loader span {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent-2);
  animation: loader 1.1s ease-in-out infinite;
}

.is-ready .hud__loader {
  opacity: 0;
}

@keyframes pulse {
  50% { opacity: 0.25; }
}

@keyframes loader {
  from { transform: translateX(-100%); }
  to { transform: translateX(250%); }
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 32px) 0 40px;
}

.hero > .container {
  display: grid;
  grid-template-rows: 1fr auto auto;
}

.hero__copy {
  align-self: center;
  max-width: 600px;
}

.hero__title {
  margin: 22px 0 24px;
  font-size: clamp(46px, 6.4vw, 100px);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 31em;
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.readouts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 760px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.readouts > div {
  padding: 16px 16px 0 0;
}

.readouts dt {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.readouts dd {
  margin-top: 6px;
  font-size: 19px;
  font-weight: 600;
  font-stretch: 110%;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.scroll-cue__line {
  position: relative;
  width: 1px;
  height: 34px;
  background: var(--line);
  overflow: hidden;
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-2);
  animation: cue 2.2s var(--ease) infinite;
}

@keyframes cue {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

/* ==========================================================================
   Content sections
   ========================================================================== */

.section {
  position: relative;
  z-index: 1;
  padding: clamp(88px, 11vw, 160px) 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 820px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* Reveal and scan-line effects (only when JavaScript runs) */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.scan {
  position: relative;
}

.js .scan img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.3s var(--ease) 0.15s;
}

.js .is-in .scan img {
  clip-path: inset(0);
}

.scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 2;
  height: 2px;
  background: var(--accent-2);
  box-shadow: 0 0 18px 3px var(--accent);
  opacity: 0;
  pointer-events: none;
}

.js .is-in .scan::after {
  animation: scanline 1.3s var(--ease) 0.15s;
}

@keyframes scanline {
  0% { top: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Cursor glow on cards */

[data-glow] {
  position: relative;
}

[data-glow]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(63, 140, 255, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

[data-glow]:hover::before {
  opacity: 1;
}

/* Sieve types bento */

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 250px;
  gap: 14px;
}

.tile {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tile--a { grid-column: 1 / span 7; grid-row: span 2; }
.tile--b { grid-column: 8 / span 5; }
.tile--c { grid-column: 8 / span 5; }
.tile--d { grid-column: 1 / span 5; }
.tile--e { grid-column: 6 / span 7; }

.tile__media {
  position: absolute;
  inset: 0;
}

.tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
  transition: transform 1.4s var(--ease), clip-path 1.3s var(--ease) 0.15s;
}

.tile:hover .tile__media img {
  transform: scale(1.04);
}

.tile__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0) 35%, rgba(6, 8, 11, 0.92) 100%);
}

.tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 24px;
}

.tile h3 {
  font-size: 22px;
  font-weight: 650;
  font-stretch: 108%;
  line-height: 1.15;
}

.tile p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

.tile--text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(63, 140, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #0e1520, #0a0e13);
}

.tile--text .tile__body {
  position: static;
  padding: 0;
  max-width: 34em;
}

.tile__quote {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 600;
  font-stretch: 110%;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.chip {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  background: rgba(6, 8, 11, 0.6);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--text);
}

.chip--accent {
  border-color: var(--accent);
  color: var(--accent-2);
}

/* Spec strip */

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.spec-strip > div {
  padding: 18px 16px 0 0;
}

.spec-strip dt,
.spec-table dt,
.contact__grid dt,
.stat dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
}

.spec-strip dd {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  font-stretch: 108%;
}

.spec-note {
  margin-top: 18px;
}

/* Machines */

.section--machines {
  background: var(--bg-2);
}

.shakers {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.shakers__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.shakers__title {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tabs {
  display: flex;
  gap: 6px;
}

.tabs [role="tab"] {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: none;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tabs [role="tab"]:hover {
  color: var(--text);
  border-color: var(--accent);
}

.tabs [role="tab"][aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.shaker {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 560px;
  animation: panel-in 0.6s var(--ease);
}

.shaker[hidden] {
  display: none;
}

/* A model with no current photo: the details take the whole panel. */
.shaker--text {
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
}

.shaker--text .shaker__info {
  max-width: 760px;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px); }
}

.specimen {
  --pad: clamp(20px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.specimen img {
  position: absolute;
  top: var(--pad);
  left: var(--pad);
  width: calc(100% - 2 * var(--pad));
  height: calc(100% - 2 * var(--pad));
  object-fit: contain;
  mix-blend-mode: multiply;
}

.specimen--photo {
  --pad: 0px;
}

.specimen--photo img {
  object-fit: cover;
  mix-blend-mode: normal;
}

.specimen::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(20, 30, 45, 0.12);
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) top left / 18px 18px no-repeat, linear-gradient(#000 0 0) top right / 18px 18px no-repeat,
    linear-gradient(#000 0 0) bottom left / 18px 18px no-repeat, linear-gradient(#000 0 0) bottom right / 18px 18px no-repeat;
  mask: linear-gradient(#000 0 0) top left / 18px 18px no-repeat, linear-gradient(#000 0 0) top right / 18px 18px no-repeat,
    linear-gradient(#000 0 0) bottom left / 18px 18px no-repeat, linear-gradient(#000 0 0) bottom right / 18px 18px no-repeat;
}

.shaker .specimen--photo img {
  object-position: center 30%;
}

.shaker__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(26px, 4vw, 56px);
}

.model {
  font-size: clamp(68px, 9vw, 136px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.model--small {
  font-size: 34px;
  letter-spacing: -0.02em;
}

.shaker__tag {
  margin-top: 18px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.shaker__desc {
  max-width: 30em;
  margin-top: 10px;
  font-size: 18px;
}

.spec-table {
  width: 100%;
  margin: 26px 0 30px;
}

.spec-table > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.spec-table > div:last-child {
  border-bottom: 1px solid var(--line);
}

.spec-table dd {
  font-size: 15.5px;
}

/* Shared shaker features */

.features {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  margin-top: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.features__title {
  font-size: 20px;
  font-weight: 650;
  font-stretch: 108%;
  line-height: 1.15;
}

.features__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.features__list li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted);
}

.features__list svg {
  width: 26px;
  height: 26px;
  color: var(--accent-2);
}

/* Other equipment */

.subhead {
  margin: clamp(64px, 8vw, 96px) 0 24px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 650;
  font-stretch: 110%;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.card .specimen {
  --pad: 22px;
  aspect-ratio: 4 / 3;
}

.card .specimen--photo {
  --pad: 0px;
}

/* A product with no current photo: the text sits at the bottom of the card. */
.card--text {
  justify-content: flex-end;
}

.card--text .card__body {
  flex: none;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 24px 26px;
}

.card h4 {
  font-size: 20px;
  font-weight: 650;
  font-stretch: 106%;
  line-height: 1.2;
}

.card p {
  font-size: 15px;
  color: var(--muted);
}

.points {
  margin: 4px 0 6px;
  padding: 0;
  list-style: none;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text);
}

.points li {
  display: flex;
  gap: 8px;
  padding: 3px 0;
}

.points li::before {
  content: "—";
  color: var(--accent);
}

.card .text-link {
  margin-top: auto;
  padding-top: 8px;
}

/* Quality */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 10px;
  padding: 30px 24px 30px 0;
}

.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stat dd {
  font-size: clamp(56px, 7.5vw, 116px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat--wide dd {
  font-size: clamp(40px, 4.2vw, 66px);
  white-space: nowrap;
}

.stat__sep {
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

/* Services marquee */

.services {
  position: relative;
  z-index: 1;
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee__run {
  display: flex;
  align-items: center;
}

.marquee__run span {
  padding: 0 0.3em;
  font-size: clamp(56px, 10vw, 150px);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(207, 214, 221, 0.38);
}

.marquee__run i {
  width: 0.16em;
  height: 0.16em;
  font-size: clamp(56px, 10vw, 150px);
  background: var(--accent);
  transform: rotate(45deg);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.services__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
  list-style: none;
}

.services__list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  font-stretch: 106%;
}

.services__n {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 400;
  color: var(--accent-2);
}

.services__statement {
  margin-top: 28px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--muted);
}

/* Contact footer */

.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(88px, 11vw, 150px) 0 30px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 70% at 15% 0%, rgba(63, 140, 255, 0.14), transparent 65%),
    var(--bg);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.contact__title {
  margin: 14px 0 20px;
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 700;
  font-stretch: 112%;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: var(--steel-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact__head .button {
  margin-top: 32px;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
}

.contact__grid > div {
  padding: 16px 0 22px;
  border-top: 1px solid var(--line);
}

.contact__grid dd {
  margin-top: 8px;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.contact__grid dd a:not(.text-link) {
  text-decoration: none;
  transition: color 0.2s;
}

.contact__grid dd a:not(.text-link):hover {
  color: var(--accent-2);
}

.contact__grid address {
  font-style: normal;
}

.contact__grid .text-link {
  margin-top: 10px;
  font-size: 15px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  margin-top: clamp(64px, 8vw, 110px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--dim);
}

.brand--footer {
  color: var(--text);
}

.site-footer__bottom .text-link {
  font-size: 13.5px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .features {
    grid-template-columns: 1fr;
  }

  .features__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 8, 11, 0.96);
  }

  .is-menu-open .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    font-stretch: 108%;
    color: var(--text);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .shaker {
    grid-template-columns: 1fr;
  }

  .shaker .specimen {
    min-height: 420px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .services__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Portrait / phone: the machine sits in the top of the stage, text cards slide over the bottom. */
@media (max-width: 760px), (max-aspect-ratio: 17/20) {
  .stage__backdrop {
    background:
      radial-gradient(ellipse 80% 45% at 50% 30%, rgba(44, 108, 196, 0.3), transparent 70%),
      linear-gradient(180deg, #05070a 0%, #070a0e 100%);
  }

  .stage__backdrop::after {
    -webkit-mask-image: radial-gradient(ellipse 80% 45% at 50% 30%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 45% at 50% 30%, #000 10%, transparent 75%);
  }

  .hud__loader {
    top: 32%;
    left: 50%;
  }

  .hud__status {
    top: calc(var(--header-h) + 18px);
    left: 26px;
    right: auto;
    bottom: auto;
  }

  .stage__fallback {
    top: calc(var(--header-h) + 24px);
    right: 50%;
    height: 42vh;
    transform: translateX(50%);
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 30%, rgba(6, 8, 11, 0.85) 54%, var(--bg) 100%);
    pointer-events: none;
  }

  .hero > .container {
    grid-template-rows: 1fr auto auto;
  }

  .hero__copy {
    align-self: end;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .header-cta {
    display: none;
  }

  .header-tools {
    gap: 8px;
  }

  .hero__title {
    margin: 16px 0 16px;
  }

  .hero__actions .button {
    flex: 1 1 auto;
  }

  .readouts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .readouts dd {
    font-size: 16px;
  }

  .scroll-cue {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .tile--a,
  .tile--b,
  .tile--c,
  .tile--d,
  .tile--e {
    grid-column: auto;
    grid-row: auto;
  }

  .tile--e {
    min-height: 300px;
  }

  .spec-strip,
  .contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features__list,
  .cards {
    grid-template-columns: 1fr;
  }

  .features__list li {
    flex-direction: row;
    align-items: center;
  }

  .spec-table > div {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat + .stat {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .lang-switch button {
    padding: 6px 5px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .js .scan img {
    clip-path: none;
  }

  .marquee__track {
    animation: none;
  }
}
