/*
 * Desert Data Labs — The Live Transect
 * A working field instrument, not a decorative agency template.
 */

:root {
  --bone: #f2e9d8;
  --bone-bright: #fff9ed;
  --bone-deep: #ded1bb;
  --night: #071c1b;
  --night-soft: #102d2b;
  --moss: #286858;
  --survey: #e8bd3e;
  --signal: #c94f38;
  --chart-blue: #367d9b;
  --plum: #4d314f;
  --paper: var(--bone);
  --paper-deep: var(--bone-deep);
  --paper-soft: var(--bone-bright);
  --ink: var(--night);
  --ink-soft: #36504c;
  --ink-faint: #687b75;
  --cactus: var(--moss);
  --cactus-dark: #174f44;
  --cactus-soft: #d7e5dc;
  --coral: var(--signal);
  --coral-dark: #9e3929;
  --line: #cfc2ad;
  --line-strong: #aa9b84;
  --white: var(--bone-bright);
  --content: 80rem;
  --reading: 43rem;
  --nav-height: 4.8rem;
  --font-sans: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shadow: 0 28px 70px rgba(7, 28, 27, 0.2);
  --shadow-small: 0 12px 34px rgba(7, 28, 27, 0.12);
}

html {
  background: var(--night);
  scroll-padding-top: calc(var(--nav-height) + 4.5rem);
}

body,
body.quarto-light,
body.quarto-dark {
  background: var(--bone);
  color: var(--night);
  font-family: var(--font-sans);
}

#title-block-header:empty {
  display: none;
}

::selection {
  color: var(--night);
  background: var(--survey);
}

h1,
h2,
h3,
h4,
h5,
h6,
body.quarto-light :where(h1, h2, h3, h4, h5, h6),
body.quarto-dark :where(h1, h2, h3, h4, h5, h6) {
  color: var(--night);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.055em;
}

h1 em,
h2 em,
h3 em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 720;
  letter-spacing: -0.035em;
}

/* Dark, precise site shell */
.navbar,
body.quarto-light .navbar,
body.quarto-dark .navbar {
  position: relative !important;
  inset: auto !important;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(255, 249, 237, 0.13) !important;
  color: var(--bone-bright) !important;
  background: rgba(7, 28, 27, 0.96) !important;
  box-shadow: none !important;
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--bone-bright) !important;
}

.navbar-brand img,
.navbar-logo {
  border: 1px solid rgba(232, 189, 62, 0.35);
  border-radius: 0.35rem;
  background: var(--night-soft);
}

.navbar .nav-link,
body.quarto-light .navbar .nav-link,
body.quarto-dark .navbar .nav-link {
  color: rgba(255, 249, 237, 0.72) !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  color: var(--bone-bright) !important;
  background: rgba(255, 249, 237, 0.08) !important;
}

.navbar .navbar-nav:last-child .nav-link[href*="contact"] {
  border: 1px solid var(--survey) !important;
  color: var(--night) !important;
  background: var(--survey) !important;
}

.navbar .navbar-nav:last-child .nav-link[href*="contact"]:hover,
.navbar .navbar-nav:last-child .nav-link[href*="contact"]:focus-visible {
  border-color: var(--bone-bright) !important;
  color: var(--night) !important;
  background: var(--bone-bright) !important;
}

.navbar-toggler {
  border-color: rgba(255, 249, 237, 0.35) !important;
  color: var(--bone-bright) !important;
  background: transparent !important;
}

.navbar-toggler-icon {
  border-color: var(--bone-bright);
}

.navbar-toggler-icon::after {
  border-color: var(--bone-bright);
}

.nav-footer,
.page-footer,
footer.footer {
  border-color: rgba(255, 249, 237, 0.13) !important;
  color: rgba(255, 249, 237, 0.64) !important;
  background: var(--night) !important;
}

.nav-footer a,
.page-footer a,
footer.footer a {
  color: var(--survey) !important;
}

/* Stronger shared controls */
.button,
.tg-btn,
.btn,
body.quarto-light :where(.button, .tg-btn, .btn),
body.quarto-dark :where(.button, .tg-btn, .btn) {
  min-height: 3.25rem;
  border-radius: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease,
    border-color 180ms ease, color 180ms ease;
}

.button:hover,
.tg-btn:hover,
.btn:hover {
  transform: translate(-2px, -2px);
}

.button--primary,
.tg-btn-primary,
.btn-primary,
body.quarto-light :where(.button--primary, .tg-btn-primary, .btn-primary),
body.quarto-dark :where(.button--primary, .tg-btn-primary, .btn-primary) {
  border-color: var(--night) !important;
  color: var(--bone-bright) !important;
  background: var(--night) !important;
}

.button--primary:hover,
.tg-btn-primary:hover,
.btn-primary:hover {
  border-color: var(--signal) !important;
  background: var(--signal) !important;
}

.button--signal {
  border-color: var(--survey) !important;
  color: var(--night) !important;
  background: var(--survey) !important;
}

.button--signal:hover {
  border-color: var(--bone-bright) !important;
  background: var(--bone-bright) !important;
}

.button--inverse {
  border-color: rgba(255, 249, 237, 0.42) !important;
  color: var(--bone-bright) !important;
  background: transparent !important;
}

.button--inverse:hover {
  border-color: var(--bone-bright) !important;
  background: rgba(255, 249, 237, 0.08) !important;
}

.button--dark {
  justify-content: space-between;
  gap: 2rem;
  border-color: var(--night) !important;
  color: var(--bone-bright) !important;
  background: var(--night) !important;
}

