@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin-variable.woff2?v=1") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("assets/fonts/noto-sans-jp.woff2?v=2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
}

:root {
  /* Type stack. Deliberately WITHOUT "Noto Sans JP" — see the html:lang(ja)
     override below. Hard-coding the JP face here made every English page
     download the 242 KB JP webfont just to draw the 日本語 toggle; on English
     pages incidental CJK falls back to the visitor's system JP font
     (CLAUDE.md §8). */
  --font-sans: "Instrument Sans", Arial, sans-serif;

  --white: #ffffff;
  --black: #0b1f33;
  --ink: #0b1f33;
  --ink-soft: rgba(11, 31, 51, 0.68);
  --ink-faint: rgba(11, 31, 51, 0.48);
  --line: rgba(11, 31, 51, 0.18);
  --line-light: rgba(11, 31, 51, 0.1);
  --line-dark: rgba(255, 255, 255, 0.22);
  --surface-soft: rgba(11, 31, 51, 0.04);
  --hero-accent: #eaf2f7;
  --shadow-soft: 0 18px 54px rgba(0, 0, 0, 0.09);
  --shadow-strong: 0 28px 80px rgba(0, 0, 0, 0.18);

  --section-compact: clamp(3.5rem, 5vw, 5rem);
  --section-regular: clamp(5rem, 7.4vw, 7.5rem);
  --section-spacious: clamp(6rem, 9vw, 9rem);

  --type-display: clamp(3.75rem, 7vw, 6.7rem);
  --type-heading: clamp(2.65rem, 4.8vw, 4.85rem);
  --type-subheading: clamp(1.125rem, 1.5vw, 1.4rem);
  --type-body: clamp(1rem, 1.1vw, 1.125rem);
  --type-small: 0.875rem;
  --type-micro: 0.75rem;

  --content: min(1320px, calc(100vw - 80px));
  --header-height: 76px;

  /* ═════ UNIFIED PRIMITIVES (sync block — 2026-08 design audit) ═════
     Role NAMES shared with styles.css; VALUES family-tuned (this file = dark
     editorial homepage: flat 2-3px radii, near-flat elevation — identity, keep).
     --shadow-soft ≈ styles' --shadow-sm role; --shadow-strong ≈ --shadow-lg.
     Breakpoint ladder: 380/640/760/1100 shared; 899 is this file's own seam.
     Edit both files together when touching shared names. */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px; --space-5: 20px;
  --space-6: 24px; --space-7: 28px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-14: 56px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --touch: 44px;
  --measure: 66ch;
  --measure-wide: 75ch;
  --lh-body: 1.55;
  --lh-heading: 1.15;   /* for subordinate headings — hero display keeps its 0.94/0.98 identity */
  --lh-subhead: 1.35;
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 3px;
  --radius-pill: 999px;
}

/* Only Japanese pages pull the self-hosted Noto Sans JP into the stack. */
html:lang(ja) {
  --font-sans: "Instrument Sans", "Noto Sans JP", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--white);
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 440;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

figure,
h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: inherit;
  overflow-wrap: normal;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-sans);
  font-weight: 520;
  letter-spacing: -0.052em;
}

h1 {
  max-width: 13ch;
  font-size: var(--type-display);
  line-height: 0.94;
}

h2 {
  max-width: 16ch;
  font-size: var(--type-heading);
  line-height: 0.98;
}

h3 {
  font-size: var(--type-subheading);
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

p {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  min-width: 44px;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--black);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-shell {
  width: var(--content);
  margin-inline: auto;
}

.home-section {
  --section-space: var(--section-regular);
  margin-top: 0;
  padding-block: var(--section-space);
}

.home-section > :first-child {
  margin-block-start: 0;
}

.home-section > :last-child {
  margin-block-end: 0;
}

.eyebrow {
  margin-bottom: 24px;
  color: currentColor;
  font-size: var(--type-small);
  font-weight: 680;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section-lede,
.hero-body {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: var(--type-body);
}

.media-frame {
  position: relative;
  overflow: hidden;
  background: #ececec;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 52px;
  padding: 16px 24px;
  border: 1px solid var(--black);
  border-radius: 3px;
  background: transparent;
  color: var(--black);
  font-size: var(--type-small);
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--black);
  color: var(--white);
}

.button-primary:hover {
  background: var(--white);
  color: var(--black);
}

.button-secondary:hover {
  background: var(--black);
  color: var(--white);
}

/* Header */

.topbar {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 8px max(40px, calc((100vw - 1320px) / 2));
  border-bottom: 0;
  background: rgba(11, 31, 51, 0.42);
  transition: background 200ms ease, box-shadow 180ms ease;
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
}

body[data-scrolled="true"] .topbar {
  background: rgba(11, 31, 51, 0.78);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}

.topbar :focus-visible {
  outline-color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 218px;
  min-width: 218px;
  min-height: 44px;
}

.brand img {
  width: 218px;
  height: auto;
}

.site-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px; /* optical */
}

