:root {
  color-scheme: light;
  --font-display: "Commissioner", "Onest", "Segoe UI", sans-serif;
  --font-body: "Onest", "Commissioner", "Segoe UI", sans-serif;
  --paper: oklch(0.968 0.004 105);
  --paper-2: oklch(0.992 0.002 105);
  --paper-3: oklch(0.93 0.006 105);
  --ink: oklch(0.205 0.012 88);
  --graphite: oklch(0.31 0.013 91);
  --muted: oklch(0.43 0.014 96);
  --quiet: oklch(0.62 0.012 98);
  --line: oklch(0.8 0.007 100);
  --line-soft: oklch(0.86 0.006 100);
  --olive: oklch(0.49 0.052 137);
  --amber: oklch(0.69 0.118 67);
  --shadow-border:
    0 0 0 1px rgb(0 0 0 / 0.07),
    0 1px 2px -1px rgb(0 0 0 / 0.07),
    0 16px 38px -30px rgb(39 35 28 / 0.45);
  --shadow-border-hover:
    0 0 0 1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.11),
    0 20px 42px -28px rgb(39 35 28 / 0.48);
  --header-height: 4.5rem;
  --method-strip-height: 7.45rem;
  --panel-min: calc(100svh - var(--header-height));
  --rail-width: 5.55rem;
  --max-page: 106rem;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    linear-gradient(90deg, rgb(30 28 23 / 0.024) 1px, transparent 1px),
    linear-gradient(180deg, rgb(30 28 23 / 0.024) 1px, transparent 1px),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  background-size: 5.5rem 5.5rem, 5.5rem 5.5rem, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgb(30 28 23 / 0.05) 50%, transparent calc(50% + 1px)),
    linear-gradient(180deg, rgb(255 255 255 / 0.62), transparent 42rem);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--amber), var(--ink) 20%);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 14.5ch;
  margin-bottom: clamp(0.75rem, 1.4vw, 1.05rem);
  font-size: clamp(2.35rem, 3vw, 3.9rem);
  font-weight: 800;
  line-height: 1.01;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 2.25vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.68rem;
  font-size: clamp(1rem, 1.08vw, 1.16rem);
  font-weight: 800;
  line-height: 1.15;
}

p,
li {
  color: var(--muted);
  font-size: clamp(0.94rem, 0.86vw, 1rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  min-height: 2.5rem;
  padding: 0.72rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-140%);
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-out);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) auto minmax(15rem, 1fr);
  align-items: center;
  min-height: var(--header-height);
  padding: 0 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--paper-2), transparent 7%);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: 2.7rem auto;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  min-height: 2.9rem;
}

.brand-mark__logo {
  width: 2.7rem;
  height: 2.7rem;
  object-fit: contain;
}

.brand-mark__copy {
  display: grid;
  gap: 0.12rem;
}

.brand-mark__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1;
}

.brand-mark__caption {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav-links a,
.section-rail a,
.button,
.header-cta,
.lang-switch__button {
  min-height: 2.5rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  transition-property: color, transform;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}

.nav-links a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem;
  background: var(--paper);
  box-shadow: var(--shadow-border);
}

.lang-switch__button {
  border: 0;
  padding: 0 0.76rem;
  color: var(--muted);
  background: transparent;
  font: 800 0.7rem/1 var(--font-body);
  cursor: pointer;
  transition-property: color, background-color, transform, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}

.lang-switch__button.is-active {
  color: var(--ink);
  background: var(--paper-2);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06), 0 0.5rem 1rem rgb(39 35 28 / 0.08);
}

.button:active,
.header-cta:active,
.lang-switch__button:active {
  transform: scale(0.96);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 0.28rem;
  font-weight: 800;
  line-height: 1;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-out);
}

.header-cta {
  padding: 0 1rem;
  color: var(--paper-2);
  background: var(--ink);
  font-size: 0.8rem;
  box-shadow: 0 0.75rem 1.4rem -1rem rgb(39 35 28 / 0.54);
}

.button {
  padding: 0.92rem 1.08rem;
  font-size: 0.86rem;
}

.button--primary {
  color: var(--paper-2);
  background: var(--ink);
  box-shadow: 0 0.8rem 1.6rem -1rem rgb(39 35 28 / 0.56);
}

