:root {
  --ink: #151719;
  --muted: #5d625d;
  --olive: #586614;
  --olive-dark: #3f4b0d;
  --orange: #f25a0b;
  --gold: #d6a82c;
  --line: #e5e6e1;
  --paper: #ffffff;
  --soft: #f7f7f3;
  --shadow: 0 22px 60px rgba(20, 22, 20, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

button {
  font: inherit;
}

svg {
  display: block;
}

body[data-design="classic"] .lab-shell,
body[data-design="lab"] .classic-shell {
  display: none;
}

.topbar {
  background: var(--olive-dark);
  color: #fff;
  font-size: 0.91rem;
  font-weight: 650;
}

.topbar__inner {
  align-items: center;
  display: flex;
  gap: 18px;
  margin: 0 auto;
  max-width: 1480px;
  min-height: 40px;
  padding: 0 40px;
}

.topbar a {
  margin-left: auto;
}

.divider {
  background: rgba(255, 255, 255, 0.55);
  height: 18px;
  width: 1px;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(15, 18, 14, 0.08);
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  min-height: 112px;
  padding: 14px 40px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  display: block;
  width: min(340px, 30vw);
}

.brand img {
  display: block;
  height: auto;
  max-height: 86px;
  object-fit: contain;
  width: 100%;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 48px);
  justify-content: center;
  text-transform: uppercase;
}

.nav a {
  color: #202322;
  font-size: 0.84rem;
  font-weight: 800;
}

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

.header-tools {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.design-switcher {
  background: #f2f2ec;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
}

.design-switcher button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
}

.design-switcher button.is-active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(20, 22, 20, 0.1);
  color: var(--ink);
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
  white-space: nowrap;
}

.button svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 22px;
}

.button:hover,
.chat-launcher:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(242, 90, 11, 0.22);
  color: #fff;
}

.button--secondary {
  background: #fff;
  border-color: #191b18;
  color: #171917;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(520px, 1.15fr);
  min-height: calc(100vh - 152px);
  overflow: hidden;
  position: relative;
}

.hero::before {
  background:
    linear-gradient(102deg, rgba(255, 255, 255, 0.97) 0 47%, rgba(255, 255, 255, 0.74) 52%, transparent 69%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero__copy {
  align-self: center;
  max-width: 760px;
  padding: 80px 40px 80px clamp(40px, 5vw, 78px);
  position: relative;
  z-index: 5;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 900;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 6.15rem);
  line-height: 0.95;
  margin: 0;
  max-width: 850px;
}

.hero h1::after,
.section-heading h2::after,
.faq-panel h2::after,
.contact-panel h2::after {
  background: var(--orange);
  content: "";
  display: block;
  height: 4px;
  margin-top: 30px;
  width: 92px;
}

.hero__lead {
  color: #242824;
  font-size: clamp(1.05rem, 1.65vw, 1.42rem);
  line-height: 1.55;
  margin: 32px 0 0;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 36px 0 28px;
}

.hero__location {
  align-items: flex-start;
  color: #20241e;
  display: flex;
  gap: 14px;
  line-height: 1.35;
  margin-top: 18px;
}

.hero__location svg {
  color: var(--olive);
  fill: none;
  flex: 0 0 auto;
  height: 30px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 30px;
}

.hero__location strong,
.hero__location span {
  display: block;
}

.hero__location span {
  color: var(--muted);
}

.hero__media {
  min-height: 620px;
  position: relative;
}

.hero__media img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: 58% 48%;
  position: absolute;
  width: 100%;
}

.services {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: 230px 1fr;
  padding: 54px clamp(24px, 4vw, 72px) 72px;
}

.section-heading h2,
.about-band h2,
.faq-contact h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  line-height: 1.04;
  margin: 0;
}

.service-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(20, 22, 20, 0.08);
  min-height: 210px;
  padding: 30px;
}

.service-card__icon {
  align-items: center;
  border: 1px solid rgba(242, 90, 11, 0.28);
  border-radius: 999px;
  color: var(--orange);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  min-width: 48px;
  padding: 0 12px;
}

.service-card h3 {
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 20px;
}

.service-card a {
  color: var(--orange);
  font-weight: 900;
}

.about-band {
  align-items: center;
  background: var(--olive-dark);
  color: #fff;
  display: grid;
  gap: 36px;
  grid-template-columns: 0.85fr 1.15fr;
  padding: 70px clamp(24px, 5vw, 84px);
}

.about-band .eyebrow {
  color: var(--gold);
}

.about-band p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0;
}

.faq-contact {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
  padding: 72px clamp(24px, 5vw, 84px) 110px;
}

