/* BenevolentAI website: home page and shared styles. Tokens match the Figma variables. */
@font-face {
  font-family: 'Geist';
  src: url(../fonts/geist-400.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url(../fonts/geist-500.woff2) format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Fragment Mono';
  src: url(../fonts/fragment-mono-400.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Sofia XC';
  src: url(../fonts/sofia-xc-700.woff2) format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --mist: #f6f5f0;
  --silver: #ebebe8;
  --alloy: #d7d7d3;
  --white: #ffffff;
  --steel-300: #aeb6c1;
  --steel-500: #7a8492;
  --graphite: #2b323d;
  --smoke: #1c2333;
  --ink: #0b0e14;
  --indigo: #4854c7;
  --orange: #fe5612;
  --orange-ink: #c93d0b;
  --violet: #7b5cfa;
  --amber: #ffb23f;
  --dusk: linear-gradient(
    90deg,
    var(--indigo),
    var(--violet) 40%,
    var(--orange) 75%,
    rgba(255, 178, 63, 0)
  );
  --gutter: 48px;
  --max: 1440px;
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --f-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Fragment Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-stat: 'Sofia XC', 'Arial Narrow', sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--mist);
  color: var(--graphite);
  font: 400 16px/24px var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
video {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
address {
  font-style: normal;
}
:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}
.skip:focus {
  top: 16px;
}

/* Type */
.display-xl {
  font-size: clamp(48px, 6.67vw, 96px);
  line-height: 0.958;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: var(--ink);
}
.display-l {
  font-size: clamp(34px, 4.45vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--ink);
}
.display-m {
  font-size: clamp(30px, 3.06vw, 44px);
  line-height: 1.09;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
}
.display-s {
  font-size: clamp(22px, 1.95vw, 28px);
  line-height: 1.143;
  letter-spacing: -0.015em;
  font-weight: 400;
  color: var(--ink);
}
.body-l {
  font-size: clamp(17px, 1.39vw, 20px);
  line-height: 1.5;
}
.body {
  font-size: 16px;
  line-height: 24px;
}
.body-s {
  font-size: 14px;
  line-height: 20px;
}
.label {
  font: 400 11px/16px var(--f-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.stat__n {
  font: 700 clamp(32px, 4.1vw, 60px)/0.95 var(--f-stat);
  letter-spacing: -0.005em;
  color: var(--ink);
}

/* Lit dots: colour as light, drawn with radial gradients (no shadows) */
.dot {
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  display: inline-block;
}
.dot--indigo {
  background: radial-gradient(
    circle,
    var(--indigo) 0 3px,
    rgba(72, 84, 199, 0.32) 3.5px,
    rgba(72, 84, 199, 0) 8px
  );
}
.dot--orange {
  background: radial-gradient(
    circle,
    var(--orange) 0 3px,
    rgba(254, 86, 18, 0.3) 3.5px,
    rgba(254, 86, 18, 0) 8px
  );
}
.dot--qor {
  background: radial-gradient(
    circle,
    #1de9b6 0 3px,
    rgba(29, 233, 182, 0.34) 3.5px,
    rgba(29, 233, 182, 0) 8px
  );
}
.qor-dot {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.07em;
  border-radius: 50%;
  background: #1de9b6;
} /* the dot of the Qor logo */
.dot--steel {
  background: radial-gradient(circle, var(--steel-300) 0 3px, rgba(174, 182, 193, 0) 4px);
}

/* Layout */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.rule {
  border: 0;
  height: 1px;
  background: var(--alloy);
  margin: 0;
}
.icon {
  width: 56px;
  height: 56px;
}

/* The Knowledge Layer canvas fills its stage */
#kl-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.kl__stage .poster {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font: 500 15px/20px var(--f-sans);
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s;
  white-space: nowrap;
}
.btn--ink {
  background: var(--ink);
  color: var(--white);
}
.btn--ink:hover {
  background: var(--smoke);
}
.btn--outline {
  border: 1px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover {
  background: var(--ink);
  color: var(--white);
}
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--silver);
}
.btn:active {
  transform: scale(0.98);
}
.ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.link {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Nav */
.nav {
  position: fixed;
  top: 16px;
  left: 24px;
  right: 24px;
  z-index: 50;
}
.nav__glass {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
  padding: 0 8px 0 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  transition: background-color 0.4s;
}
.nav.is-scrolled .nav__glass {
  background: rgba(255, 255, 255, 0.78);
}
.nav__logo img {
  height: 22px;
  width: auto;
  color: var(--ink);
}
.nav__links {
  display: flex;
  gap: 36px;
  font: 500 15px/20px var(--f-sans);
  color: var(--graphite);
}
.nav__links a:hover {
  color: var(--ink);
}
.nav__cta {
  justify-self: end;
  height: 40px;
  padding: 0 20px;
}
.nav__menu {
  display: none;
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  position: relative;
}
.nav__menu span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}
.nav__menu span:first-child {
  top: 16px;
}
.nav__menu span:last-child {
  top: 23px;
}
.nav__menu[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.nav__menu[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.menu[hidden] {
  display: none;
}
.menu {
  margin-top: 8px;
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: grid;
  gap: 24px;
}
.menu nav {
  display: grid;
  gap: 4px;
}
.menu nav a {
  font-size: 28px;
  line-height: 40px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* 01 Hero: a self-contained, full-bleed film */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--mist);
}
.hero__film {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__poster,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero__video {
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero__video.is-playing {
  opacity: 1;
}
.hero__film::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(246, 245, 240, 0.95) 0%,
      rgba(246, 245, 240, 0.8) 28%,
      rgba(246, 245, 240, 0.3) 46%,
      rgba(246, 245, 240, 0) 62%
    ),
    linear-gradient(180deg, rgba(246, 245, 240, 0.85) 0, rgba(246, 245, 240, 0) 160px),
    linear-gradient(0deg, var(--mist) 0, rgba(246, 245, 240, 0) 180px);
}
.hero__copy {
  padding-bottom: clamp(96px, 14svh, 150px);
}
.hero__copy .label {
  color: var(--graphite);
  margin-bottom: 28px;
}
.hero__copy h1 {
  margin-bottom: 28px;
  max-width: 12ch;
}
.hero__lede {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--graphite);
}

/* Night grade (?hero=night): one dark moment, the page below stays light */
.hero-night .hero {
  background: var(--ink);
}
.hero-night .hero__film::after {
  background:
    linear-gradient(
      90deg,
      rgba(11, 14, 20, 0.92) 0%,
      rgba(11, 14, 20, 0.72) 30%,
      rgba(11, 14, 20, 0.2) 52%,
      rgba(11, 14, 20, 0) 66%
    ),
    linear-gradient(180deg, rgba(11, 14, 20, 0.8) 0, rgba(11, 14, 20, 0) 160px),
    linear-gradient(0deg, rgba(11, 14, 20, 0.85) 0, rgba(11, 14, 20, 0) 200px);
}
.hero-night .hero h1 {
  color: var(--white);
}
.hero-night .hero__lede {
  color: rgba(255, 255, 255, 0.78);
}
.hero-night .hero__copy .label {
  color: rgba(255, 255, 255, 0.66);
}
.hero-night .hero__cta {
  background: var(--white);
  color: var(--ink);
}
.nav.is-dark .nav__glass {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}
.nav.is-dark .nav__logo img {
  filter: invert(1) brightness(2);
}
.nav.is-dark .nav__links {
  color: rgba(255, 255, 255, 0.82);
}
.nav.is-dark .nav__links a:hover {
  color: #fff;
}
.nav.is-dark .nav__cta {
  background: var(--white);
  color: var(--ink);
}
.nav.is-dark .nav__menu span {
  background: #fff;
}

/* No live 3D: the Knowledge Layer shows its poster and a step list */
.no-3d #kl-canvas,
.no-3d .kl__tags,
.no-3d .kl__progress,
.no-3d .kl__stage .caption {
  display: none;
}
.no-3d .kl__stage .poster {
  display: block;
}

/* 02 Trust and foundation */
.trust {
  padding: 112px 0 96px;
}
.trust__statement {
  display: grid;
  grid-template-columns: 476px 1fr;
  gap: 48px;
  align-items: start;
}
.trust__statement .display-s {
  max-width: 820px;
}
.marquee {
  margin: 56px 0 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track li {
  flex: none;
  width: 160px;
  height: 64px;
  display: grid;
  place-items: center;
}
.marquee__track img {
  width: 150px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.6;
}
.wordmark-text {
  font: 500 15px/20px var(--f-sans);
  color: var(--ink);
  opacity: 0.6;
  white-space: nowrap;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.foundation {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.stat .icon {
  margin-bottom: 20px;
}
.stat .body {
  margin-top: 12px;
  max-width: 320px;
}

/* 03 The Benevolent Knowledge Layer */
.kl {
  padding-top: 120px;
}
.kl__head {
  text-align: left;
  display: grid;
  justify-items: start;
  gap: 24px;
  margin-bottom: 56px;
}
.kl__head h2 {
  max-width: 900px;
}
.kl__head .body-l {
  max-width: 760px;
  color: var(--graphite);
}
.kl__pin {
  position: relative;
  padding: 0 24px;
}
.stage {
  border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 35%, #fbfbf8 0%, #efeeea 55%, #e4e3de 100%);
  overflow: hidden;
}
.kl__stage {
  position: relative;
  height: min(860px, calc(100svh - 96px));
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}
.kl__tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tag {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  opacity: 0;
  will-change: transform, opacity;
}
.dot--ink {
  background: radial-gradient(circle, var(--graphite) 0 3px, rgba(43, 50, 61, 0) 4px);
}
.dot--violet {
  background: radial-gradient(
    circle,
    var(--violet) 0 3px,
    rgba(123, 92, 250, 0.3) 3.5px,
    rgba(123, 92, 250, 0) 8px
  );
}
.kl__progress {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.kl__progress button {
  width: 22px;
  height: 28px;
  display: grid;
  place-items: center;
  transition: width 0.4s var(--ease);
}
.kl__progress button span {
  display: block;
  width: 8px;
  height: 3px;
  border-radius: 2px;
  background: var(--alloy);
  transition:
    width 0.4s var(--ease),
    background-color 0.4s;
}
.kl__progress button.is-done span {
  background: var(--steel-500);
}
.kl__progress button.is-current {
  width: 40px;
}
.kl__progress button.is-current span {
  width: 28px;
  background: linear-gradient(
    90deg,
    var(--indigo) calc(var(--fill, 1) * 100%),
    rgba(72, 84, 199, 0.26) 0
  );
}
.kl__progress button:focus-visible {
  outline-offset: -2px;
}
.caption {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  width: min(640px, calc(100% - 48px));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 16px 16px 24px;
  border-radius: 20px;
  background: rgba(20, 26, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  color: var(--white);
}
.caption__count {
  color: var(--steel-300);
}
.caption__title {
  font: 500 15px/20px var(--f-sans);
  color: var(--white);
}
.caption__desc {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.68);
  margin-top: 2px;
}
.caption__next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font: 500 15px/1 var(--f-sans);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
}
.caption__next:hover {
  transform: translateX(2px);
}
.kl__steps {
  display: none;
}

/* 04 Capabilities */
.caps {
  padding: 160px 0 112px;
}
.caps__head {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 560px);
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
}
.caps__head .label {
  margin-bottom: 20px;
}
.caps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 24px;
}
.cap {
  position: relative;
  padding: 24px 0 48px;
  border-top: 1px solid var(--alloy);
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 16px;
}
.cap__text {
  display: grid;
  gap: 12px;
}
.cap__text .body {
  max-width: 400px;
  color: var(--graphite);
}
.cap::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--dusk);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease);
}
.cap--lead::before,
.cap.is-lit::before {
  transform: scaleX(1);
}
.cap--lead {
  grid-column: 1 / -1;
} /* Qor leads the list on a row of its own */
.cap--lead .body {
  max-width: 560px;
}
.cap h3 {
  color: var(--steel-500);
  transition: color 0.6s var(--ease);
}
.cap.is-lit h3,
.cap--lead h3,
.no-motion .cap h3 {
  color: var(--ink);
}
.cap .icon {
  transition: transform 0.8s var(--ease);
}
.cap.is-lit .icon {
  transform: rotate(-6deg);
}