.button--primary:hover,
.header-cta:hover {
  background: color-mix(in oklch, var(--ink), var(--olive) 24%);
}

.button--plain {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.button--plain::after {
  content: "->";
  margin-left: 0.45rem;
  color: var(--olive);
}

.button--plain:hover {
  color: var(--olive);
}

.site-shell {
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  width: min(100%, var(--max-page));
  margin: 0 auto;
  border-right: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--paper-2), transparent 18%);
}

.section-rail {
  position: sticky;
  top: var(--header-height);
  z-index: 10;
  display: grid;
  align-content: start;
  height: calc(100svh - var(--header-height));
  border-right: 1px solid var(--line-soft);
  background: color-mix(in oklch, var(--paper-2), transparent 12%);
}

.section-rail a {
  position: relative;
  display: grid;
  align-content: center;
  gap: 0.22rem;
  min-height: 5.28rem;
  padding: 0.95rem 0.9rem;
  color: var(--graphite);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  text-transform: uppercase;
  transition-property: background-color, color;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}

.section-rail a::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  bottom: -1px;
  width: 1.65rem;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0.22);
  transform-origin: left center;
  transition-property: transform;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-out);
}

.section-rail a:hover {
  color: var(--ink);
  background: rgb(255 255 255 / 0.46);
}

.section-rail a:hover::before {
  transform: scaleX(1);
}

.section-rail span {
  font-size: 0.8rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.section-rail strong {
  max-width: none;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.05;
}

.page-flow {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(25rem, 0.84fr) minmax(31rem, 1.16fr);
  height: calc(100svh - var(--header-height) - var(--method-strip-height) - 2px);
  min-height: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--line-soft);
}

.hero__copy {
  display: grid;
  align-content: center;
  padding: clamp(2rem, 3.2vw, 3.35rem) clamp(2rem, 4.2vw, 4.25rem);
  border-right: 1px solid var(--line-soft);
}

.section-kicker {
  margin-bottom: 0.9rem;
  color: var(--graphite);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 1.2rem;
  color: color-mix(in oklch, var(--ink), var(--muted) 28%);
  font-size: clamp(0.98rem, 1vw, 1.1rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.hero__image {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper-3);
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/previews/light-engineering-lab.png");
  background-position: 54% 38%;
  background-size: cover;
  transform: scale(1.08);
  transform-origin: 54% 38%;
}

.hero__image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.1), transparent 28%),
    linear-gradient(180deg, transparent 76%, rgb(33 31 26 / 0.12));
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.method-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  height: var(--method-strip-height);
  min-height: 0;
  padding: 0;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.5), rgb(255 255 255 / 0.2)),
    color-mix(in oklch, var(--paper-2), white 16%);
  border-bottom: 1px solid var(--line-soft);
}

.method-strip article {
  position: relative;
  display: grid;
  grid-template-columns: clamp(3.45rem, 3.6vw, 4.1rem) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(0.85rem, 1.05vw, 1.15rem);
  row-gap: 0.34rem;
  align-items: center;
  text-align: left;
  align-content: center;
  min-width: 0;
  min-height: 0;
  padding: clamp(0.82rem, 1vw, 1rem) clamp(1.05rem, 1.55vw, 1.55rem);
  border-right: 1px solid var(--line-soft);
  background: transparent;
  box-shadow: none;
}

.method-strip article:last-child {
  border-right: 0;
}

.method-strip strong {
  align-self: end;
  max-width: 22ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.98vw, 1.1rem);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.method-strip p {
  grid-column: 2;
  align-self: start;
  max-width: 28ch;
  margin: 0;
  color: var(--graphite);
  font-size: clamp(0.86rem, 0.78vw, 0.94rem);
  line-height: 1.36;
  text-wrap: pretty;
}

.method-strip__icon {
  position: relative;
  z-index: 1;
  grid-row: 1 / span 2;
  justify-self: center;
  align-self: center;
  width: clamp(2.85rem, 3.05vw, 3.55rem);
  height: clamp(2.85rem, 3.05vw, 3.55rem);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 0.7rem 1rem rgb(39 35 28 / 0.11));
}

.method-strip__icon[src*="prototype"],
.method-strip__icon[src*="validate"] {
  width: clamp(2.95rem, 3.15vw, 3.65rem);
  height: clamp(2.95rem, 3.15vw, 3.65rem);
}