.site-links a,
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  color: var(--white);
  font-size: var(--type-small);
  font-weight: 620;
  text-decoration: none;
}

.site-links a:not(.nav-cta):hover,
.language-switch:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.site-links .nav-cta {
  margin-inline-start: 8px;
  padding-inline: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.site-links .nav-cta:hover {
  background: rgba(255, 255, 255, 0.26);
  color: var(--white);
}

.language-switch {
  margin-inline-start: 16px;
  padding-inline: 16px 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-sans);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: var(--white);
}

/* Hero */

.hero {
  --section-space: 0;
  padding-top: 0;
  background: var(--white);
}

.hero-stage {
  position: relative;
  height: clamp(520px, 43.26vw, 760px);
  overflow: hidden;
  background: var(--black);
}

.hero-stage::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 14, 24, 0.94) 0%,
    rgba(4, 14, 24, 0.8) 28%,
    rgba(4, 14, 24, 0.38) 49%,
    rgba(4, 14, 24, 0.06) 74%
  );
  content: "";
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.hero-content {
  width: min(720px, 54vw);
  min-width: 0;
  color: var(--hero-accent);
}

.hero-content .eyebrow {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.hero-content h1 {
  color: var(--hero-accent);
  font-size: clamp(3.5rem, 6.3vw, 6.6rem);
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.38);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Living waveform on the hero phone — app.js glues this to the phone screen
   inside the photo (object-fit cover math on the natural 1907×825 frame). */
.hero-wave-live {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero-wave-live.is-mapped {
  opacity: 1;
}

.hero-wave-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(ellipse at 50% 52%, rgba(226, 66, 76, 0.34), rgba(226, 66, 76, 0) 68%);
  animation: heroWavePulse 3.4s ease-in-out infinite;
}

.hero-playhead {
  position: absolute;
  top: 5%;
  bottom: 5%;
  left: 2%;
  width: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  animation: heroPlayhead 6.2s linear infinite;
}

@keyframes heroWavePulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.8; }
}

@keyframes heroPlayhead {
  0% { left: 2%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { left: 97%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wave-live {
    display: none;
  }
}

/* Opening brand moment — the HDR logo intro plays once per session inside the
   hero, then dissolves to the photo (app.js drives it; skipped on repeat
   visits, reduced motion, or any user interaction). */
.hero-intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  background: #000;
  opacity: 1;
  transition: opacity 900ms ease;
}

.hero-intro[hidden] {
  display: none;
}

.hero-intro.is-done {
  opacity: 0;
  pointer-events: none;
}

.hero-intro-video {
  width: min(76%, 960px);
  height: auto;
}

@media (max-width: 640px) {
  .hero-intro-video {
    width: 92%;
  }
}

.hero-proposition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  margin-top: 0;
  padding-block: clamp(40px, 5vw, 68px);
  border-bottom: 1px solid var(--line-light);
}

.hero-proposition__copy {
  max-width: 760px;
}

.hero-proposition .button-row {
  flex-wrap: nowrap;
  margin-top: 0;
}

.hero-body {
  line-height: 1.6;
}

/* Languages */

.language-section {
  --section-space: var(--section-compact);
  overflow: hidden;
  background: var(--white);
}

.language-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}

.language-heading .eyebrow {
  margin-bottom: 8px;
}

.language-heading h2 {
  max-width: none;
  white-space: nowrap;
}

.language-title-cluster {
  display: flex;
  gap: 16px;
  align-items: center;
}

.motion-toggle {
  position: relative;
  display: inline-grid;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease;
}

.motion-toggle:hover {
  background: var(--black);
  color: var(--white);
}

.motion-toggle > span,
.motion-toggle > span::before,
.motion-toggle > span::after {
  display: block;
}

.motion-toggle > span {
  position: relative;
  width: 13px;
  height: 16px;
}

.motion-toggle > span::before,
.motion-toggle > span::after {
  position: absolute;
  top: 0;
  width: 3px;
  height: 16px;
  background: currentColor;
  content: "";
}