/* 05 Accessible to machines */
.machines {
  padding: 24px 0 120px;
}
.machines__stage {
  position: relative;
  margin: 0 24px;
  height: min(780px, 92svh);
}
.machines__stage {
  overflow: hidden;
}
.machines__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  will-change: transform;
}
.machines__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(241, 240, 235, 0.94) 0%,
    rgba(241, 240, 235, 0.72) 34%,
    rgba(241, 240, 235, 0) 56%
  );
}
@media (min-width: 1101px) {
  .machines__poster {
    right: auto;
    width: 116%;
    max-width: none;
  }
} /* the cube sits clear of the copy */
.machines__copy {
  z-index: 2;
}
.machines__copy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 64px;
  width: min(480px, 42%);
  display: grid;
  gap: 20px;
}
.machines__copy .body-l {
  color: var(--graphite);
}
.machines__stage {
  height: min(820px, 92svh) !important;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid var(--alloy);
  display: grid;
  gap: 16px;
  align-content: start;
}
.step::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.step.is-lit::before {
  transform: scaleX(1);
}
.step--next::before {
  background: linear-gradient(90deg, var(--orange), var(--amber) 60%, rgba(255, 178, 63, 0));
}
.step--next .label {
  color: var(--orange-ink);
}
.step .icon {
  margin-bottom: 4px;
}
.machines__close {
  text-align: center;
  max-width: 760px;
  margin: 72px auto 0;
  color: var(--graphite);
}