.faq-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.contact-panel {
  background: var(--soft);
}

.question-list {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.question-list button,
.chat-window__body button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
  min-height: 52px;
  padding: 0 18px;
  text-align: left;
}

.contact-panel p {
  color: var(--muted);
  line-height: 1.6;
  margin: 24px 0;
}

.lab-shell {
  background:
    radial-gradient(circle at 80% 8%, rgba(242, 90, 11, 0.24), transparent 32vw),
    radial-gradient(circle at 22% 18%, rgba(214, 168, 44, 0.16), transparent 36vw),
    #070909;
  color: #f6f7ed;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.lab-canvas,
.lab-fallback-scene,
.lab-atmosphere {
  inset: 0;
  pointer-events: none;
  position: fixed;
}

.lab-canvas {
  height: 100vh;
  opacity: 0.9;
  width: 100vw;
  z-index: 0;
}

.lab-fallback-scene {
  background:
    linear-gradient(rgba(214, 168, 44, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 168, 44, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.4;
  z-index: 0;
}

.lab-atmosphere {
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.98), rgba(7, 9, 9, 0.5), rgba(7, 9, 9, 0.88)),
    url("assets/hero-medspa-performance.webp") right center / cover no-repeat;
  mix-blend-mode: normal;
  opacity: 0.48;
  z-index: 1;
}

.lab-shell::after {
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 2;
}

.lab-nav,
.lab-main {
  position: relative;
  z-index: 5;
}

.lab-nav {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 28px;
  position: fixed;
  right: 28px;
  top: 24px;
  z-index: 20;
}

.lab-brand,
.lab-nav__links,
.design-switcher--lab {
  background: rgba(11, 15, 15, 0.68);
  border: 1px solid rgba(214, 168, 44, 0.2);
  border-radius: 10px;
  backdrop-filter: blur(18px);
}

.lab-brand {
  align-items: center;
  display: flex;
  gap: 12px;
  padding: 10px 14px;
}

.lab-brand img {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  height: 54px;
  object-fit: contain;
  padding: 4px 8px;
  width: 132px;
}

.lab-brand span {
  color: #d6a82c;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.lab-nav__links {
  display: flex;
  gap: clamp(14px, 3vw, 40px);
  justify-self: center;
  padding: 18px 24px;
}

.lab-nav__links a {
  color: #dfe7d2;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.design-switcher--lab {
  background: rgba(11, 15, 15, 0.72);
}

.design-switcher--lab button {
  color: #aeb5a6;
}

.design-switcher--lab button.is-active {
  background: linear-gradient(135deg, rgba(242, 90, 11, 0.96), rgba(214, 168, 44, 0.82));
  box-shadow: 0 0 28px rgba(242, 90, 11, 0.28);
  color: #11130e;
}

.lab-main {
  display: grid;
  gap: 28px;
  padding: 132px 28px 42px;
}

.lab-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(214, 168, 44, 0.18);
  border-radius: 12px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
}

.lab-hero {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.55fr);
  min-height: calc(100vh - 174px);
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px);
}

.lab-hero__copy,
.lab-command {
  min-width: 0;
}

.lab-kicker {
  color: #d6a82c;
  font-size: 0.78rem;
  font-weight: 950;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.lab-hero h1 {
  font-size: clamp(3rem, 5.8vw, 6.6rem);
  line-height: 0.92;
  margin: 0;
  max-width: 620px;
  text-transform: uppercase;
}

.lab-hero h1 span {
  display: block;
}

.lab-hero__copy > p:last-of-type {
  color: #d8ddcf;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 720px;
}

.lab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.lab-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
}

.lab-action--primary {
  background: linear-gradient(135deg, #f25a0b, #d6a82c);
  box-shadow: 0 0 38px rgba(242, 90, 11, 0.28);
  color: #11130e;
}

.lab-action--ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(214, 168, 44, 0.28);
  color: #f6f7ed;
}

.lab-command {
  background: rgba(8, 12, 12, 0.72);
  border: 1px solid rgba(214, 168, 44, 0.24);
  border-radius: 12px;
  padding: 24px;
}