.motion-toggle > span::before {
  left: 1px;
}

.motion-toggle > span::after {
  right: 1px;
}

.motion-toggle[data-state="paused"] > span {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid currentColor;
}

.motion-toggle[data-state="paused"] > span::before,
.motion-toggle[data-state="paused"] > span::after {
  display: none;
}

.language-window {
  width: 100%;
  margin-top: 44px;
  overflow: hidden;
  border-block: 1px solid var(--line-light);
  background: var(--white);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}

.language-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.language-track img {
  width: auto;
  max-width: none;
  height: 164px;
  flex: none;
}

/* Audio proof */

.audio-proof {
  --section-space: var(--section-spacious);
  background: var(--white);
}

.audio-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 6vw, 80px);
}

.audio-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  column-gap: clamp(56px, 8vw, 128px);
  align-items: end;
}

.audio-content .eyebrow,
.audio-content h2 {
  grid-column: 1;
}

.audio-content h2 {
  max-width: 15ch;
}

.audio-content .section-lede {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 470px;
  margin: 0 0 8px;
}

.audio-signal-panel {
  position: relative;
  min-height: clamp(280px, 27vw, 350px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: var(--black);
  box-shadow: var(--shadow-strong);
}








.audio-signal-panel::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72%, 760px);
  aspect-ratio: 2.4 / 1;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.audio-signal-panel::after {
  position: absolute;
  top: 50%;
  right: 5%;
  left: 5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  content: "";
}

.audio-wave-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
}






.audio-sample {
  margin-top: 32px;
}

.audio-sample audio {
  display: none;
}

/* System */

.system-section {
  --section-space: var(--section-spacious);
  background: var(--black);
  color: var(--white);
}

.system-section :focus-visible {
  outline-color: var(--white);
}

.system-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: end;
}

.system-heading h2 {
  max-width: 13ch;
}

.system-heading .section-lede {
  color: rgba(255, 255, 255, 0.68);
}

.system-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(390px, 0.86fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin-top: clamp(60px, 7vw, 96px);
}