/* 06 Results */
.results {
  position: relative;
  padding: 120px 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.13 0 0 0 0 0.15 0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(
      100deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.55) var(--sheen, 48%),
      rgba(255, 255, 255, 0) 66%
    ),
    linear-gradient(180deg, #e9e9e6 0%, #f7f7f5 38%, #e2e2de 52%, #ededea 100%);
}
.results__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}
.results__head .label {
  margin-bottom: 20px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}
.card__date {
  margin-bottom: 8px;
}
.card__title {
  font: 500 18px/26px var(--f-sans);
  color: var(--ink);
  margin-top: 8px;
}
.card .body-s {
  color: var(--graphite);
}
.card__name {
  margin: 4px 0 0;
  font-size: clamp(48px, 4.2vw, 64px);
}
.results__lede {
  max-width: 640px;
  margin-top: 20px;
  color: var(--graphite);
}
.trust__rule {
  margin: 96px 0 72px;
}
.trust__statement .label {
  padding-top: 6px;
}

/* 07 Qor */
.qor {
  padding: 40px 0 120px;
}
.qor__grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 720px);
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}
.qor__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}
.qor__copy .ctas {
  margin-top: 8px;
}
.qor__fusion {
  display: grid;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--alloy);
  max-width: 480px;
}
.qor__fusion .body {
  color: var(--graphite);
}
.qor__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 720 / 640;
  background: #e6e6e3;
}
.qor__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  will-change: transform;
}