.lab-command__topline {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.lab-pulse,
.chat-launcher__dot {
  background: #f25a0b;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(242, 90, 11, 0.86);
  display: block;
  height: 9px;
  width: 9px;
}

.lab-command p {
  color: #c8cec0;
  line-height: 1.55;
  margin: 0 0 20px;
}

.lab-command__prompts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.lab-command__prompts button,
.lab-command__cta {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
}

.lab-command__prompts button {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(214, 168, 44, 0.16);
  color: #f6f7ed;
}

.lab-command__cta {
  background: #f25a0b;
  color: #11130e;
  width: 100%;
}

.lab-signal-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.lab-signal-strip div {
  background: rgba(11, 15, 15, 0.68);
  border: 1px solid rgba(214, 168, 44, 0.18);
  border-radius: 10px;
  color: #dfe7d2;
  font-weight: 850;
  padding: 18px;
  backdrop-filter: blur(16px);
}

.lab-signal-strip span {
  color: #f25a0b;
  display: block;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.lab-matrix {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  min-height: 760px;
  padding: clamp(28px, 5vw, 60px);
}

.lab-section-heading h2,
.lab-pathway h2,
.lab-visit h2 {
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 0.9;
  margin: 0;
  text-transform: uppercase;
}

.lab-orbit {
  min-height: 620px;
  position: relative;
}

.lab-orbit__rings {
  border: 1px solid rgba(214, 168, 44, 0.18);
  border-radius: 999px;
  inset: 8%;
  position: absolute;
}

.lab-orbit__rings::before,
.lab-orbit__rings::after {
  border: 1px solid rgba(214, 168, 44, 0.12);
  border-radius: 999px;
  content: "";
  position: absolute;
}

.lab-orbit__rings::before {
  inset: 14%;
}

.lab-orbit__rings::after {
  inset: 30%;
}

.lab-node {
  background: rgba(10, 14, 14, 0.78);
  border: 1px solid rgba(214, 168, 44, 0.24);
  border-radius: 999px;
  color: #f6f7ed;
  cursor: pointer;
  font-weight: 950;
  min-height: 78px;
  padding: 0 22px;
  position: absolute;
  text-align: left;
  width: min(230px, 32vw);
  backdrop-filter: blur(16px);
}

.lab-node span {
  color: #f25a0b;
  display: block;
  font-size: 0.76rem;
  margin-bottom: 4px;
}

.lab-node.is-active {
  background: linear-gradient(135deg, rgba(242, 90, 11, 0.94), rgba(214, 168, 44, 0.72));
  box-shadow: 0 0 40px rgba(242, 90, 11, 0.34);
  color: #11130e;
}

.lab-node:nth-of-type(1) {
  left: 10%;
  top: 9%;
}

.lab-node:nth-of-type(2) {
  right: 4%;
  top: 22%;
}

.lab-node:nth-of-type(3) {
  bottom: 16%;
  left: 5%;
}

.lab-node:nth-of-type(4) {
  bottom: 10%;
  right: 10%;
}

.lab-module-detail {
  background: rgba(8, 12, 12, 0.82);
  border: 1px solid rgba(214, 168, 44, 0.24);
  border-radius: 12px;
  left: 50%;
  max-width: 390px;
  padding: 28px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.lab-module-detail h3 {
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.96;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.lab-module-detail p {
  color: #c8cec0;
  line-height: 1.55;
}

.lab-module-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.lab-module-detail__chips span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(214, 168, 44, 0.18);
  border-radius: 999px;
  color: #dfe7d2;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 8px 10px;
}

.lab-pathway,
.lab-visit {
  padding: clamp(28px, 5vw, 60px);
}

.lab-steps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 38px;
}

.lab-steps article {
  background: rgba(8, 12, 12, 0.72);
  border: 1px solid rgba(214, 168, 44, 0.16);
  border-radius: 12px;
  min-height: 240px;
  padding: 26px;
}

.lab-steps span {
  color: #f25a0b;
  font-weight: 950;
  text-transform: uppercase;
}

.lab-steps h3 {
  font-size: 1.55rem;
  margin: 18px 0 14px;
}

.lab-steps p {
  color: #c8cec0;
  line-height: 1.6;
}

.lab-visit {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr minmax(320px, 0.42fr);
  margin-bottom: 38px;
}

.lab-visit__card {
  background: rgba(8, 12, 12, 0.74);
  border: 1px solid rgba(214, 168, 44, 0.2);
  border-radius: 12px;
  display: grid;
  gap: 12px;
  padding: 28px;
}

.lab-visit__card strong,
.lab-visit__card span {
  display: block;
}

.lab-visit__card span {
  color: #c8cec0;
}

.chat-launcher {
  align-items: center;
  background: var(--olive-dark);
  border: 0;
  border-radius: 999px;
  bottom: 28px;
  box-shadow: var(--shadow);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  min-height: 64px;
  padding: 0 22px;
  position: fixed;
  right: 28px;
  z-index: 40;
}

body[data-design="lab"] .chat-launcher {
  background: rgba(8, 12, 12, 0.72);
  border: 1px solid rgba(214, 168, 44, 0.26);
  color: #f6f7ed;
  backdrop-filter: blur(16px);
}

.chat-window {
  background: #fff;
  border-radius: 8px;
  bottom: 108px;
  box-shadow: var(--shadow);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  right: 28px;
  transform: translateY(18px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  width: min(390px, calc(100vw - 32px));
  z-index: 45;
}

.chat-window.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chat-window__header {
  align-items: center;
  background: var(--olive-dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
}

body[data-design="lab"] .chat-window {
  background: #101414;
  border: 1px solid rgba(214, 168, 44, 0.22);
  color: #f6f7ed;
}

body[data-design="lab"] .chat-window__header {
  background: linear-gradient(135deg, var(--olive-dark), #11130e);
}

.chat-window__header strong,
.chat-window__header span {
  display: block;
}

.chat-window__header span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  margin-top: 2px;
}

.chat-window__header button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.chat-window__body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.bot-message {
  background: var(--soft);
  border-radius: 8px;
  color: #30342f;
  line-height: 1.45;
  margin: 0;
  padding: 14px;
}

body[data-design="lab"] .bot-message,
body[data-design="lab"] .chat-window__body button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(214, 168, 44, 0.2);
  color: #dfe7d2;
}

.bot-message--answer {
  border-left: 4px solid var(--orange);
}

@media (max-width: 1220px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .header-tools {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .lab-nav {
    grid-template-columns: 1fr auto;
  }

  .lab-nav__links {
    display: none;
  }
}

@media (max-width: 1080px) {
  .topbar__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 24px;
  }

  .topbar a {
    margin-left: 0;
  }

  .site-header {
    min-height: auto;
    padding: 16px 24px;
  }

  .brand {
    width: min(260px, 54vw);
  }

  .brand img {
    max-height: 72px;
  }

  .nav {
    display: none;
  }

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

  .hero::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0 54%, rgba(255, 255, 255, 0.58) 80%, transparent 100%);
  }

  .hero__copy {
    padding: 58px 24px 34px;
  }

  .hero__media {
    min-height: 440px;
  }

  .services,
  .about-band,
  .faq-contact {
    grid-template-columns: 1fr;
  }

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

  .lab-hero,
  .lab-matrix,
  .lab-visit {
    grid-template-columns: 1fr;
  }

  .lab-signal-strip,
  .lab-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .lab-orbit {
    min-height: 760px;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .divider,
  .header-cta {
    display: none;
  }

  .site-header {
    gap: 14px;
    grid-template-columns: 1fr;
  }

  .brand {
    width: min(240px, 70vw);
  }

  .header-tools {
    align-items: stretch;
  }

  .design-switcher {
    width: 100%;
  }

  .design-switcher button {
    font-size: 0.72rem;
    padding: 0 8px;
    white-space: normal;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    min-height: 54px;
    width: 100%;
  }

  .service-grid,
  .lab-signal-strip,
  .lab-steps {
    grid-template-columns: 1fr;
  }

  .lab-nav {
    left: 16px;
    right: 16px;
    top: 14px;
  }

  .lab-brand {
    min-width: 0;
  }

  .lab-brand img {
    height: 44px;
    width: 106px;
  }

  .lab-brand span {
    display: none;
  }

  .lab-main {
    gap: 18px;
    padding: 102px 16px 28px;
  }

  .lab-hero {
    min-height: auto;
    padding: 28px 20px;
  }

  .lab-hero h1 {
    font-size: 2.42rem;
    line-height: 0.96;
  }

  .lab-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .lab-action {
    font-size: 0.94rem;
    padding: 0 14px;
    text-align: center;
    white-space: normal;
    width: 100%;
  }

  .lab-command__prompts {
    grid-template-columns: 1fr;
  }

  .lab-matrix,
  .lab-pathway,
  .lab-visit {
    padding: 24px 18px;
  }

  .lab-section-heading h2,
  .lab-pathway h2,
  .lab-visit h2 {
    font-size: 2.25rem;
    line-height: 0.98;
  }

  .lab-orbit {
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .lab-orbit__rings {
    display: none;
  }

  .lab-node,
  .lab-module-detail {
    position: static;
    transform: none;
    width: 100%;
  }

  .lab-node {
    min-height: 64px;
  }

  .lab-module-detail {
    margin-top: 8px;
    max-width: none;
  }

  .chat-launcher {
    bottom: 18px;
    justify-content: center;
    min-height: 56px;
    padding: 0;
    right: 18px;
    width: 56px;
  }

  .chat-launcher span:last-child {
    display: none;
  }

  .chat-window {
    bottom: 92px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .lab-fallback-scene {
    animation: lab-grid-drift 18s linear infinite;
  }
}

@keyframes lab-grid-drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 44px 44px;
  }
}