.pipeline-visual {
  position: relative;
  min-height: clamp(410px, 36vw, 520px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.pipeline-canvas {
  position: absolute;
  inset: 0;
  padding: clamp(32px, 4vw, 56px);
}

.pipeline-stage-meter {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: clamp(4px, 0.7vw, 8px);
  height: 24px;
  align-items: end;
}

.pipeline-stage-meter span {
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.72);
}

.pipeline-flow {
  position: absolute;
  right: clamp(30px, 4vw, 54px);
  bottom: clamp(50px, 6vw, 76px);
  left: clamp(30px, 4vw, 54px);
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 76px;
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.pipeline-document {
  position: relative;
  width: 60px;
  height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.pipeline-document::before {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 17px;
  height: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  border-left: 1px solid rgba(255, 255, 255, 0.82);
  background: var(--black);
  content: "";
}

.pipeline-document span {
  display: block;
  width: 32px;
  height: 1px;
  margin: 12px 0 0 12px;
  background: rgba(255, 255, 255, 0.48);
}

.pipeline-document span:first-child {
  margin-top: 28px;
}

.pipeline-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  min-height: 96px;
}

.pipeline-rail::before {
  position: absolute;
  top: 43px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.pipeline-progress {
  position: absolute;
  z-index: 1;
  top: 43px;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.78);
  transform-origin: left center;
}

.pipeline-checkpoint {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.pipeline-checkpoint i {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: var(--white);
}

.pipeline-checkpoint b {
  margin-top: 16px;
  color: var(--white);
  font-size: var(--type-small);
  font-weight: 620;
  letter-spacing: 0.01em;
}

.pipeline-pulse {
  position: absolute;
  z-index: 3;
  top: 38px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: var(--white);
  opacity: 0;
}

.pipeline-output {
  display: flex;
  height: 78px;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.pipeline-output span {
  width: 3px;
  height: 34px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.82);
}

.pipeline-output span:nth-child(2),
.pipeline-output span:nth-child(6) {
  height: 50px;
}

.pipeline-output span:nth-child(3),
.pipeline-output span:nth-child(5) {
  height: 64px;
}

.pipeline-output span:nth-child(4) {
  height: 76px;
}

.pipeline-visual[data-motion-ready="true"]:not(.is-animating):not(.is-complete) .pipeline-stage-meter span {
  height: 6px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.pipeline-visual[data-motion-ready="true"]:not(.is-animating):not(.is-complete) .pipeline-document {
  opacity: 0;
  transform: translateX(-8px);
}

.pipeline-visual[data-motion-ready="true"]:not(.is-animating):not(.is-complete) .pipeline-progress {
  transform: scaleX(0);
}

.pipeline-visual[data-motion-ready="true"]:not(.is-animating):not(.is-complete) .pipeline-checkpoint i {
  background: var(--black);
}

.pipeline-visual[data-motion-ready="true"]:not(.is-animating):not(.is-complete) .pipeline-checkpoint b {
  color: rgba(255, 255, 255, 0.38);
}

.pipeline-visual[data-motion-ready="true"]:not(.is-animating):not(.is-complete) .pipeline-output span {
  height: 4px;
  opacity: 0.28;
}

.pipeline-visual.is-animating .pipeline-document {
  animation: pipeline-document-in 420ms ease-out 120ms both;
}

.pipeline-visual.is-animating .pipeline-stage-meter span {
  height: 6px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  animation: pipeline-stage-on 260ms ease-out forwards;
  animation-delay: calc(460ms + (var(--stage) * 205ms));
}

.pipeline-visual.is-animating .pipeline-progress {
  transform: scaleX(0);
  animation: pipeline-progress-on 3.55s cubic-bezier(0.2, 0.72, 0.25, 1) 440ms forwards;
}

.pipeline-visual.is-animating .pipeline-checkpoint i {
  background: var(--black);
  animation: pipeline-checkpoint-on 420ms ease-out forwards;
  animation-delay: calc(720ms + (var(--checkpoint) * 960ms));
}

.pipeline-visual.is-animating .pipeline-checkpoint b {
  color: rgba(255, 255, 255, 0.38);
  animation: pipeline-label-on 420ms ease-out forwards;
  animation-delay: calc(720ms + (var(--checkpoint) * 960ms));
}

.pipeline-visual.is-animating .pipeline-pulse {
  animation: pipeline-pulse-across 3.65s cubic-bezier(0.2, 0.72, 0.25, 1) 430ms forwards;
}

.pipeline-visual.is-animating .pipeline-output span {
  height: 4px;
  opacity: 0.28;
  animation: pipeline-audio-on 520ms cubic-bezier(0.2, 0.72, 0.25, 1) forwards;
  animation-delay: calc(3.92s + (var(--bar, 0) * 35ms));
}

.pipeline-output span:nth-child(1) { --bar: 0; --bar-height: 34px; }
.pipeline-output span:nth-child(2) { --bar: 1; --bar-height: 50px; }
.pipeline-output span:nth-child(3) { --bar: 2; --bar-height: 64px; }
.pipeline-output span:nth-child(4) { --bar: 3; --bar-height: 76px; }
.pipeline-output span:nth-child(5) { --bar: 4; --bar-height: 64px; }
.pipeline-output span:nth-child(6) { --bar: 5; --bar-height: 50px; }
.pipeline-output span:nth-child(7) { --bar: 6; --bar-height: 34px; }

@keyframes pipeline-document-in {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pipeline-stage-on {
  to {
    height: 18px;
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.72);
  }
}

@keyframes pipeline-progress-on {
  to { transform: scaleX(1); }
}

@keyframes pipeline-checkpoint-on {
  to { background: var(--white); }
}

@keyframes pipeline-label-on {
  to { color: var(--white); }
}

@keyframes pipeline-pulse-across {
  0% { left: 0; opacity: 0; }
  5% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 11px); opacity: 0; }
}

@keyframes pipeline-audio-on {
  to { height: var(--bar-height); opacity: 1; }
}

.system-steps {
  border-top: 1px solid var(--line-dark);
}

.system-steps article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  min-height: 142px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-dark);
}