.indexed-section {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  min-height: var(--panel-min);
  border-bottom: 1px solid var(--line-soft);
}

.indexed-section__label {
  width: fit-content;
  margin: clamp(1.1rem, 1.9vw, 1.65rem) clamp(1.35rem, 4vw, 4.25rem) 0;
  padding: 0;
  color: var(--muted);
  border-right: 0;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.indexed-section__label span {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.indexed-section__label::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.62rem;
  background: var(--amber);
}

.indexed-section__content {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: clamp(1.6rem, 3.2vw, 3.2rem) clamp(1.35rem, 4vw, 4.25rem) clamp(2.2rem, 4.2vw, 4rem);
}

.split-copy {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(22rem, 1.18fr);
  gap: clamp(2.4rem, 5vw, 6rem);
}

.lab-profile .indexed-section__content {
  align-content: center;
}

.lab-profile .split-copy {
  grid-template-columns: minmax(33rem, 0.92fr) minmax(34rem, 1.08fr);
  align-items: start;
  gap: clamp(4rem, 7vw, 6.75rem);
}

.split-copy h2 {
  max-width: 18ch;
}

.lab-profile .split-copy h2 {
  max-width: 22ch;
  margin-top: 0;
  font-size: clamp(2.7rem, 3.25vw, 3.55rem);
  line-height: 1.02;
  text-wrap: wrap;
  white-space: pre;
}

.split-copy__text {
  display: grid;
  align-content: start;
  gap: clamp(1.25rem, 2vw, 1.7rem);
}

.lab-profile .split-copy__text {
  height: calc(clamp(2.7rem, 3.25vw, 3.55rem) * 3 * 1.02);
  grid-template-rows: auto auto;
  align-content: space-between;
  gap: 0;
}

.split-copy__text > p {
  max-width: 54rem;
  color: var(--graphite);
  font-size: clamp(1.05rem, 1.12vw, 1.2rem);
  line-height: 1.68;
}

.lab-profile .split-copy__text > p {
  max-width: 58rem;
  margin: 0;
}

.proof-tags {
  display: grid;
  grid-template-columns: 0.9fr 1.34fr 0.82fr 1.34fr;
  gap: 0.5rem;
  align-items: stretch;
  padding-top: 0.15rem;
}

.proof-tags span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.72rem 0.72rem 0.72rem 1.55rem;
  color: var(--graphite);
  background: rgb(255 255 255 / 0.36);
  box-shadow: var(--shadow-border);
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 0.8vw, 0.9rem);
  font-weight: 800;
  line-height: 1.25;
}

.proof-tags span::before {
  content: "";
  position: absolute;
  left: 0.68rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--amber);
  transform: translateY(-50%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(20rem, 0.86fr) minmax(22rem, 1.14fr);
  gap: clamp(1.8rem, 4vw, 4.75rem);
  align-items: center;
  margin-bottom: clamp(2.1rem, 4vw, 3.6rem);
}

.section-heading h2 {
  max-width: 17ch;
}

.section-heading p {
  margin: 0;
  max-width: 49rem;
  color: var(--graphite);
  font-size: clamp(1.05rem, 1.05vw, 1.2rem);
  line-height: 1.6;
}

.section-heading--wide {
  grid-template-columns: 1fr;
  margin-bottom: clamp(1.6rem, 3vw, 2.7rem);
}

.section-heading--wide h2 {
  max-width: 23ch;
}

.direction-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.55vw, 1.25rem);
  align-items: stretch;
  grid-auto-rows: 1fr;
  padding: 0;
  background: transparent;
  border: 0;
}

.directions .indexed-section__content {
  align-content: center;
  grid-template-rows: auto auto;
  row-gap: clamp(2.7rem, 5.4vw, 4.6rem);
}

.direction {
  position: relative;
  display: grid;
  align-content: start;
  min-height: clamp(19.5rem, 35svh, 23.5rem);
  padding: clamp(1.15rem, 1.9vw, 1.75rem);
  border: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.58), rgb(255 255 255 / 0.2)),
    color-mix(in oklch, var(--paper-2), white 22%);
  box-shadow: var(--shadow-border);
  transition-property: box-shadow, transform, background-color;
  transition-duration: 180ms;
  transition-timing-function: var(--ease-out);
}