/* 08 Contact: an inset dark panel, the one dark moment that closes the page */
.contact {
  padding: 24px 24px 24px;
}
.contact__panel {
  position: relative;
  min-height: min(772px, calc(100svh - 48px));
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--ink);
  isolation: isolate;
}
.contact__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  z-index: -2;
  will-change: transform;
}
.contact__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(11, 14, 20, 0.92) 0%,
    rgba(11, 14, 20, 0.7) 38%,
    rgba(11, 14, 20, 0) 62%
  );
}
.contact__copy {
  display: grid;
  gap: 24px;
  justify-items: start;
  padding: 64px;
  max-width: 680px;
}
.contact__copy .label {
  color: var(--steel-300);
}
.contact__copy h2 {
  color: var(--white);
  max-width: 620px;
}
.contact__copy .body-l {
  color: rgba(255, 255, 255, 0.72);
}

/* 09 Footer */
.footer {
  position: relative;
  padding: 64px 0 32px;
  background: var(--mist);
}
.footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--indigo),
    var(--violet) 30%,
    var(--orange) 55%,
    var(--amber) 75%,
    rgba(208, 208, 207, 0.6)
  );
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}
.footer__company img {
  height: 24px;
  width: auto;
  margin-bottom: 24px;
}
.footer__company address {
  color: var(--graphite);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 72px;
}
.footer__cols .label {
  margin-bottom: 16px;
}
.footer__cols ul {
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
}
.footer__cols a:hover,
.footer__base a:hover {
  color: var(--indigo);
}
.footer__giant {
  width: 100%;
  height: auto;
  opacity: 0.1;
  margin: 64px 0 48px;
}
.footer__base {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.footer__base-links {
  display: flex;
  gap: 24px;
}
.footer__base button {
  text-transform: inherit;
  letter-spacing: inherit;
}
.footer__base button:hover {
  color: var(--indigo);
}

/* Cookie consent: a quiet card bottom right, clear of the hero copy and button; the same glass as the nav (no shadow) */
.consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(420px, calc(100% - 48px));
  display: grid;
  gap: 12px;
  padding: 20px 20px 20px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--alloy);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  color: var(--graphite);
}
.consent[hidden] {
  display: none;
}
.consent .label {
  color: var(--graphite);
}
.consent__text a {
  color: var(--ink);
  border-bottom: 1px solid currentColor;
}
.consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}
.consent .btn {
  height: 40px;
  padding: 0 16px;
}
@media (max-width: 720px) {
  .consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    padding: 16px 16px 16px 20px;
  }
}