.system-steps article > span {
  padding-top: 2px; /* optical */
  color: rgba(255, 255, 255, 0.56);
  font-size: var(--type-small);
  font-weight: 650;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.system-steps p {
  max-width: 50ch;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

/* Team workflow */

.team-section {
  --section-space: var(--section-spacious);
  background: var(--white);
}

.team-heading h2 {
  max-width: 12ch;
}

.team-experience {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: start;
  margin-top: clamp(64px, 8vw, 108px);
}

.team-handoff {
  position: sticky;
  top: calc(var(--header-height) + 40px);
  display: grid;
  grid-template-columns: minmax(64px, 1fr) 20px minmax(64px, 1fr) 20px minmax(64px, 1fr) 20px minmax(64px, 1fr);
  min-height: 310px;
  padding: clamp(24px, 4vw, 48px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
}

.handoff-card {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
}

.handoff-card::before {
  position: absolute;
  top: 12px;
  left: 12px;
  color: var(--ink-faint);
  content: attr(data-step);
  font-size: var(--type-small);
  font-weight: 650;
  letter-spacing: 0.08em;
}

.handoff-connector {
  position: relative;
  height: 1px;
  background: var(--line);
}

.handoff-connector::after {
  position: absolute;
  top: -3px;
  right: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  content: "";
}

.handoff-card i {
  position: relative;
  display: block;
}

.handoff-card--document i {
  width: 38px;
  height: 50px;
  border: 1px solid var(--black);
}

.handoff-card--document i::before,
.handoff-card--document i::after {
  position: absolute;
  left: 9px;
  width: 20px;
  height: 1px;
  background: var(--black);
  content: "";
}

.handoff-card--document i::before {
  top: 17px;
  box-shadow: 0 7px 0 var(--black), 0 14px 0 var(--black);
}

.handoff-card--system i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--black);
  box-shadow:
    16px 0 0 var(--black),
    -16px 0 0 var(--black),
    0 16px 0 var(--black),
    0 -16px 0 var(--black),
    12px 12px 0 var(--black),
    -12px 12px 0 var(--black),
    12px -12px 0 var(--black),
    -12px -12px 0 var(--black);
}

.handoff-card--review i {
  width: 48px;
  height: 48px;
  border: 1px solid var(--black);
  border-radius: 50%;
}

.handoff-card--review i::after {
  position: absolute;
  top: 13px;
  left: 13px;
  width: 19px;
  height: 10px;
  border-bottom: 2px solid var(--black);
  border-left: 2px solid var(--black);
  content: "";
  transform: rotate(-45deg);
}

.handoff-card--phone i {
  width: 31px;
  height: 52px;
  border: 1px solid var(--black);
  border-radius: 6px;
}

.handoff-card--phone i::before {
  position: absolute;
  right: 6px;
  bottom: 18px;
  left: 6px;
  height: 12px;
  border-block: 1px solid var(--black);
  content: "";
}

.team-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.team-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.team-steps li > span {
  padding-top: 2px; /* optical */
  color: var(--ink-faint);
  font-size: var(--type-small);
  font-weight: 650;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.team-steps p {
  margin-top: 8px;
  color: var(--ink-soft);
}

/* Leadership */

.leadership-section {
  --section-space: var(--section-spacious);
  background: var(--white);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.leadership-section h2 {
  max-width: 15ch;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  color: var(--black);
  font-size: var(--type-small);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.2vw, 48px);
  align-items: start;
  margin-top: clamp(64px, 8vw, 104px);
}

.leadership-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.leadership-grid article > div {
  padding-top: 24px;
}

.leadership-grid .role {
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: var(--type-small);
  font-weight: 650;
}

.leadership-grid article > div > p:last-child {
  margin-top: 16px;
  color: var(--ink-soft);
}

/* Procedure guides */

.guide-section {
  --section-space: var(--section-spacious);
  background: var(--white);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: center;
}

.protocol-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--black);
}

.protocol-sheet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(48%, 330px);
  aspect-ratio: 0.78;
  border: 1px solid rgba(11, 31, 51, 0.26);
  background: var(--white);
  transform-origin: center;
}

.protocol-sheet--back {
  opacity: 0.34;
  transform: translate(-61%, -48%) rotate(-7deg);
}

.protocol-sheet--middle {
  opacity: 0.62;
  transform: translate(-42%, -50%) rotate(5deg);
}

.protocol-sheet--front {
  display: grid;
  align-content: start;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.protocol-mark {
  width: 22px;
  height: 22px;
  margin-bottom: clamp(24px, 3vw, 40px);
  border: 1px solid var(--black);
  border-radius: 50%;
}

.protocol-line {
  display: block;
  width: 72%;
  height: 2px;
  margin-top: 16px;
  background: rgba(11, 31, 51, 0.34);
}

.protocol-line--long {
  width: 100%;
}

.protocol-line--short {
  width: 52%;
}

.protocol-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: clamp(32px, 4vw, 48px);
  background: var(--line);
}

.protocol-wave {
  display: flex;
  height: 62px;
  margin-top: 20px;
  align-items: center;
  gap: 8px;
}

.protocol-wave i {
  width: 3px;
  height: 18px;
  border-radius: 99px;
  background: var(--black);
}

.protocol-wave i:nth-child(2),
.protocol-wave i:nth-child(8) {
  height: 28px;
}