.directions .section-heading {
  grid-template-columns: minmax(34rem, 0.75fr) minmax(42rem, 1.25fr);
  gap: clamp(3rem, 4.8vw, 4.9rem);
  align-items: center;
  margin-bottom: 0;
}

.directions .section-heading h2 {
  max-width: 34rem;
  font-size: clamp(2.08rem, 2.14vw, 2.52rem);
  line-height: 1.08;
  text-wrap: wrap;
  white-space: pre;
}

.directions .section-heading p {
  display: flex;
  align-items: center;
  max-width: 62rem;
  min-height: calc(clamp(2.08rem, 2.14vw, 2.52rem) * 2 * 1.08);
  padding-top: 0;
  padding-bottom: 0;
  font-size: clamp(1.18rem, 1.22vw, 1.4rem);
  line-height: 1.84;
}

.direction:hover {
  z-index: 1;
  background: var(--paper-2);
  box-shadow: var(--shadow-border-hover);
  transform: translateY(-1px);
}

.direction p {
  max-width: 33rem;
  margin-bottom: 1.05rem;
  color: var(--graphite);
  font-size: clamp(0.92rem, 0.86vw, 1rem);
  line-height: 1.56;
}

.direction__code {
  margin-top: auto;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.direction__icon {
  position: relative;
  z-index: 1;
  display: block;
  width: clamp(4.65rem, 5.1vw, 5.75rem);
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 clamp(1.05rem, 1.6vw, 1.45rem);
  object-fit: contain;
  filter: drop-shadow(0 0.85rem 1.2rem rgb(39 35 28 / 0.12));
}

.direction__icon[src*="direction-mobile"] {
  width: clamp(4.95rem, 5.35vw, 6rem);
}

.direction__icon[src*="direction-xr"],
.direction__icon[src*="direction-embedded"] {
  width: clamp(4.85rem, 5.25vw, 5.95rem);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.7vw, 1.3rem);
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 0;
}

.process-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: clamp(17rem, 34svh, 22rem);
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.6), rgb(255 255 255 / 0.2)),
    color-mix(in oklch, var(--paper-2), white 24%);
  box-shadow: var(--shadow-border);
}

.process-step__icon {
  width: clamp(5.1rem, 5.6vw, 6.35rem);
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 clamp(1.1rem, 1.8vw, 1.45rem);
  object-fit: contain;
  filter: drop-shadow(0 0.8rem 1.1rem rgb(39 35 28 / 0.12));
}

.process-step__icon[src*="prototype"],
.process-step__icon[src*="validate"] {
  width: clamp(5.45rem, 5.95vw, 6.7rem);
}

.process-steps span {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.process-steps strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.98vw, 1.12rem);
  font-weight: 800;
}

.process-steps p {
  margin: 0;
  max-width: 20rem;
  color: var(--graphite);
  font-size: clamp(0.88rem, 0.82vw, 0.96rem);
  line-height: 1.55;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.55fr) minmax(0, 1fr);
  gap: clamp(2.4rem, 5.2vw, 6rem);
  align-items: center;
}

.case-device {
  display: grid;
  place-items: center;
}

.phone-shell {
  position: relative;
  width: min(100%, clamp(14rem, 17vw, 17.4rem));
  aspect-ratio: 9 / 18.4;
  padding: 0.72rem;
  border-radius: 2rem;
  background: linear-gradient(145deg, oklch(0.13 0.01 88), oklch(0.28 0.014 90));
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 0.14),
    0 1.7rem 3.2rem -1.6rem rgb(39 35 28 / 0.52);
}

.phone-speaker {
  position: absolute;
  top: 1.05rem;
  left: 50%;
  z-index: 2;
  width: 4rem;
  height: 0.82rem;
  border-radius: 999px;
  background: oklch(0.08 0.006 88);
  transform: translateX(-50%);
}

.app-screen {
  height: 100%;
  overflow: hidden;
  padding: 3.5rem 0.92rem 0.92rem;
  border-radius: 1.38rem;
  background:
    radial-gradient(circle at 74% 15%, oklch(0.84 0.08 80 / 0.6), transparent 7rem),
    linear-gradient(180deg, oklch(0.965 0.015 87), oklch(0.885 0.027 102));
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
}

.app-chip,
.case-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.72rem;
  color: var(--graphite);
  background: rgb(255 255 255 / 0.66);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.07);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