.text-link {
  color: var(--night) !important;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link:hover {
  color: var(--signal) !important;
}

/* Reveal stays fast and never hides the no-JS page. */
.has-revamp-js [data-reveal] {
  opacity: 0;
  transform: translateY(1.2rem);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.has-revamp-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Live processor hero */
.pipeline-hero {
  position: relative;
  height: auto;
  color: var(--bone-bright);
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(255, 249, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 249, 237, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 16% 20%, rgba(40, 104, 88, 0.42), transparent 34rem);
  background-size: 4.5rem 4.5rem, 4.5rem 4.5rem, auto;
}

.has-revamp-js .pipeline-hero {
  height: 185svh;
}

.pipeline-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 24rem;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(7, 28, 27, 0.96));
  content: "";
}

.pipeline-hero__sticky {
  position: sticky;
  top: var(--nav-height);
  z-index: 1;
  display: grid;
  min-height: calc(100svh - var(--nav-height));
  padding: clamp(2.5rem, 6vh, 5rem) var(--gutter) 2.5rem;
  align-content: center;
  overflow: hidden;
}

.pipeline-hero__grid {
  display: grid;
  width: min(100%, var(--content));
  margin-inline: auto;
  grid-template-columns: minmax(0, 0.9fr) minmax(31rem, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.pipeline-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 47rem;
}

.hero-kicker,
.page-kicker,
.section-kicker,
.project-story__eyebrow,
.project-number,
.project-type {
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.pipeline-hero .hero-kicker {
  color: var(--survey);
}

.pipeline-hero h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
  color: var(--bone-bright) !important;
  font-size: clamp(4.2rem, 7.5vw, 7.4rem);
  line-height: 0.88;
}

.pipeline-hero h1 em {
  color: var(--survey);
}

.pipeline-hero .hero-lede {
  max-width: 38rem;
  color: rgba(255, 249, 237, 0.73);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.55;
}

.pipeline-hero .hero-actions {
  margin-top: 1.8rem;
}

.hero-proof {
  display: flex;
  margin-top: 2.3rem;
  padding-top: 1rem;
  gap: 1.1rem;
  border-top: 1px solid rgba(255, 249, 237, 0.16);
  color: rgba(255, 249, 237, 0.58);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-proof span {
  display: flex;
  gap: 0.4rem;
}

.hero-proof b {
  color: var(--survey);
}

.sample-processor {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 249, 237, 0.25);
  border-radius: 0.45rem;
  background: #0b2422;
  box-shadow: 1.2rem 1.2rem 0 rgba(232, 189, 62, 0.11), var(--shadow);
}

.sample-processor__head,
.sample-processor__foot,
.instrument-toolbar {
  display: flex;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 249, 237, 0.64);
  background: rgba(7, 28, 27, 0.94);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 760;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.sample-processor__head {
  border-bottom: 1px solid rgba(255, 249, 237, 0.16);
}

.sample-processor__head > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.processor-light {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--survey);
  box-shadow: 0 0 0 0.22rem rgba(232, 189, 62, 0.12);
}

.sample-processor__head output {
  color: var(--survey);
}

.sample-processor__stage {
  position: relative;
  height: clamp(24rem, 48vh, 34rem);
  min-height: 24rem;
  overflow: hidden;
}

.processor-grid {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 249, 237, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 249, 237, 0.055) 1px, transparent 1px);
  background-size: 2.25rem 2.25rem;
}

.processor-token {
  position: absolute;
  z-index: 3;
  top: var(--raw-y);
  left: var(--raw-x);
  width: 38%;
  min-height: 3.35rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 249, 237, 0.32);
  border-radius: 0.25rem;
  color: var(--bone-bright);
  background: rgba(16, 45, 43, 0.96);
  box-shadow: 0 0.45rem 1.4rem rgba(0, 0, 0, 0.22);
  font-family: var(--font-mono);
  font-size: clamp(0.66rem, 1.15vw, 0.8rem);
  transform: rotate(var(--tilt));
  transition: top 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    left 520ms cubic-bezier(0.2, 0.8, 0.2, 1), width 520ms ease,
    opacity 380ms ease, transform 520ms ease, border-color 240ms ease;
}

.processor-token small {
  display: block;
  margin-bottom: 0.15rem;
  color: #89aa9f;
  font-size: 0.54rem;
  letter-spacing: 0.08em;
}

.processor-token--flag {
  border-color: rgba(201, 79, 56, 0.78);
}

.pipeline-hero[data-stage="checked"] .processor-token,
.pipeline-hero[data-stage="useful"] .processor-token {
  top: var(--checked-y);
  left: 4%;
  width: 39%;
  min-height: 2.35rem;
  padding-block: 0.32rem;
  transform: rotate(0deg);
}

.pipeline-hero[data-stage="useful"] .processor-token {
  width: 29%;
  opacity: 0.34;
}

.processor-gate {
  position: absolute;
  z-index: 2;
  top: 7%;
  bottom: 7%;
  left: 48%;
  display: grid;
  width: 1px;
  opacity: 0;
  background: rgba(232, 189, 62, 0.5);
  transform: scaleY(0.15);
  transform-origin: top;
  transition: opacity 280ms ease, transform 650ms ease;
}

.processor-gate span {
  position: absolute;
  top: 0;
  left: 0.7rem;
  color: var(--survey);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.pipeline-hero:not([data-stage="raw"]) .processor-gate {
  opacity: 1;
  transform: scaleY(1);
}

.processor-review {
  position: absolute;
  z-index: 3;
  right: 5%;
  bottom: 8%;
  width: 40%;
  padding: 0.75rem;
  border: 1px solid var(--signal);
  border-radius: 0.25rem;
  opacity: 0;
  color: #ffd7cf;
  background: rgba(201, 79, 56, 0.13);
  transform: translateY(0.8rem);
  transition: opacity 320ms ease 180ms, transform 320ms ease 180ms;
}

.processor-review span,
.processor-review strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.processor-review span {
  margin-bottom: 0.2rem;
  color: var(--signal);
  text-transform: uppercase;
}

.pipeline-hero:not([data-stage="raw"]) .processor-review {
  opacity: 1;
  transform: none;
}

.processor-decision {
  position: absolute;
  z-index: 4;
  top: 13%;
  right: 5%;
  width: 41%;
  height: 55%;
  padding: 1rem;
  border: 1px solid rgba(232, 189, 62, 0.62);
  border-radius: 0.3rem;
  opacity: 0;
  background: #17443e;
  box-shadow: 0 0 0 0.28rem rgba(232, 189, 62, 0.06);
  transform: translateX(1rem);
  transition: opacity 420ms ease 120ms, transform 420ms ease 120ms;
}

.pipeline-hero[data-stage="useful"] .processor-decision {
  opacity: 1;
  transform: none;
}

.decision-map {
  position: relative;
  height: 48%;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 249, 237, 0.24);
  background:
    linear-gradient(35deg, transparent 45%, rgba(232, 189, 62, 0.25) 46%, transparent 48%),
    linear-gradient(-20deg, transparent 52%, rgba(255, 249, 237, 0.12) 53%, transparent 54%);
}