.protocol-wave i:nth-child(3),
.protocol-wave i:nth-child(7) {
  height: 42px;
}

.protocol-wave i:nth-child(4),
.protocol-wave i:nth-child(6) {
  height: 54px;
}

.protocol-wave i:nth-child(5) {
  height: 62px;
}

.guide-copy h2 {
  max-width: 12ch;
}

.guide-copy .section-lede {
  margin-top: 32px;
}

.guide-copy .button {
  margin-top: 32px;
}

/* Privacy & safety */

.safety-section {
  --section-space: var(--section-spacious);
  padding-bottom: 0;
  background: var(--black);
  color: var(--white);
}

.safety-section :focus-visible {
  outline-color: var(--white);
}

.safety-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}

.safety-heading h2 {
  max-width: 12ch;
}

.safety-image {
  aspect-ratio: 8 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(64px, 7vw, 92px);
  border-block: 1px solid var(--line-dark);
}

.safety-grid article {
  min-height: 250px;
  padding: 32px 32px 36px 0;
  border-right: 1px solid var(--line-dark);
}

.safety-grid article + article {
  padding-left: 32px;
}

.safety-grid article:last-child {
  border-right: 0;
}

.safety-grid article::before {
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 52px;
  background: var(--white);
  content: "";
}

.safety-grid p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.full-disclaimer {
  margin-top: var(--section-regular);
  padding-block: 32px;
  border-top: 1px solid var(--line-dark);
  background: var(--black);
  color: rgba(255, 255, 255, 0.78);
}

.full-disclaimer p {
  max-width: var(--measure-wide);
  font-size: var(--type-small);
}

/* Demo */

.demo-section {
  --section-space: var(--section-spacious);
  background: var(--white);
}

.demo-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(64px, 8vw, 120px);
  align-items: start;
}

.demo-copy {
  position: sticky;
  top: calc(var(--header-height) + 44px);
}

.demo-copy h2 {
  max-width: 12ch;
}

.demo-copy .section-lede {
  margin-top: 28px;
}

.demo-image {
  margin-top: 48px;
  aspect-ratio: 4 / 3;
}

.contact-form {
  padding: clamp(28px, 3.4vw, 48px);
  border: 1px solid var(--line);
  background: var(--white);
}

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

.form-grid label,
.consent-check {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.form-grid label > span {
  color: var(--black);
  font-size: var(--type-small);
  font-weight: 650;
}

.form-wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid rgba(11, 31, 51, 0.3);
  border-radius: 2px;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: 1.45;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(11, 31, 51, 0.58);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(11, 31, 51, 0.14);
}

.consent-check {
  grid-template-columns: 44px 1fr;
  align-items: center;
  min-height: 44px;
  margin-top: 20px;
  cursor: pointer;
}

.consent-check input {
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  appearance: none;
  place-content: center;
  border: 1px solid var(--black);
  border-radius: 2px;
  cursor: pointer;
}

.consent-check input::before {
  width: 14px;
  height: 8px;
  border-bottom: 3px solid var(--white);
  border-left: 3px solid var(--white);
  content: "";
  transform: rotate(-45deg) scale(0);
}

.consent-check input:checked {
  background: var(--black);
}

.consent-check input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.consent-check span,
.form-notice,
.form-status {
  color: var(--ink-soft);
  font-size: var(--type-small);
}

.form-notice {
  margin-top: 20px;
  padding: 16px;
  border-left: 2px solid var(--black);
  background: var(--surface-soft);
}

.contact-form > .button {
  width: 100%;
  margin-top: 20px;
}

.form-status {
  min-height: 24px;
  margin-top: 12px;
}

.form-status:empty {
  display: none;
}

.form-status[data-status="error"],
.form-status[data-status="success"] {
  color: var(--black);
  font-weight: 650;
}

/* Footer */

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 72px;
  padding: var(--section-compact) max(40px, calc((100vw - 1320px) / 2));
  background: var(--black);
  color: var(--white);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  min-height: 44px;
}

.footer-brand img {
  width: 218px;
  height: auto;
}

.footer-primary > p {
  max-width: 34ch;
  margin-top: 24px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--type-small);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: var(--space-4);
}

.footer-links,
.footer-legal {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 4px 28px;
}

.footer-legal {
  padding-top: var(--space-4);
  border-top: 1px solid var(--line-dark);
}