.app-screen h3 {
  max-width: 8ch;
  margin: 1.25rem 0 1.35rem;
  font-size: 1.8rem;
}

.task-card {
  padding: 1rem;
  background: rgb(255 255 255 / 0.72);
  box-shadow: var(--shadow-border);
}

.task-card span {
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 0.8rem;
  border-radius: 0.38rem;
  background:
    linear-gradient(135deg, color-mix(in oklch, var(--olive), white 22%), color-mix(in oklch, var(--amber), white 12%));
}

.task-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.86rem;
}

.task-card p {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
}

.progress-cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.34rem;
  margin-top: 0.9rem;
}

.progress-cells span {
  height: 1rem;
  background: color-mix(in oklch, var(--olive), white 28%);
}

.case-copy h2 {
  max-width: 21ch;
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 2.05vw, 2.45rem);
  line-height: 1.08;
}

.case-copy > p {
  max-width: 58rem;
  color: var(--graphite);
  font-size: clamp(1.02rem, 1vw, 1.13rem);
  line-height: 1.62;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 2.1rem;
}

.case-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.4vw, 1.15rem);
  margin: 1.6rem 0 1.25rem;
  background: transparent;
}

.case-notes > div {
  min-height: clamp(9rem, 16svh, 12rem);
  padding: clamp(1.15rem, 1.75vw, 1.45rem);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.62), rgb(255 255 255 / 0.22)),
    color-mix(in oklch, var(--paper-2), white 24%);
  box-shadow: var(--shadow-border);
}

.case-note p {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(0.98rem, 0.94vw, 1.06rem);
  line-height: 1.58;
}

.case-notes ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-notes li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--graphite);
  font-size: clamp(0.96rem, 0.9vw, 1.02rem);
  line-height: 1.5;
}

.case-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--olive);
}

.case-result {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.case-result p {
  margin-bottom: 0;
  color: var(--graphite);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.08vw, 1.22rem);
  font-weight: 800;
  line-height: 1.45;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line-soft);
  border: 0;
}

.principles .section-heading h2 {
  max-width: 25ch;
  font-size: clamp(2.05rem, 3vw, 3.45rem);
}

.principle-list article {
  min-height: clamp(14rem, 26svh, 18rem);
  padding: clamp(1.45rem, 2.4vw, 2.15rem);
  background: rgb(255 255 255 / 0.32);
}

.principle-list span {
  display: block;
  margin-bottom: 1.45rem;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.principle-list h3 {
  margin-bottom: 0.82rem;
  font-size: clamp(1.12rem, 1.22vw, 1.34rem);
  line-height: 1.16;
}

.principle-list p {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(0.98rem, 0.95vw, 1.08rem);
  line-height: 1.58;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(30rem, 1fr);
  gap: clamp(2rem, 4.2vw, 4.5rem);
  align-items: center;
}

.contact-layout h2 {
  max-width: 18ch;
  font-size: clamp(2.05rem, 3vw, 3.45rem);
  line-height: 1.08;
}

.contact-layout p {
  max-width: 34rem;
  margin-top: 1.3rem;
  color: var(--graphite);
  font-size: clamp(1.05rem, 1.05vw, 1.2rem);
  line-height: 1.62;
}

.brief-sheet {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(20rem, 1.18fr);
  min-height: clamp(23rem, 42svh, 30rem);
  background: rgb(255 255 255 / 0.32);
  box-shadow: var(--shadow-border);
}

.brief-sheet__copy {
  display: grid;
  align-content: center;
  gap: 1.05rem;
  padding: clamp(1.2rem, 3vw, 2.1rem);
  border-right: 1px solid var(--line-soft);
}

.brief-sheet__copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1.15vw, 1.3rem);
  font-weight: 800;
}

.brief-sheet__email {
  width: fit-content;
  color: var(--olive);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.65vw, 1.72rem);
  font-weight: 800;
  transition-property: color, transform;
  transition-duration: 160ms;
  transition-timing-function: var(--ease-out);
}

.brief-sheet__email:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.brief-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  background: var(--line-soft);
}

.brief-fields div {
  min-height: 5.35rem;
  padding: 0.92rem;
  background: color-mix(in oklch, var(--paper-2), white 28%);
}

.brief-fields dt {
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 800;
}

.brief-fields dd {
  margin: 0;
  color: var(--muted);
  color: var(--graphite);
  font-size: 0.86rem;
  line-height: 1.42;
}