.decision-map i {
  position: absolute;
  width: 0.48rem;
  height: 0.48rem;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--survey);
}

.decision-map i:nth-child(1) { top: 22%; left: 18%; }
.decision-map i:nth-child(2) { top: 56%; left: 38%; }
.decision-map i:nth-child(3) { top: 31%; left: 61%; }
.decision-map i:nth-child(4) { top: 69%; left: 76%; }
.decision-map i:nth-child(5) { top: 18%; left: 86%; }

.decision-chart {
  display: flex;
  height: 20%;
  align-items: end;
  gap: 0.35rem;
}

.decision-chart i {
  flex: 1;
  height: 38%;
  background: #64a8c0;
}

.decision-chart i:nth-child(2) { height: 72%; }
.decision-chart i:nth-child(3) { height: 52%; }
.decision-chart i:nth-child(4) { height: 88%; background: var(--survey); }
.decision-chart i:nth-child(5) { height: 66%; }

.processor-decision p {
  margin: 0.7rem 0 0;
  color: rgba(255, 249, 237, 0.7);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.processor-decision p span {
  color: var(--bone-bright);
  font-size: 1.3rem;
  font-weight: 800;
}

.processor-decision > strong {
  color: var(--survey);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.sample-processor__foot {
  border-top: 1px solid rgba(255, 249, 237, 0.16);
}

.processor-status {
  max-width: 67%;
  color: rgba(255, 249, 237, 0.68);
  text-transform: none;
}

.sample-processor__foot button,
.instrument-console button,
.qa-demo button {
  min-height: 2.8rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--survey);
  border-radius: 0.2rem;
  color: var(--night);
  background: var(--survey);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sample-processor__foot button:hover,
.instrument-console button:hover,
.qa-demo button:hover {
  border-color: var(--bone-bright);
  background: var(--bone-bright);
}

.pipeline-hero__progress {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 1.1rem;
  left: var(--gutter);
  height: 2px;
  overflow: hidden;
  background: rgba(255, 249, 237, 0.16);
}

.pipeline-hero__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--survey);
  transform: scaleX(var(--pipeline-progress, 0));
  transform-origin: left;
}

.pipeline-hero__scroll {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 249, 237, 0.63) !important;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.pipeline-hero__scroll i {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid var(--survey);
  border-bottom: 1px solid var(--survey);
  transform: rotate(45deg);
}

/* Signal ribbon */
.signal-ribbon {
  overflow: hidden;
  border-top: 1px solid var(--night);
  border-bottom: 1px solid var(--night);
  color: var(--night);
  background: var(--survey);
}

.signal-ribbon > div {
  display: flex;
  width: max-content;
  min-width: 100%;
  min-height: 3.4rem;
  padding-inline: var(--gutter);
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.065em;
}

.signal-ribbon i {
  color: var(--signal);
  font-style: normal;
}

/* Proof introduction */
.proof-intro {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin-inline: auto;
  padding: clamp(6rem, 11vw, 10rem) 0 clamp(5rem, 8vw, 7rem);
}

.proof-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
}

.proof-intro h2 {
  margin: 0;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.94;
}

.proof-intro h2 em {
  color: var(--signal);
}

.proof-intro__grid > p {
  margin: 0 0 0.5rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* Station index */
.showroom-shell {
  position: relative;
}

.project-index {
  position: sticky;
  top: var(--nav-height);
  z-index: 55;
  width: 100%;
  max-width: none;
  min-height: 4.1rem;
  padding: 0.55rem max(var(--gutter), calc((100vw - var(--content)) / 2));
  border-top: 1px solid rgba(255, 249, 237, 0.12);
  border-bottom: 1px solid rgba(255, 249, 237, 0.18);
  color: var(--bone-bright);
  background: rgba(7, 28, 27, 0.97);
}

.project-index__meter {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: rgba(255, 249, 237, 0.12);
}

.project-index__meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--survey);
  transform: scaleX(var(--showroom-progress, 0));
  transform-origin: left;
}

.project-index > span {
  color: var(--survey);
  font-size: 0.6875rem;
}