.footer-legal a,
.footer-legal button {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links a,
.footer-links button,
.footer-legal a,
.footer-legal button {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: var(--type-small);
  text-align: left;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer :focus-visible {
  outline-color: var(--white);
}

/* Cookie controls */

.cookie-banner {
  position: fixed;
  z-index: 100;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(820px, calc(100% - 40px));
  padding: 16px 16px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--black);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}

.cookie-banner > div:first-child {
  min-width: 0;
  flex: 1;
}

.cookie-banner[hidden],
.cookie-modal[hidden] {
  display: none;
}

.cookie-banner p {
  max-width: 64ch;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: var(--type-small);
}

.cookie-actions,
.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-actions {
  justify-content: flex-end;
}

.mini-button,
.icon-button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font-size: var(--type-small);
  cursor: pointer;
}

.cookie-modal {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
}

.cookie-dialog {
  width: min(600px, 100%);
  max-height: min(720px, calc(100vh - 40px));
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
}

.cookie-dialog-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.cookie-dialog-header h2 {
  font-size: var(--type-subheading);
  font-weight: 650;
  letter-spacing: -0.025em;
}

.cookie-options {
  display: grid;
  gap: 12px;
  margin-block: 28px;
}

.cookie-options label {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
}

.cookie-options input {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.cookie-options strong,
.cookie-options small {
  display: block;
}

.cookie-options small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: var(--type-small);
}

/* Motion */

.scroll-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  :root {
    --content: min(100% - 56px, 1120px);
    --type-display: clamp(3.6rem, 7.4vw, 5.5rem);
    --type-heading: clamp(2.6rem, 5vw, 4rem);
  }

  .topbar {
    padding-inline: 28px;
  }

  .brand,
  .brand img {
    width: 190px;
    min-width: 190px;
  }

  .system-heading {
    gap: 56px;
  }

  .audio-layout,
  .system-stage,
  .team-experience,
  .guide-layout {
    gap: 56px;
  }

  .team-handoff {
    min-height: 260px;
  }

  .demo-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .demo-copy {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(380px, 1.2fr);
    gap: 48px;
    align-items: end;
  }

  .demo-copy .section-lede {
    grid-column: 1;
  }

  .demo-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