.blueprint {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  background: var(--paper-2);
}

.blueprint img {
  width: 100%;
  height: 100%;
  min-height: clamp(23rem, 42svh, 30rem);
  object-fit: cover;
  object-position: center;
  outline: 1px solid rgba(0, 0, 0, 0.1);
  outline-offset: -1px;
}

.blueprint::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(255 255 255 / 0.12), transparent 34%),
    linear-gradient(180deg, transparent 70%, rgb(39 35 28 / 0.04));
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.4rem, 4.6vw, 4.5rem);
  color: var(--muted);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
}

.site-footer__legal {
  color: var(--graphite);
  font-family: var(--font-display);
  font-weight: 800;
}

[data-lang="en"] [data-en] {
  hyphens: auto;
}

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

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

@media (max-width: 86rem) {
  .site-header {
    grid-template-columns: minmax(14rem, 1fr) auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(21rem, 0.9fr) minmax(23rem, 1.1fr);
  }

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

  .direction--wide,
  .direction--compact {
    grid-column: auto;
  }

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

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 0;
  }

  .process-steps li {
    padding-left: 1.35rem;
    border-bottom: 0;
  }
}

@media (max-width: 66rem) {
  :root {
    --rail-width: 0;
    --header-height: 4.25rem;
  }

  .site-header {
    min-height: auto;
    padding: 0.65rem 1rem;
  }

  .brand-mark {
    grid-template-columns: 2.45rem auto;
  }

  .brand-mark__logo {
    width: 2.45rem;
    height: 2.45rem;
  }

  .header-cta {
    display: none;
  }

  .site-shell {
    display: block;
    border-left: 0;
    border-right: 0;
  }

  .section-rail {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .hero__copy {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero__image img {
    min-height: clamp(18rem, 44svh, 28rem);
  }

  .method-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .method-strip article {
    min-height: var(--method-strip-height);
    border-bottom: 0;
  }

  .indexed-section {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: auto;
  }

  .indexed-section__label {
    margin: 1.25rem 1rem -0.4rem;
    border-right: 0;
    border-bottom: 0;
    padding: 0;
  }

  .indexed-section__content {
    align-content: start;
    padding: clamp(2rem, 7vw, 3.4rem) 1rem;
  }

  .split-copy,
  .section-heading,
  .directions .section-heading,
  .case-layout,
  .case-notes,
  .contact-layout,
  .brief-sheet {
    grid-template-columns: 1fr;
  }

  .directions .section-heading {
    align-items: start;
    gap: 1.1rem;
  }

  .lab-profile .split-copy h2,
  .directions .section-heading h2 {
    text-wrap: balance;
    white-space: normal;
  }

  .lab-profile .split-copy__text {
    height: auto;
    gap: clamp(1.25rem, 2vw, 1.7rem);
  }

  .directions .section-heading p {
    max-width: 100%;
    min-height: 0;
    padding-bottom: 0;
    line-height: 1.58;
  }

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

  .direction--wide,
  .direction--compact {
    grid-column: auto;
  }

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

  .brief-sheet__copy {
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line-soft);
  }
}

@media (max-width: 42rem) {
  h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 8.6vw, 2.65rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(1.5rem, 6.9vw, 2.05rem);
    line-height: 1.1;
  }

  .brand-mark__caption {
    display: none;
  }

  .lang-switch__button {
    padding: 0 0.58rem;
  }

  .direction-grid,
  .principle-list,
  .process-steps,
  .proof-tags,
  .brief-fields {
    grid-template-columns: 1fr;
  }

  .method-strip {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .method-strip article {
    min-width: 0;
  }

  .method-strip article,
  .direction,
  .principle-list article,
  .process-steps li,
  .proof-tags span {
    border-right: 0;
  }

  .process-steps li:not(:last-child)::after {
    display: none;
  }

  .process-steps li {
    transform: none !important;
  }

  .direction {
    min-height: clamp(17.5rem, 52svh, 21rem);
  }

  .direction__icon {
    margin-bottom: 1.3rem;
  }

  .case-device {
    justify-items: center;
  }

  .phone-shell {
    width: min(100%, 13rem);
  }

  .blueprint {
    min-height: 12rem;
  }

  .blueprint img {
    min-height: 14rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.3rem 1rem;
  }
}