.project-index a {
  min-height: 2.8rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 0.15rem;
  color: rgba(255, 249, 237, 0.6);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

body.quarto-light .project-index a,
body.quarto-dark .project-index a {
  color: rgba(255, 249, 237, 0.68) !important;
}

.project-index a b {
  margin-right: 0.2rem;
  color: var(--survey);
}

.project-index a:hover {
  color: var(--bone-bright);
  background: rgba(255, 249, 237, 0.07);
}

body.quarto-light .project-index a:hover,
body.quarto-dark .project-index a:hover {
  color: var(--bone-bright) !important;
}

.project-index a.is-active,
.project-index a[aria-current="location"] {
  border-color: var(--survey);
  color: var(--night);
  background: var(--survey);
}

body.quarto-light .project-index a.is-active,
body.quarto-light .project-index a[aria-current="location"],
body.quarto-dark .project-index a.is-active,
body.quarto-dark .project-index a[aria-current="location"] {
  color: var(--night) !important;
  background: var(--survey) !important;
}

.project-index a.is-active b,
.project-index a[aria-current="location"] b {
  color: var(--night);
}

/* The live transect */
.live-transect {
  position: relative;
  width: 100%;
}

.live-transect::before {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: max(var(--gutter), calc((100vw - var(--content)) / 2 + 1.4rem));
  width: 2px;
  background: var(--survey);
  content: "";
}

.project-story {
  --story-accent: var(--moss);
  --story-surface: var(--bone-bright);
  position: relative;
  display: grid;
  width: 100%;
  min-height: 120svh;
  margin: 0;
  padding: clamp(5rem, 9vw, 8rem) max(var(--gutter), calc((100vw - var(--content)) / 2));
  grid-template-columns: 3rem minmax(17rem, 0.78fr) minmax(31rem, 1.22fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(7, 28, 27, 0.22);
  scroll-margin-top: calc(var(--nav-height) + 4.3rem);
}

.project-story--field {
  --story-accent: var(--moss);
  background: var(--bone);
}

.project-story--research {
  --story-accent: #1f6680;
  background: #d9e5e4;
}

.project-story--systems {
  --story-accent: #7a5b0a;
  background: #eadfbe;
}

.project-story--story {
  --story-accent: #ef9f88;
  border-color: rgba(255, 249, 237, 0.17);
  color: var(--bone-bright);
  background: var(--plum);
}

.transect-marker {
  position: sticky;
  top: calc(var(--nav-height) + 6rem);
  z-index: 4;
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  margin-left: -0.05rem;
  place-items: center;
  border: 2px solid var(--night);
  border-radius: 50%;
  color: var(--night);
  background: var(--survey);
  box-shadow: 0 0 0 0.45rem var(--bone);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 900;
}

.project-story--research .transect-marker { box-shadow: 0 0 0 0.45rem #d9e5e4; }
.project-story--systems .transect-marker { box-shadow: 0 0 0 0.45rem #eadfbe; }
.project-story--story .transect-marker { box-shadow: 0 0 0 0.45rem var(--plum); }

.project-story__copy,
.project-instrument {
  position: sticky;
  top: calc(var(--nav-height) + 6rem);
  align-self: start;
}

.project-story__copy {
  max-width: 34rem;
}

.project-story__eyebrow {
  color: var(--story-accent);
}

.project-story h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 4.7vw, 4.8rem);
  line-height: 0.98;
}

.project-story__copy > p:not(.project-story__eyebrow):not(.project-story__metric) {
  color: var(--ink-soft);
  font-size: 1.07rem;
  line-height: 1.62;
}

.project-story__metric {
  padding-left: 1rem;
  border-color: var(--story-accent);
}

.project-story__metric strong {
  font-size: 1rem;
}

.project-story--story h2,
.project-story--story .project-story__metric strong {
  color: var(--bone-bright) !important;
}

.project-story--story .project-story__copy > p:not(.project-story__eyebrow):not(.project-story__metric),
.project-story--story .project-story__metric span {
  color: rgba(255, 249, 237, 0.7);
}

.project-story--story .button--primary {
  border-color: var(--survey) !important;
  color: var(--night) !important;
  background: var(--survey) !important;
}

.project-story--story .text-link {
  color: var(--bone-bright) !important;
}

.project-instrument {
  overflow: hidden;
  border: 1px solid rgba(255, 249, 237, 0.18);
  border-radius: 0.4rem;
  background: var(--night);
  box-shadow: 1rem 1rem 0 color-mix(in srgb, var(--story-accent) 26%, transparent), var(--shadow);
}

.instrument-toolbar {
  border-bottom: 1px solid rgba(255, 249, 237, 0.15);
}

.instrument-toolbar output {
  color: var(--survey);
}

/* EcoPlot sync proof */
.sync-demo__field {
  position: relative;
  height: clamp(25rem, 56vh, 38rem);
  overflow: hidden;
  background: #0a1711;
}

.sync-demo__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.34;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.1);
}

.sync-demo__field::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 28, 27, 0.18), rgba(7, 28, 27, 0.95));
  content: "";
}

.device-shell {
  position: absolute;
  z-index: 2;
  top: 6%;
  bottom: 6%;
  left: 8%;
  display: grid;
  width: min(43%, 17rem);
  padding: 0.75rem 0.55rem 0.55rem;
  border: 2px solid #263b34;
  border-radius: 1.3rem;
  background: #040a07;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

.device-shell__speaker {
  position: absolute;
  top: 0.32rem;
  left: 50%;
  width: 2.5rem;
  height: 0.22rem;
  border-radius: 999px;
  background: #23312c;
  transform: translateX(-50%);
}

.device-shell img {
  width: 100%;
  height: 100%;
  border-radius: 0.8rem;
  object-fit: contain;
}

.sync-route {
  position: absolute;
  z-index: 3;
  top: 46%;
  right: 14%;
  left: 50%;
  height: 2px;
  background: rgba(232, 189, 62, 0.25);
}

.sync-route i {
  position: absolute;
  top: -0.3rem;
  left: 0;
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid var(--night);
  border-radius: 50%;
  opacity: 0;
  background: var(--survey);
}

.sync-demo[data-state="syncing"] .sync-route i {
  opacity: 1;
  animation: sync-pulse 900ms ease-in-out forwards !important;
  animation-iteration-count: 1 !important;
}

.sync-demo[data-state="syncing"] .sync-route i:nth-child(2) { animation-delay: 140ms !important; }
.sync-demo[data-state="syncing"] .sync-route i:nth-child(3) { animation-delay: 280ms !important; }

@keyframes sync-pulse {
  from { left: 0; opacity: 0; }
  16% { opacity: 1; }
  to { left: calc(100% - 0.65rem); opacity: 1; }
}

.sync-database {
  position: absolute;
  z-index: 3;
  top: calc(46% - 2.9rem);
  right: 5%;
  display: grid;
  width: 4.7rem;
  height: 5.9rem;
  padding: 0.7rem;
  place-content: center;
  gap: 0.3rem;
  border: 1px solid rgba(255, 249, 237, 0.35);
  border-radius: 0.3rem;
  color: var(--bone-bright);
  background: var(--night-soft);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.sync-database span {
  display: block;
  width: 2.4rem;
  height: 0.27rem;
  background: rgba(255, 249, 237, 0.25);
}

.sync-database b {
  margin-top: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-align: center;
}

.sync-demo[data-state="synced"] .sync-database {
  border-color: var(--survey);
  box-shadow: 0 0 0 0.28rem rgba(232, 189, 62, 0.12);
}

.instrument-console {
  display: grid;
  padding: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 249, 237, 0.14);
  color: var(--bone-bright);
  background: var(--night);
}

.instrument-console > div {
  padding-right: 0.65rem;
  border-right: 1px solid rgba(255, 249, 237, 0.12);
}

.instrument-console small,
.instrument-console strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

.instrument-console small {
  margin-bottom: 0.15rem;
  color: rgba(255, 249, 237, 0.45);
}

.instrument-message {
  margin: 0;
  padding: 0.55rem 0.9rem 0.75rem;
  color: rgba(255, 249, 237, 0.6);
  background: var(--night);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

/* Tracker lens */
.tracker-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 249, 237, 0.14);
  background: var(--night);
}