@media (max-width: 899px) {
  :root {
    --content: min(calc(100% - 40px), 760px);
    --header-height: 66px;
  }

  .topbar {
    grid-template-columns: 1fr auto auto;
    min-height: var(--header-height);
    padding: 8px 20px;
  }

  .brand,
  .brand img {
    width: min(184px, 46vw);
    min-width: 0;
  }

  .language-switch {
    margin-inline-start: 0;
    padding-inline: 8px;
    border-left: 0;
  }

  .menu-toggle {
    display: block;
    margin-inline-start: 8px;
  }

  .site-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(11, 31, 51, 0.99);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
  }

  body[data-menu-open="true"] .site-links {
    display: grid;
  }

  .site-links a {
    justify-content: flex-start;
    min-height: 48px;
    padding-inline: 0;
  }

  .site-links .nav-cta {
    justify-content: center;
    margin: 8px 0 0;
    padding-inline: 16px;
  }

  .hero {
    padding-top: 0;
  }

  .audio-layout,
  .system-heading,
  .system-stage,
  .team-experience,
  .guide-layout,
  .safety-heading {
    grid-template-columns: 1fr;
  }

  .hero-proposition {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-proposition .button-row {
    justify-content: flex-start;
  }

  .audio-layout,
  .system-stage,
  .team-experience,
  .guide-layout,
  .safety-heading {
    gap: 48px;
  }

  .audio-content {
    max-width: 620px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .audio-content .section-lede {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }

  .audio-signal-panel {
    min-height: 320px;
  }

  .system-heading {
    gap: 32px;
  }

  .system-stage {
    margin-top: 56px;
  }

  .team-handoff {
    position: static;
  }

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

  .leadership-grid article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
  }

  .safety-heading .section-intro {
    max-width: 660px;
  }

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

  .safety-grid article,
  .safety-grid article + article {
    min-height: 0;
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .safety-grid article:last-child {
    border-bottom: 0;
  }

  .safety-grid article::before {
    margin-bottom: 32px;
  }

  .demo-copy {
    grid-template-columns: 1fr;
  }

  .demo-copy .section-lede,
  .demo-image {
    grid-column: 1;
    grid-row: auto;
  }

  .demo-image {
    margin-top: 4px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-inline: 28px;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    width: min(620px, calc(100% - 40px));
  }
}

@media (max-width: 760px) {
  .hero-stage {
    height: clamp(540px, 82vw, 640px);
  }

  .hero-stage::after {
    background: linear-gradient(
      180deg,
      rgba(4, 14, 24, 0.12) 0%,
      rgba(4, 14, 24, 0.26) 42%,
      rgba(4, 14, 24, 0.92) 100%
    );
  }

  .hero-overlay {
    align-items: flex-end;
    padding-bottom: clamp(44px, 8vw, 72px);
  }

  .hero-content {
    width: min(680px, 100%);
  }

  .hero-content h1 {
    font-size: clamp(3.25rem, 10vw, 5.2rem);
  }

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

@media (max-width: 640px) {
  :root {
    --content: calc(100% - 32px);
    --section-compact: 3.5rem;
    --section-regular: 4.75rem;
    --section-spacious: 5.75rem;
    --type-display: clamp(3rem, 13.5vw, 4.3rem);
    --type-heading: clamp(2.35rem, 10.5vw, 3.35rem);
  }

  h1 {
    max-width: 12ch;
  }

  .hero {
    padding-top: 0;
  }

  .hero-stage {
    height: clamp(520px, 134vw, 620px);
  }

  .hero-overlay {
    padding-bottom: 36px;
  }

  .hero-content h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 4.15rem);
  }

  .hero-proposition {
    gap: 28px;
    padding-block: 40px 48px;
  }

  .hero-proposition .button-row {
    flex-wrap: wrap;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .language-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .language-title-cluster {
    justify-content: space-between;
  }

  .language-heading h2 {
    white-space: normal;
  }

  .language-window {
    margin-top: 28px;
  }

  .language-track img {
    height: 128px;
  }

  .safety-image,
  .demo-image {
    aspect-ratio: 4 / 3;
  }

  .audio-signal-panel {
    min-height: 260px;
    border-radius: 10px;
  }

  .pipeline-visual {
    min-height: 380px;
  }

  .pipeline-canvas {
    padding: 24px;
  }

  .pipeline-stage-meter {
    gap: 4px;
  }

  .pipeline-flow {
    right: 24px;
    bottom: 54px;
    left: 24px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
  }

  .pipeline-document {
    width: 42px;
    height: 58px;
  }

  .pipeline-document::before {
    width: 13px;
    height: 13px;
  }

  .pipeline-document span {
    width: 22px;
    margin: 8px 0 0 8px;
  }

  .pipeline-document span:first-child {
    margin-top: 24px;
  }

  .pipeline-checkpoint b {
    font-size: var(--type-small);
    white-space: nowrap;
  }

  .pipeline-checkpoint:nth-of-type(even) b {
    transform: translateY(18px);
  }

  .pipeline-output {
    gap: 2px; /* optical */
  }

  .pipeline-output span {
    width: 2px;
  }

  .system-steps article,
  .team-steps li {
    grid-template-columns: 46px 1fr;
    gap: 16px;
  }

  .team-handoff {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-height: 190px;
    padding: 16px;
  }

  .handoff-connector {
    display: none;
  }

  .handoff-card::before {
    top: 6px;
    left: 6px;
    font-size: var(--type-small);
  }

  .handoff-card i {
    transform: scale(0.76);
  }

  .split-heading {
    align-items: start;
    flex-direction: column;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .leadership-grid article:last-child:nth-child(odd) {
    grid-column: auto;
    width: auto;
  }

  .leadership-grid img {
    max-height: 620px;
  }

  .form-grid,
  .footer-links,
  .footer-legal {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .site-footer {
    padding-inline: 20px;
  }

  .cookie-banner {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
  }

  .cookie-actions,
  .cookie-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

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

  .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .language-track {
    transform: none !important;
    will-change: auto;
  }

  .language-track img + img {
    display: none;
  }

  .language-window {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .language-motion-toggle {
    display: none;
  }

  .pipeline-visual .pipeline-stage-meter span {
    height: 18px !important;
    border-color: rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.72) !important;
  }

  .pipeline-visual .pipeline-document {
    opacity: 1 !important;
    transform: none !important;
  }

  .pipeline-visual .pipeline-progress {
    transform: scaleX(1) !important;
  }

  .pipeline-visual .pipeline-checkpoint i {
    background: var(--white) !important;
  }

  .pipeline-visual .pipeline-checkpoint b {
    color: var(--white) !important;
  }

  .pipeline-visual .pipeline-output span {
    height: var(--bar-height) !important;
    opacity: 1 !important;
  }

  .pipeline-pulse {
    display: none;
  }
}
