/* Rift Machines. Hand-written, no build step. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #050607;
  --bg-2: #0a0c0e;
  --bg-3: #101316;
  --ink: #f3f0ea;
  --ink-2: rgba(243, 240, 234, 0.72);
  --ink-3: rgba(243, 240, 234, 0.56);
  --ink-4: rgba(243, 240, 234, 0.22);
  --line: rgba(243, 240, 234, 0.11);
  --line-2: rgba(243, 240, 234, 0.2);
  --accent: #ff5b1f;
  --accent-soft: rgba(255, 91, 31, 0.14);
  --ok: #3fe08c;
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1680px;
  --nav-h: 72px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  background: var(--bg);
}

/* film grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #0a0a0a; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ------------------------------------------------------------- type -- */

.display {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 0.97;
}

.h1 { font-size: clamp(2.5rem, 4.8vw, 5.8rem); }
.hero-h1 { font-size: clamp(2.3rem, 4.7vw, 5.7rem); }
.h2 { font-size: clamp(2.1rem, 4.3vw, 4.6rem); }
.h3 { font-size: clamp(1.5rem, 2.5vw, 2.6rem); line-height: 1.04; }

.lede {
  font-size: clamp(1.02rem, 1.2vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 400;
}

.dim { color: var(--ink-2); }
.dimmer { color: var(--ink-3); }
.accent { color: var(--accent); }

/* lines of a heading slide up out of a mask */
.ln { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.ln > span { display: block; text-wrap: balance; }
.js .ln > span { transform: translateY(112%); transition: transform 1.15s var(--ease); }
.js .in .ln > span, .js .ln.in > span { transform: none; }
.js .ln:nth-child(2) > span { transition-delay: 0.09s; }
.js .ln:nth-child(3) > span { transition-delay: 0.18s; }
.js .ln:nth-child(4) > span { transition-delay: 0.27s; }

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 50px;
  padding: 0 22px 0 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: var(--ink);
  color: #08090a;
  border: 1px solid var(--ink);
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.4; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #08090a; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(243, 240, 234, 0.06); color: var(--ink); }
.btn.sm { height: 38px; padding: 0 14px 0 16px; font-size: 13px; gap: 10px; }

.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  transition: border-color 0.3s, color 0.3s;
}
.link svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.4; transition: transform 0.35s var(--ease); }
.link:hover { border-color: var(--accent); }
.link:hover svg { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------- nav -- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(5, 6, 7, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 26px; height: 26px; fill: var(--ink); }
.brand span {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
}

.nav-links { display: flex; gap: clamp(20px, 2.6vw, 44px); position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a {
  font-size: 13.5px;
  font-weight: 450;
  color: var(--ink-2);
  transition: color 0.25s;
  position: relative;
  padding: 8px 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
}

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav-toggle i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav-toggle i:first-child { top: 18px; }
.nav-toggle i:last-child { top: 25px; }
.menu-open .nav-toggle i:first-child { top: 21.5px; transform: rotate(45deg); }
.menu-open .nav-toggle i:last-child { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(5, 6, 7, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 24px) var(--pad) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.menu-open .menu { opacity: 1; visibility: visible; }
.menu a.big {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--display); font-stretch: 112%; font-weight: 560;
  font-size: clamp(2.2rem, 11vw, 3.6rem); letter-spacing: -0.03em; line-height: 1;
  padding: 18px 0; border-top: 1px solid var(--line);
  transform: translateY(20px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.menu-open .menu a.big { transform: none; opacity: 1; }
.menu-open .menu a.big:nth-child(2) { transition-delay: 0.05s; }
.menu-open .menu a.big:nth-child(3) { transition-delay: 0.1s; }
.menu-open .menu a.big:nth-child(4) { transition-delay: 0.15s; }

/* ------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1200px;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  transform: translate(7%, -3%) scale(1.02);
  transform-origin: 70% 45%;
}
.js .hero-media { opacity: 0; transition: opacity 2.2s ease 0.15s; }
.js .hero.in .hero-media { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 7, 0) 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 55%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end;
  padding-bottom: clamp(36px, 6vh, 72px);
}
.hero-copy .lede { margin-top: clamp(18px, 2.6vh, 30px); max-width: 30em; }
.hero-copy .actions { margin-top: clamp(22px, 3.4vh, 38px); }

.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(63, 224, 140, 0.6); animation: pulse 2.4s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(63, 224, 140, 0.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(63, 224, 140, 0); } }

/* inner page hero */
.page-hero {
  position: relative;
  min-height: min(100svh, 1100px);
  padding-top: calc(var(--nav-h) + clamp(40px, 9vh, 120px));
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vh, 88px); }
.page-hero .lede { margin-top: 26px; }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 4%, rgba(5, 6, 7, 0.1) 50%, rgba(5, 6, 7, 0.4) 100%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.6) 0%, rgba(5, 6, 7, 0) 70%);
}