.tracker-tabs button {
  min-height: 3.1rem;
  border: 0;
  border-right: 1px solid rgba(255, 249, 237, 0.12);
  color: rgba(255, 249, 237, 0.55);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.tracker-tabs button:last-child { border-right: 0; }

.tracker-tabs button:hover,
.tracker-tabs button[aria-selected="true"] {
  color: var(--night);
  background: var(--survey);
}

.tracker-screen {
  background: #ecf2ef;
}

.tracker-screen img {
  width: 100%;
  height: clamp(24rem, 56vh, 38rem);
  object-fit: contain;
  object-position: center;
  background: #f7faf8;
  transition: opacity 180ms ease, transform 280ms ease;
}

.tracker-screen.is-switching img {
  opacity: 0;
  transform: scale(0.985);
}

.tracker-screen figcaption {
  display: flex;
  min-height: 3.6rem;
  padding: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 249, 237, 0.62);
  background: var(--night);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

.tracker-screen figcaption strong {
  color: var(--survey);
  text-transform: uppercase;
}

/* QA gate */
.qa-demo__head,
.qa-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.qa-demo__head {
  padding: 0.75rem 1rem;
  color: rgba(255, 249, 237, 0.42);
  background: var(--night);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qa-row {
  min-height: 4.3rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(255, 249, 237, 0.11);
  color: var(--bone-bright);
  background: #0d2826;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  transition: background-color 200ms ease, transform 200ms ease;
}

.qa-row b {
  min-width: 5.5rem;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(255, 249, 237, 0.18);
  border-radius: 99px;
  color: rgba(255, 249, 237, 0.55);
  font-size: 0.6875rem;
  text-align: center;
  text-transform: uppercase;
}

.qa-row.is-checking {
  background: #153633;
  transform: translateX(0.3rem);
}

.qa-row.is-ready b {
  border-color: #6caf8d;
  color: #bde2cf;
  background: rgba(108, 175, 141, 0.1);
}

.qa-row.is-flagged {
  background: rgba(201, 79, 56, 0.14);
}

.qa-row.is-flagged b {
  border-color: var(--signal);
  color: #ffd2c8;
  background: rgba(201, 79, 56, 0.12);
}

.qa-demo__gate {
  display: grid;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
  color: var(--survey);
  background: #081f1d;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.qa-demo__gate i {
  height: 1px;
  background: rgba(232, 189, 62, 0.3);
}

.qa-demo__result {
  display: flex;
  min-height: 4.4rem;
  padding: 0.8rem 1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 249, 237, 0.12);
  background: var(--night);
}

.qa-demo__result p {
  margin: 0;
  color: rgba(255, 249, 237, 0.62);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
}

/* Old Pueblo story scrubber */
.pueblo-screen {
  position: relative;
  overflow: hidden;
  background: #150c15;
}

.pueblo-screen video {
  width: 100%;
  height: clamp(25rem, 58vh, 39rem);
  object-fit: cover;
}

.pueblo-screen::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 28, 27, 0.65));
  content: "";
}

.pueblo-screen__hud {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 0.8rem;
  left: 1rem;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 249, 237, 0.72);
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.pueblo-scrubber {
  padding: 0.9rem 1rem 1rem;
  color: var(--bone-bright);
  background: var(--night);
}

.pueblo-scrubber label {
  display: block;
  margin-bottom: 0.55rem;
  color: rgba(255, 249, 237, 0.58);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.pueblo-scrubber input[type="range"] {
  width: 100%;
  min-height: 1.7rem;
  padding: 0;
  border: 0;
  accent-color: var(--survey);
  background: transparent;
}

.pueblo-scrubber > div {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 249, 237, 0.42);
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.05em;
}

/* Custom website experience deck */
.experience-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 249, 237, 0.14);
  background: var(--night);
}

.experience-tabs button {
  min-height: 3.25rem;
  padding: 0.55rem 0.4rem;
  border: 0;
  border-right: 1px solid rgba(255, 249, 237, 0.12);
  color: rgba(255, 249, 237, 0.52);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  cursor: pointer;
}

.experience-tabs button:last-child {
  border-right: 0;
}

.experience-tabs button:hover,
.experience-tabs button[aria-selected="true"] {
  color: var(--night);
  background: var(--survey);
}

.experience-screen {
  position: relative;
  min-height: clamp(24rem, 56vh, 38rem);
  overflow: hidden;
  background: #090f14;
}

.experience-screen::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 58%, rgba(7, 28, 27, 0.8)),
    linear-gradient(90deg, rgba(7, 28, 27, 0.2), transparent 55%);
  content: "";
}