/* No live 3D: static fallbacks */
.no-3d .kl__pin {
  height: auto;
}
.no-3d .kl__stage {
  position: relative;
  top: 0;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 10;
  max-height: 860px;
}
.no-3d .kl__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
  margin-top: 40px;
}
.no-3d .kl__steps li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid var(--alloy);
  color: var(--graphite);
}
.no-3d .kl__steps strong {
  font-weight: 500;
  color: var(--ink);
}
.no-3d .step::before,
.no-3d .cap::before {
  transform: scaleX(1);
}
.no-3d .cap h3 {
  color: var(--ink);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
  * {
    scroll-behavior: auto !important;
  }
}

/* Tablet */
@media (max-width: 1100px) {
  :root {
    --gutter: 32px;
  }
  .nav__links {
    gap: 24px;
  }
  .trust__statement {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .foundation {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .caps__head {
    grid-template-columns: 1fr;
  }
  .qor__grid {
    grid-template-columns: 1fr;
  }
  /* connected: below desktop the copy sits above the image inside the stage */
  .machines__stage {
    height: auto !important;
    display: flex;
    flex-direction: column;
  }
  .machines__copy {
    position: relative;
    inset: auto;
    transform: none;
    width: auto;
    max-width: 640px;
    padding: 48px 40px 0;
  }
  .machines__poster {
    position: relative;
    height: 540px;
    object-position: 50% 55%;
  }
  .machines__stage::before {
    display: none;
  }
  .footer__row {
    flex-direction: column;
  }
  .contact__copy {
    padding: 48px;
  }
  .contact__panel::before {
    background: linear-gradient(
      90deg,
      rgba(11, 14, 20, 0.94) 0%,
      rgba(11, 14, 20, 0.78) 50%,
      rgba(11, 14, 20, 0.1) 80%
    );
  }
}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    --radius: 20px;
  }
  .nav {
    top: 12px;
    left: 12px;
    right: 12px;
  }
  .nav__glass {
    grid-template-columns: 1fr auto;
    padding: 0 8px 0 16px;
    height: 52px;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__menu {
    display: block;
  }
  .nav__logo img {
    height: 18px;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
    flex-direction: column;
  }
  .hero__copy {
    padding-top: 104px;
  }
  .hero__copy .label {
    margin-bottom: 20px;
  }
  .hero__copy h1 {
    margin-bottom: 20px;
  }
  .hero__lede {
    margin-bottom: 24px;
  }
  .hero__anchor {
    position: relative;
    inset: auto;
    width: 100%;
    height: 44svh;
    margin-top: 8px;
  }

  .trust {
    padding: 88px 0 80px;
  }
  .marquee {
    margin: 48px 0 56px;
  }
  .marquee__track {
    gap: 32px;
  }
  .marquee__track li {
    width: 120px;
    height: 48px;
  }
  .marquee__track img {
    width: 112px;
    height: 45px;
  }
  .foundation {
    padding-top: 48px;
  }
  .stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stat__n {
    font-size: 44px;
  }

  .kl {
    padding-top: 88px;
  }
  .kl__head {
    margin-bottom: 32px;
  }
  .kl__pin {
    padding: 0 12px;
  }
  .kl__stage {
    height: min(780px, calc(100svh - 64px));
    min-height: 600px;
  }
  .kl__progress {
    top: 68px;
  }
  .tag {
    font-size: 12px;
    line-height: 16px;
    padding: 5px 10px 5px 6px;
  }
  .tag .dot {
    width: 12px;
    height: 12px;
  }
  .caption {
    bottom: 12px;
    width: calc(100% - 24px);
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 16px;
  }
  .caption__count {
    grid-column: 1 / -1;
  }
  .caption__desc {
    font-size: 13px;
    line-height: 18px;
  }
  .no-3d .kl__stage {
    aspect-ratio: 4 / 5;
  }
  .no-3d .kl__steps {
    grid-template-columns: 1fr;
  }

  .caps {
    padding: 104px 0 80px;
  }
  .caps__head {
    margin-bottom: 40px;
  }
  .caps__grid {
    grid-template-columns: 1fr;
  }
  .cap {
    gap: 10px;
    padding: 18px 0 28px;
  }
  .cap h3 {
    font-size: 22px;
  }

  .machines {
    padding: 12px 0 80px;
  }
  .machines__stage {
    margin: 0 12px;
    height: 620px;
  }
  .machines__copy {
    top: 24px;
    left: 20px;
    right: 20px;
    width: auto;
    gap: 12px;
    transform: none;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .steps .icon {
    width: 48px;
    height: 48px;
  }
  .machines__close {
    text-align: left;
    margin-top: 48px;
  }

  .results {
    padding: 80px 0;
  }
  .results__head {
    flex-direction: column;
    align-items: start;
    margin-bottom: 32px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px;
  }

  .qor {
    padding: 24px 0 80px;
  }
  .qor__grid {
    gap: 40px;
  }
  .qor__media {
    aspect-ratio: 366 / 400;
  }

  .contact {
    padding: 12px;
  }
  .contact__panel {
    min-height: 640px;
    align-items: flex-start;
  }
  .contact__media {
    top: auto;
    height: 62%;
    object-position: 64% 50%;
  }
  .contact__panel::before {
    background: linear-gradient(
      180deg,
      var(--ink) 0%,
      var(--ink) 36%,
      rgba(11, 14, 20, 0.2) 62%,
      rgba(11, 14, 20, 0) 80%
    );
  }
  .contact__copy {
    padding: 40px 24px;
    gap: 18px;
  }

  .footer {
    padding-top: 48px;
  }
  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer__giant {
    margin: 48px 0 32px;
  }
  .footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer__base-links {
    gap: 20px;
  }
}

/* Section refinements */

@media (max-width: 1100px) {
  .hero__poster,
  .hero__video {
    object-position: 68% 50%;
  }
}

@media (max-width: 720px) {
  /* hero: copy on top, the film below it */
  .hero {
    align-items: flex-start;
    min-height: 100svh;
  }
  .hero__copy {
    padding-top: 104px;
    padding-bottom: 0;
  }
  .hero {
    flex-direction: column;
  }
  .hero__film {
    position: relative;
    inset: auto;
    z-index: 0;
    order: 2;
    flex: 1 0 auto;
    width: 100%;
    min-height: 44svh;
    margin-top: 16px;
  } /* the film starts below the button, never under the copy */
  .hero__poster,
  .hero__video {
    object-position: 72% 50%;
  }
  .hero__film::after {
    background:
      linear-gradient(180deg, var(--mist) 0, rgba(246, 245, 240, 0) 34%),
      linear-gradient(0deg, var(--mist) 0, rgba(246, 245, 240, 0) 90px);
  }
  .hero-night .hero__film::after {
    background:
      linear-gradient(180deg, var(--ink) 0, rgba(11, 14, 20, 0) 34%),
      linear-gradient(0deg, rgba(11, 14, 20, 0.9) 0, rgba(11, 14, 20, 0) 90px);
  }

  .trust {
    padding: 88px 0 72px;
  }

  /* connected: the copy sits above the image inside the stage */
  .machines__stage {
    height: auto !important;
    display: flex;
    flex-direction: column;
  }
  .machines__copy {
    position: relative;
    inset: auto;
    padding: 28px 20px 0;
  }
  .machines__poster {
    position: relative;
    height: 420px;
    object-position: 62% 60%;
  }
  .machines__stage::before {
    display: none;
  }

  .trust__rule {
    margin: 64px 0 48px;
  }
  .card__name {
    font-size: 52px;
  }
}

/* Reduced motion: section refinements */
.no-motion .tag {
  transition: none;
}

.footer__about {
  max-width: 300px;
  color: var(--graphite);
  margin-bottom: 8px;
}