/* --------------------------------------------------------- sections -- */

.sec { position: relative; padding: clamp(72px, 9vw, 144px) 0; }
.sec.tight { padding: clamp(64px, 8vw, 128px) 0; }

/* manifesto */
.manifesto-text {
  font-family: var(--display);
  font-stretch: 108%;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.5vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 21em;
}
.manifesto-text .w { color: var(--ink-4); transition: color 0.5s ease; }
.manifesto-text .w.on { color: var(--ink); }
.manifesto-text .w.key.on { color: var(--accent); }

.cols3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 5vw, 80px);
  border-top: 1px solid var(--line);
}
.cols3 > div { padding: 26px clamp(18px, 2.4vw, 40px) 0 0; }
.cols3 > div + div { padding-left: clamp(18px, 2.4vw, 40px); border-left: 1px solid var(--line); }
.cols3 h3 { font-size: 16px; font-weight: 500; margin: 0 0 10px; letter-spacing: 0; }
.cols3 p { color: var(--ink-2); font-size: 15px; max-width: 30em; }

/* showcase: the machine in front of its own name */
.showcase { position: relative; padding: 0 0 clamp(72px, 9vw, 144px); overflow: hidden; }
.showcase::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 120vw; height: 70vw; max-height: 1100px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 110, 50, 0.085), rgba(255, 110, 50, 0) 70%);
  pointer-events: none;
}
.showcase-stage { position: relative; margin-top: clamp(20px, 3vw, 48px); }
.showcase-name {
  position: absolute; left: 0; right: 0; top: 2%;
  text-align: center;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 15.6vw; line-height: 0.8; letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 240, 234, 0.2);
  user-select: none; pointer-events: none;
  white-space: nowrap;
}
.showcase-name span { display: block; }
.showcase-img { position: relative; width: 100%; }
.showcase-img img { width: 100%; height: auto; }
.showcase-foot {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 56px);
  margin-top: clamp(28px, 4vw, 72px);
  align-items: start;
}
.fact { border-top: 1px solid var(--line); padding-top: 20px; }
.fact p { font-size: 15px; color: var(--ink-2); }
.fact p strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