.experience-screen img {
  width: 100%;
  height: clamp(24rem, 56vh, 38rem);
  object-fit: cover;
  transition: opacity 180ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 260ms ease;
}

.experience-screen.is-switching img {
  opacity: 0;
  transform: scale(1.025);
}

.experience-demo[data-view="orrery"] .experience-screen img {
  filter: saturate(1.16) contrast(1.04);
}

.experience-demo[data-view="andrew"] .experience-screen img {
  filter: saturate(1.12) contrast(1.08);
}

.experience-demo[data-view="lemmon"] .experience-screen img {
  filter: saturate(0.96) contrast(1.03);
}

.experience-screen__scan {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 11%;
  width: 1px;
  opacity: 0.7;
  background: var(--survey);
  box-shadow: 0 0 1rem rgba(232, 189, 62, 0.5);
}

.experience-screen__scan::before,
.experience-screen__scan::after {
  position: absolute;
  left: -0.22rem;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--night);
  border-radius: 50%;
  background: var(--survey);
  content: "";
}

.experience-screen__scan::before { top: 12%; }
.experience-screen__scan::after { bottom: 12%; }

.experience-console {
  display: grid;
  min-height: 5.8rem;
  padding: 0.9rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 249, 237, 0.14);
  color: var(--bone-bright);
  background: var(--night);
}

.experience-console small,
.experience-console strong {
  display: block;
}