.frame {
  position: relative; width: 100%; height: 100%;
  background: radial-gradient(120% 90% at 60% 40%, #111519 0%, #07090a 62%, #050607 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}


/* full-bleed picture band */
.band { position: relative; height: clamp(520px, 92vh, 1040px); overflow: hidden; display: flex; align-items: flex-end; }
.band-media { position: absolute; inset: -9% 0; }
.band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 7, 0.1) 42%, rgba(5, 6, 7, 0) 60%, rgba(5, 6, 7, 0.75) 100%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.55) 0%, rgba(5, 6, 7, 0) 55%);
}
.band .wrap { position: relative; z-index: 2; padding-bottom: clamp(40px, 7vw, 104px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.band .lede { margin-top: 22px; }

/* supervision */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(36px, 6vw, 120px); align-items: center; }
.split .lede { margin-top: 26px; }
.modes { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.modes li { display: grid; grid-template-columns: 11em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; align-items: baseline; }
.modes li b { font-weight: 500; }
.modes li span:last-child { color: var(--ink-2); }

.console {
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
}
.console-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.console-top .grp { display: flex; align-items: center; gap: 18px; min-width: 0; }
.console-top svg { width: 15px; height: 15px; fill: var(--ink); flex: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px solid var(--line-2); color: var(--ink); white-space: nowrap; transition: border-color 0.3s, color 0.3s; }
.console[data-state="held"] .pill, .console[data-state="teleop"] .pill { border-color: var(--accent); color: var(--accent); }
.console[data-state="held"] .pill .dot, .console[data-state="teleop"] .pill .dot { background: var(--accent); animation: none; }
.console-map { position: relative; padding: 8px 0 0; border-bottom: 1px solid var(--line); background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 100%;
  background-color: rgba(0, 0, 0, 0.25);
}
.console-map svg { width: 100%; height: auto; }
.console-map text { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; fill: rgba(243, 240, 234, 0.62); }
.console-map text.hi { fill: #f3f0ea; }
.console-map text.sm { display: none; }
.console-cells { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.console-cells > div { padding: 14px 18px 16px; }
.console-cells > div + div { border-left: 1px solid var(--line); }
.console-cells b { display: block; margin-top: 8px; font-family: var(--display); font-stretch: 110%; font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -0.02em; color: var(--ink); text-transform: none; line-height: 1; font-variant-numeric: tabular-nums; }
.console-cells b small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); margin-left: 5px; font-weight: 400; }
.hands { display: flex; gap: 5px; margin-top: 13px; height: 17px; align-items: center; }
.hands i { width: 9px; height: 9px; border: 1px solid var(--ink-2); background: var(--ink); transition: background 0.3s; }
.hands i.off { background: transparent; }
.console-foot { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding: 14px 18px; align-items: center; }
.console-log { height: 3.2em; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink-3); line-height: 1.6; }
.console-log div:last-child { color: var(--ink-2); }
.console-btns { display: flex; gap: 8px; }
.cbtn {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  height: 42px; padding: 0 16px; border: 1px solid var(--line-2); color: var(--ink);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.cbtn:hover { border-color: var(--ink); }
.cbtn.hold { border-color: var(--accent); color: var(--accent); }
.cbtn.hold:hover, .cbtn.is-on { background: var(--accent); color: #08090a; border-color: var(--accent); }
.console-cap { margin-top: 14px; color: var(--ink-3); font-size: 13px; }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: clamp(24px, 3vw, 44px) clamp(16px, 2.2vw, 36px) clamp(28px, 3.4vw, 52px); }
.stats > div + div { border-left: 1px solid var(--line); }
.stats b {
  display: block; margin: 0 0 16px;
  font-family: var(--display); font-stretch: 118%; font-weight: 480;
  font-size: clamp(2.8rem, 6.6vw, 7.4rem); line-height: 0.9; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.stats b small { font-size: 0.3em; letter-spacing: 0; font-weight: 500; color: var(--ink-2); margin-left: 0.25em; font-stretch: 100%; }
.stats p { color: var(--ink-2); font-size: 14.5px; max-width: 18em; }


/* ------------------------------------------------- product: anatomy -- */

.anatomy { position: relative; }
.anatomy-stage { position: relative; margin-top: clamp(24px, 4vw, 64px); }
.anatomy-stage img { width: 100%; height: auto; }
.hot { position: absolute; width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; display: grid; place-items: center; z-index: 2; }
.hot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(243, 240, 234, 0.55); background: rgba(5, 6, 7, 0.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease); }
.hot span { position: relative; font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--ink); transition: color 0.3s; }
.hot:hover::before, .hot.is-on::before { background: var(--accent); border-color: var(--accent); transform: scale(1.18); }
.hot:hover span, .hot.is-on span { color: #08090a; }
.parts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(24px, 3vw, 56px); border-top: 1px solid var(--line); }
.parts li { padding: 18px clamp(12px, 1.6vw, 28px) 8px 0; transition: opacity 0.3s; cursor: default; }
.parts li + li { padding-left: clamp(12px, 1.6vw, 28px); border-left: 1px solid var(--line); }
.parts .num { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.parts h3 { font-size: 16px; font-weight: 500; margin: 22px 0 8px; }
.parts p { font-size: 14.5px; color: var(--ink-2); }
.parts.has-on li:not(.is-on) { opacity: 0.4; }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 11vw, 180px); }
.feature.flip > .feature-media { order: 2; }
.feature-media { position: relative; aspect-ratio: 4 / 3; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy p + p { margin-top: 1em; }
.feature-copy .lede { margin-top: 24px; }
.kv { margin-top: 36px; border-top: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv dt { color: var(--ink-2); }
.kv dd { text-align: right; }

/* one, two or three lines */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); margin-top: clamp(40px, 5vw, 80px); }
.trio figure { position: relative; padding: 0; background: radial-gradient(90% 80% at 50% 55%, #0f1215 0%, #050607 75%); overflow: hidden; }
.trio figure + figure { border-left: 1px solid var(--line); }
.trio img { width: 118%; max-width: none; margin-left: -9%; transition: transform 1.2s var(--ease); }
.trio figure:hover img { transform: scale(1.04); }


/* spec table */
.spec-table { border-top: 1px solid var(--line-2); margin-top: clamp(32px, 4vw, 64px); }
.spec-table div { display: grid; grid-template-columns: 13em 1fr; gap: 24px; padding: 19px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.spec-table dt { font-size: 14.5px; color: var(--ink-2); }
.spec-table dd { font-size: clamp(1rem, 1.25vw, 1.2rem); }
.spec-table dd small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }

/* ---------------------------------------------------------- company -- */

.prose-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.prose p { font-size: clamp(1.15rem, 1.7vw, 1.7rem); line-height: 1.38; letter-spacing: -0.012em; color: var(--ink); max-width: 30em; }
.prose p + p { margin-top: 1.1em; color: var(--ink-2); }

.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principles li { padding: 26px clamp(14px, 2vw, 32px) clamp(28px, 3vw, 48px) 0; }
.principles h3 { font-family: var(--display); font-stretch: 110%; font-weight: 540; font-size: clamp(1.3rem, 1.8vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.08; max-width: 9em; min-height: 2.2em; }
.principles p { margin-top: 16px; font-size: 15px; color: var(--ink-2); max-width: 22em; }
.principles li + li { padding-left: clamp(14px, 2vw, 32px); border-left: 1px solid var(--line); }



/* ---------------------------------------------------------- headings -- */

.sec-title { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 6vw, 120px); align-items: end; margin-bottom: clamp(32px, 5vw, 72px); }
.sec-title .lede { justify-self: end; }
.showcase-more { margin-top: clamp(28px, 3.4vw, 52px); }
.band-media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 42%; }
.note { margin-top: clamp(28px, 3vw, 44px); padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; max-width: 48em; }

/* four steps, side by side */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); counter-reset: none; }
.steps4 .frame { aspect-ratio: 4 / 5; height: auto; }
.steps4 h3 { font-family: var(--display); font-stretch: 110%; font-weight: 540; font-size: clamp(1.3rem, 1.8vw, 1.85rem); letter-spacing: -0.025em; line-height: 1.05; margin-top: 22px; }
.steps4 p { margin-top: 10px; font-size: 15px; color: var(--ink-2); max-width: 24em; }