.experience-console small {
  margin-bottom: 0.16rem;
  color: var(--survey);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.experience-console strong {
  font-size: 1rem;
}

.experience-console p {
  margin: 0.25rem 0 0;
  color: rgba(255, 249, 237, 0.54);
  font-size: 0.72rem;
  line-height: 1.4;
}

.experience-console a {
  display: inline-flex;
  min-height: 2.8rem;
  padding: 0.55rem 0.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--survey);
  border-radius: 0.2rem;
  color: var(--night) !important;
  background: var(--survey);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.experience-console a:hover {
  background: var(--bone-bright);
}

/* Capability ledger */
.capability-ledger {
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
  color: var(--bone-bright);
  background: var(--night);
}

.capability-ledger__head,
.capability-rows {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.capability-ledger__head h2 {
  max-width: 13ch;
  color: var(--bone-bright) !important;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.95;
}

.capability-ledger__head h2 em {
  color: var(--survey);
}

.capability-ledger .section-kicker {
  color: var(--survey);
}

.capability-rows {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(255, 249, 237, 0.2);
}

.capability-rows a {
  display: grid;
  min-height: 7.5rem;
  padding: 1.2rem 0;
  grid-template-columns: 3rem minmax(14rem, 0.8fr) minmax(18rem, 1.2fr) 2rem;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 249, 237, 0.2);
  color: var(--bone-bright) !important;
  text-decoration: none;
  transition: padding 220ms ease, background-color 220ms ease;
}

.capability-rows a:hover,
.capability-rows a:focus-visible {
  padding-inline: 1rem;
  background: rgba(255, 249, 237, 0.06);
}

.capability-rows span,
.capability-rows b {
  color: var(--survey);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.capability-rows h3,
.capability-rows p {
  margin: 0;
}

.capability-rows h3 {
  color: var(--bone-bright) !important;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.capability-rows p {
  color: rgba(255, 249, 237, 0.55);
}

.capability-rows b {
  font-size: 1.4rem;
}

/* Method transect */
.method-transect {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin-inline: auto;
  padding: clamp(6rem, 10vw, 9rem) 0;
}

.method-transect__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
}

.method-transect__head .section-kicker {
  grid-column: 1 / -1;
}

.method-transect__head h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.method-track {
  position: relative;
  display: grid;
  margin-top: clamp(3rem, 6vw, 5rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.method-track::before {
  position: absolute;
  top: 2.95rem;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--survey);
  content: "";
}

.method-track article {
  position: relative;
  min-height: 18rem;
  padding: 0 2rem 0 0;
}

.method-track article + article {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.method-track span {
  color: var(--moss);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
}

.method-track i {
  position: relative;
  z-index: 2;
  display: block;
  width: 1rem;
  height: 1rem;
  margin: 1.6rem 0 3rem;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: var(--survey);
  box-shadow: 0 0 0 0.35rem var(--bone);
}

.method-track p {
  color: var(--ink-soft);
}

/* Field origin */
.field-origin {
  position: relative;
  display: grid;
  min-height: 80svh;
  grid-template-columns: minmax(0, 1.2fr) minmax(24rem, 0.8fr);
  align-items: stretch;
  overflow: hidden;
  background: var(--night);
}

.field-origin figure {
  min-height: 38rem;
}

.field-origin figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.field-origin__copy {
  display: flex;
  padding: clamp(3rem, 7vw, 6rem);
  flex-direction: column;
  justify-content: center;
  color: var(--bone-bright);
  background: var(--night);
}

.field-origin__copy h2 {
  color: var(--bone-bright) !important;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
}

.field-origin__copy p:not(.section-kicker) {
  color: rgba(255, 249, 237, 0.66);
}

.field-origin__copy .section-kicker,
.field-origin__copy .text-link {
  color: var(--survey) !important;
}

.field-origin__stamp {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  width: 8rem;
  height: 8rem;
  padding: 1rem;
  align-items: center;
  justify-content: space-between;
  border: 2px solid var(--survey);
  border-radius: 50%;
  color: var(--survey);
  background: rgba(7, 28, 27, 0.72);
  transform: rotate(-8deg);
}

.field-origin__stamp span,
.field-origin__stamp b {
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.field-origin__stamp span {
  font-size: 1.3rem;
}

/* Conversion signal */
.signal-cta {
  width: 100%;
  margin: 0;
  padding: clamp(6rem, 11vw, 10rem) max(var(--gutter), calc((100vw - var(--content)) / 2));
  color: var(--night);
  background: #d9654f;
}

.signal-cta .section-kicker {
  color: var(--night);
}

.signal-cta h2 {
  max-width: 11ch;
  color: var(--night) !important;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.87;
}

.signal-cta h2 em {
  color: var(--bone-bright);
}

.signal-cta > p:not(.section-kicker) {
  max-width: 38rem;
  color: rgba(7, 28, 27, 0.75);
  font-size: 1.15rem;
}

.signal-cta .button {
  min-width: min(100%, 24rem);
  margin-top: 1.5rem;
}

/* Interior pages inherit the stronger system. */
.page-hero,
.hero:not(.showroom-hero) {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(6rem, 10vw, 9rem) max(var(--gutter), calc((100vw - var(--content)) / 2));
  overflow: hidden;
  border-color: rgba(255, 249, 237, 0.15);
  color: var(--bone-bright);
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(255, 249, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 249, 237, 0.045) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
}

.page-hero::after,
.hero:not(.showroom-hero)::after {
  position: absolute;
  right: 5vw;
  bottom: -4rem;
  color: rgba(232, 189, 62, 0.08);
  font-family: var(--font-mono);
  font-size: clamp(9rem, 23vw, 24rem);
  font-weight: 900;
  line-height: 0.8;
  content: "+";
}

.page-hero h1,
.hero:not(.showroom-hero) h1 {
  position: relative;
  z-index: 1;
  max-width: 11ch;
  color: var(--bone-bright) !important;
}

.page-hero h1 .accent,
.hero:not(.showroom-hero) h1 .accent {
  color: var(--survey) !important;
}

.page-hero > p:not(.page-kicker):not(.contact-address),
.hero:not(.showroom-hero) .lede {
  position: relative;
  z-index: 1;
  color: rgba(255, 249, 237, 0.68);
}

.page-hero .page-kicker,
.hero:not(.showroom-hero) .eyebrow {
  color: var(--survey);
}

.page-hero .button--primary,
.page-hero .tg-btn-primary,
.hero:not(.showroom-hero) .button--primary,
.hero:not(.showroom-hero) .tg-btn-primary {
  border-color: var(--survey) !important;
  color: var(--night) !important;
  background: var(--survey) !important;
}

.page-hero .button--quiet,
.page-hero .tg-btn-ghost,
.hero:not(.showroom-hero) .button--quiet,
.hero:not(.showroom-hero) .tg-btn-ghost {
  border-color: rgba(255, 249, 237, 0.42) !important;
  color: var(--bone-bright) !important;
  background: transparent !important;
}

.page-hero .button--quiet:hover,
.page-hero .tg-btn-ghost:hover,
.hero:not(.showroom-hero) .button--quiet:hover,
.hero:not(.showroom-hero) .tg-btn-ghost:hover {
  border-color: var(--bone-bright) !important;
  color: var(--night) !important;
  background: var(--bone-bright) !important;
}

.detail-layout,
.service-block,
.process-detail,
.contact-guide {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  min-height: 68svh;
  border-color: var(--line-strong);
}

.detail-visual,
.more-work-card,
.metric-card,
.reassurance-grid > article,
.pricing-card,
.process-expectations > div,
.contact-alternatives > div,
.tg-card {
  border-radius: 0.3rem;
  background: var(--bone-bright);
}

.detail-visual {
  box-shadow: 0.8rem 0.8rem 0 rgba(7, 28, 27, 0.09), var(--shadow-small);
}

.service-block__number,
.process-detail__number {
  color: var(--signal);
}

.pricing-card--featured {
  border-color: var(--night);
  box-shadow: inset 0 5px 0 var(--survey);
}

.final-cta,
.related-cta,
.cta-banner {
  border-radius: 0.35rem;
  background: var(--night);
}

/* Responsive */
@media (max-width: 1100px) {
  .pipeline-hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(27rem, 1.14fr);
    gap: 2.5rem;
  }

  .pipeline-hero h1 {
    font-size: clamp(3.7rem, 7vw, 5.9rem);
  }

  .project-story {
    grid-template-columns: 3rem minmax(15rem, 0.72fr) minmax(27rem, 1.28fr);
    gap: 1.7rem;
  }

  .instrument-console {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .instrument-console button {
    grid-column: 1 / -1;
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .pipeline-hero__sticky {
    padding-block: 1.2rem 1.8rem;
  }

  .pipeline-hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(3.5rem, 6.2vw, 5.4rem);
  }

  .pipeline-hero .hero-lede {
    font-size: 1rem;
  }

  .pipeline-hero .hero-actions {
    margin-top: 1.1rem;
  }

  .hero-proof {
    margin-top: 1.2rem;
  }

  .sample-processor__stage {
    height: 27rem;
    min-height: 22rem;
  }
}

@media (max-height: 700px) and (min-width: 901px) {
  .project-story {
    min-height: 0;
    padding-block: 5rem;
  }

  .project-story__copy,
  .project-instrument,
  .transect-marker {
    position: static;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 4.35rem;
  }

  .navbar-collapse {
    border-color: rgba(255, 249, 237, 0.15);
    background: var(--night) !important;
  }

  .pipeline-hero,
  .has-revamp-js .pipeline-hero {
    height: auto;
  }

  .pipeline-hero__sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding-block: 5rem 4.5rem;
  }

  .pipeline-hero__grid,
  .proof-intro__grid {
    grid-template-columns: 1fr;
  }

  .pipeline-hero__copy {
    max-width: 44rem;
  }

  .sample-processor {
    max-width: 42rem;
  }

  .pipeline-hero__progress,
  .pipeline-hero__scroll {
    display: none;
  }

  .project-story {
    min-height: 0;
    padding-block: 5rem;
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .project-story__copy,
  .project-instrument,
  .transect-marker {
    position: static;
  }

  .project-story__copy,
  .project-instrument {
    grid-column: 2;
  }

  .transect-marker {
    grid-column: 1;
    grid-row: 1;
  }

  .project-instrument {
    margin-top: 1rem;
  }

  .live-transect::before {
    left: max(var(--gutter), calc((100vw - var(--content)) / 2 + 1.2rem));
  }

  .capability-rows a {
    grid-template-columns: 2.4rem minmax(12rem, 1fr) 2rem;
  }

  .capability-rows p {
    display: none;
  }

  .method-transect__head {
    grid-template-columns: 1fr;
  }

  .method-track {
    grid-template-columns: 1fr;
  }

  .method-track::before {
    top: 0;
    bottom: 0;
    left: 0.45rem;
    width: 2px;
    height: auto;
  }

  .method-track article,
  .method-track article + article {
    min-height: 0;
    padding: 0 0 2.5rem 2.7rem;
    border: 0;
  }

  .method-track i {
    position: absolute;
    top: 1.25rem;
    left: 0;
    margin: 0;
  }

  .field-origin {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .field-origin figure {
    min-height: 55svh;
  }
}

@media (max-width: 700px) {
  .pipeline-hero__sticky {
    padding-block: 4rem 3.5rem;
  }

  .pipeline-hero h1 {
    font-size: clamp(3.45rem, 16vw, 5.25rem);
  }

  .hero-proof {
    display: grid;
    gap: 0.6rem;
  }

  .sample-processor {
    box-shadow: 0.55rem 0.55rem 0 rgba(232, 189, 62, 0.12);
  }

  .sample-processor__stage {
    height: 25rem;
  }

  .processor-token {
    width: 43%;
    min-height: 2.8rem;
    padding: 0.42rem 0.5rem;
    font-size: 0.62rem;
  }

  .pipeline-hero[data-stage="checked"] .processor-token,
  .pipeline-hero[data-stage="useful"] .processor-token {
    width: 41%;
  }

  .pipeline-hero[data-stage="useful"] .processor-token {
    width: 30%;
  }

  .processor-decision {
    width: 43%;
    padding: 0.65rem;
  }

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

  .processor-status {
    max-width: none;
  }

  .proof-intro {
    padding-block: 5rem 4rem;
  }

  .proof-intro h2,
  .capability-ledger__head h2 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .project-index {
    padding-inline: var(--gutter);
  }

  .project-index a b {
    display: none;
  }

  .project-story {
    padding-block: 4.5rem;
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 1rem;
  }

  .project-story h2 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
  }

  .transect-marker {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.58rem;
  }

  .live-transect::before {
    left: calc(var(--gutter) + 1rem);
  }

  .project-instrument {
    box-shadow: 0.5rem 0.5rem 0 color-mix(in srgb, var(--story-accent) 22%, transparent);
  }

  .instrument-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .sync-demo__field,
  .tracker-screen img,
  .pueblo-screen video {
    height: 24rem;
  }

  .device-shell {
    left: 5%;
    width: 48%;
  }

  .sync-route {
    left: 54%;
  }

  .sync-database {
    right: 3%;
    width: 3.7rem;
  }

  .instrument-console {
    grid-template-columns: 1fr;
  }

  .instrument-console > div {
    padding: 0 0 0.5rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 249, 237, 0.12);
  }

  .tracker-tabs button {
    padding-inline: 0.25rem;
    font-size: 0.65rem;
  }

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

  .experience-tabs button:nth-child(2) {
    border-right: 0;
  }

  .experience-tabs button:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 249, 237, 0.12);
  }

  .experience-screen,
  .experience-screen img {
    min-height: 22rem;
    height: 22rem;
  }

  .experience-console {
    grid-template-columns: 1fr;
  }

  .tracker-screen figcaption,
  .qa-demo__result {
    align-items: flex-start;
    flex-direction: column;
  }

  .qa-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .qa-row b {
    justify-self: start;
  }

  .capability-ledger {
    padding-block: 5rem;
  }

  .capability-rows a {
    min-height: 6rem;
    grid-template-columns: 2rem minmax(0, 1fr) 1.5rem;
  }

  .capability-rows h3 {
    font-size: 1.55rem;
  }

  .method-transect {
    padding-block: 5rem;
  }

  .field-origin__copy {
    padding: 3.5rem var(--gutter);
  }

  .field-origin__stamp {
    width: 6rem;
    height: 6rem;
  }

  .signal-cta h2 {
    font-size: clamp(3.7rem, 17vw, 5.7rem);
  }

  .page-hero,
  .hero:not(.showroom-hero) {
    padding-block: 5rem 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-revamp-js .pipeline-hero {
    height: auto;
  }

  .pipeline-hero__sticky {
    position: relative;
    top: auto;
    min-height: 0;
  }

  .pipeline-hero__progress,
  .pipeline-hero__scroll {
    display: none;
  }

  .project-story {
    min-height: 0;
  }

  .project-story__copy,
  .project-instrument,
  .transect-marker {
    position: static;
  }

  .processor-token,
  .processor-gate,
  .processor-review,
  .processor-decision,
  .tracker-screen img,
  .project-instrument,
  .capability-rows a {
    transition: none !important;
  }

  .sync-route i {
    animation: none !important;
  }

  .has-revamp-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

html:not(.has-revamp-js) .pipeline-hero__sticky {
  position: relative;
  top: auto;
}

html:not(.has-revamp-js) .pipeline-hero__progress,
html:not(.has-revamp-js) .pipeline-hero__scroll,
html:not(.has-revamp-js) [data-processor-run] {
  display: none;
}

@media print {
  .pipeline-hero {
    height: auto;
    color: #000;
    background: #fff;
  }

  .pipeline-hero__sticky,
  .project-story,
  .field-origin {
    display: block;
    min-height: 0;
    color: #000;
    background: #fff;
  }

  .sample-processor,
  .project-instrument,
  .signal-ribbon,
  .project-index,
  .pipeline-hero__scroll,
  .pipeline-hero__progress {
    display: none;
  }
}