/* the film */
.film { position: relative; }
.film-media { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 92vh; overflow: hidden; background: #000; }
.film-media video { width: 100%; height: 100%; object-fit: cover; }
.film-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 7, 0) 16%, rgba(5, 6, 7, 0) 84%, var(--bg) 100%); }
.film-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 6vw, 120px); align-items: start; padding-top: clamp(8px, 2vw, 28px); }
.film-copy .lede { justify-self: end; }

.trio figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 0 20px 18px; font-size: 14px; color: var(--ink-2); }

/* closing block */
.closing { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 190px) 0; border-top: 1px solid var(--line); }
.closing::before {
  content: ""; position: absolute; right: -10vw; top: 50%; width: 80vw; height: 60vw; max-height: 900px;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(255, 110, 50, 0.1), rgba(255, 110, 50, 0) 70%);
  pointer-events: none;
}
.closing .wrap { position: relative; }
.closing .lede { margin-top: 24px; }
.closing .actions { margin-top: 34px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.contact-side .lede { margin-top: 26px; }
.contact-mail { margin-top: 22px; color: var(--ink-2); }
.contact-mail a { color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: border-color 0.3s; }
.contact-mail a:hover { border-color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .wide { grid-column: 1 / -1; }
.form label { display: block; }
.form label span { display: block; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: rgba(243, 240, 234, 0.03); border: 1px solid var(--line-2); border-radius: 2px;
  padding: 13px 14px; transition: border-color 0.25s, background 0.25s;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ink); background: rgba(243, 240, 234, 0.05); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 14px; color: var(--ink-3); }
.form-note.is-error { color: var(--accent); }
.company-hero .page-hero-media img { object-position: 72% 50%; }
.company-hero .page-hero-media::after { background: linear-gradient(0deg, var(--bg) 4%, rgba(5, 6, 7, 0) 40%), linear-gradient(90deg, rgba(5, 6, 7, 0.55) 0%, rgba(5, 6, 7, 0) 60%); }

/* ----------------------------------------------------------- footer -- */

.foot { position: relative; padding-top: clamp(64px, 8vw, 120px); overflow: hidden; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(24px, 4vw, 72px); }
.foot-grid p { color: var(--ink-2); max-width: 22em; font-size: 15px; margin-top: 22px; }
.foot-grid h4 { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-bottom: 18px; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid li a { font-size: 15px; color: var(--ink-2); transition: color 0.25s; }
.foot-grid li a:hover { color: var(--ink); }
.foot-word {
  margin-top: clamp(56px, 8vw, 120px);
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 30.5vw; line-height: 0.74; letter-spacing: -0.01em;
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(243, 240, 234, 0.2) 0%, rgba(243, 240, 234, 0.02) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
  margin-bottom: -4.2vw;
}
.foot-base { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--bg); flex-wrap: wrap; }

/* ------------------------------------------------------- responsive -- */

@media (max-width: 1100px) {
  .parts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parts li:nth-child(n + 4) { border-top: 1px solid var(--line); margin-top: 20px; }
  .parts li:nth-child(4) { border-left: 0; padding-left: 0; }
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles li:nth-child(3) { border-left: 0; padding-left: 0; }
  .principles li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-right .btn { display: none; }
  .nav-toggle { display: block; }

  /* phone: the film sits on top, the words below it */
  .hero { display: block; height: auto; min-height: 0; max-height: none; padding-bottom: 32px; background: linear-gradient(180deg, #000 72%, var(--bg) 100%); }
  .hero-media { position: relative; inset: auto; height: min(47svh, 420px); }
  .hero-media video, .hero-media img { object-position: 76% 50%; transform: scale(1.02); transform-origin: 50% 50%; }
  .hero-shade { inset: 0 0 auto 0; height: min(47svh, 420px); background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 18%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 26%); }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding-bottom: 0; margin-top: -22px; }
  /* phone: let the headline wrap where it wants */
  .hero-h1 .ln { display: inline; overflow: visible; padding: 0; margin: 0; }
  .js .hero-h1 .ln > span, .hero-h1 .ln > span { display: inline; transform: none; }
  .hero-copy .lede { margin-top: 16px; }
  .hero-copy .actions { margin-top: 22px; }

  .cols3 { grid-template-columns: 1fr; }
  .cols3 > div, .cols3 > div + div { padding: 22px 0 28px; border-left: 0; }
  .cols3 > div + div { border-top: 1px solid var(--line); }

  .showcase-stage { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); overflow: hidden; }
  .showcase-img { width: 190%; margin-left: -45%; }
  .showcase-name { font-size: 17.4vw; top: 5vw; }
  .showcase-foot { grid-template-columns: 1fr; }


  .band { height: auto; display: block; overflow: visible; }
  .band::after { display: none; }
  .band-media { position: relative; inset: auto; aspect-ratio: 16 / 9; transform: none !important; }
  .band-media img { object-position: 50% 50%; }
  .band .wrap { flex-direction: column; align-items: flex-start; padding-top: 28px; padding-bottom: 0; }

  .modes li { grid-template-columns: 1fr; gap: 4px; }
  .console-cells { grid-template-columns: repeat(2, 1fr); }
  .console-cells > div:nth-child(3) { border-left: 0; }
  .console-cells > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .console-foot { grid-template-columns: 1fr; }
  .console-btns .cbtn { flex: 1; }
  .console-top .opt { display: none; }
  .console-map text.lg { display: none; }
  .console-map text.sm { display: block; font-size: 24px; }
  .console-log { height: 4.8em; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }


  .anatomy-stage { margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); overflow: hidden; }
  .anatomy-stage .anatomy-img { width: 190%; margin-left: -45%; position: relative; }
  .parts { grid-template-columns: 1fr; }
  .parts li, .parts li + li { padding: 18px 0 22px; border-left: 0; margin-top: 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; }
  .parts li + li { border-top: 1px solid var(--line); }
  .parts h3 { margin: 0 0 6px; grid-column: 2; }
  .parts p { grid-column: 2; }
  .parts.has-on li:not(.is-on) { opacity: 1; }

  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > .feature-media { order: 0; }
  .trio { grid-template-columns: 1fr; }
  .trio figure + figure { border-left: 0; border-top: 1px solid var(--line); }
  .spec-table div { grid-template-columns: 1fr; gap: 6px; }

  .sec-title, .film-copy { grid-template-columns: 1fr; }
  .sec-title .lede, .film-copy .lede { justify-self: start; }
  .steps4 { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .film-media { aspect-ratio: 4 / 3; }
  .contact, .form { grid-template-columns: 1fr; }
  .prose-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .principles li, .principles li + li { border-left: 0; padding: 22px 0 28px; }
  .principles h3 { min-height: 0; }
  .principles li + li { border-top: 1px solid var(--line); }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .steps4 { grid-template-columns: 1fr; }
  .steps4 .frame { aspect-ratio: 4 / 3; }
  .btn { height: 48px; }
  .hero-copy .actions .btn { flex: 1; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .ln > span, .js .hero-media { transition: none; opacity: 1; transform: none; }
  .dot { animation: none; }
}

/* ---------------------------------------------------- product: hero -- */

.anatomy-img { position: relative; }
.product-hero { background: radial-gradient(70% 60% at 68% 40%, #0e1114 0%, var(--bg) 70%); }
.product-hero .page-hero-media img { object-fit: cover; transform: translate(24%, 0.5%) scale(1.04); filter: none; }
.product-hero .page-hero-media { z-index: 1; pointer-events: none; }
.product-hero .page-hero-media::after { background: linear-gradient(0deg, var(--bg) 3%, rgba(5, 6, 7, 0) 24%); }
/* the machine hangs in front of its name; the rest of the copy stays on top */
.product-hero .wrap { z-index: auto; }
.product-hero .wrap > * { position: relative; z-index: 2; }
.product-hero .wrap > .product-title { z-index: 0; }
.product-title {
  font-stretch: 125%;
  font-weight: 720;
  font-size: clamp(3.6rem, 13.4vw, 13.5rem);
  line-height: 0.8;
  letter-spacing: -0.045em;
  margin-left: -0.04em;
}
.product-title .ln { padding-bottom: 0.06em; margin-bottom: -0.06em; padding-top: 0.04em; }

@media (max-width: 900px) {
  /* phone: picture on top, name and copy below it */
  .product-hero { display: block; min-height: 0; padding-top: 0; }
  .product-hero .page-hero-media { position: relative; inset: auto; height: min(52svh, 460px); }
  .product-hero .page-hero-media img { transform: scale(1.12); object-position: 50% 50%; }
  .product-hero .page-hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 7, 0) 30%), linear-gradient(180deg, rgba(5, 6, 7, 0.6) 0%, rgba(5, 6, 7, 0) 20%); }
  .product-hero .wrap { margin-top: -30px; padding-bottom: 48px; }
  .product-hero .wrap > .product-title { z-index: 2; font-size: 18vw; }

  .company-hero { display: block; min-height: 0; padding-top: 0; }
  .company-hero .page-hero-media { position: relative; inset: auto; height: min(50svh, 440px); }
  .company-hero .page-hero-media img { object-position: 64% 50%; }
  .company-hero .page-hero-media::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(5, 6, 7, 0) 30%), linear-gradient(180deg, rgba(5, 6, 7, 0.6) 0%, rgba(5, 6, 7, 0) 20%); }
  .company-hero .wrap { margin-top: -20px; padding-bottom: 48px; }
}
