:root {
  --ink: #1d1d1f;
  --ink-soft: #6e6e73;
  --paper: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #e8e8ed;
  --line: #d2d2d7;
  --line-strong: #a1a1a6;
  --accent: #0071e3;
  --accent-hover: #0066cc;
  --accent-soft: #e8f2fd;
  --nav-height: 68px;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(29, 29, 31, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI Variable", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  font-weight: 720;
  letter-spacing: 0;
}

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

::selection {
  color: #fff;
  background: var(--accent);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 15px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

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

.container,
.nav-wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.section-pad {
  padding-block: 128px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid rgba(210, 210, 215, 0.86);
  background: rgba(245, 245, 247, 0.94);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 760;
  line-height: 1.15;
}

.brand-mark {
  position: relative;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  background: var(--accent);
}

.brand-mark::after {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--paper);
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: #68706c;
  font-size: 9px;
  font-weight: 650;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: #3b423f;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-links .button {
  color: #fff;
}

.nav-links a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle::before {
  top: 15px;
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle::after {
  top: 27px;
}

.menu-toggle.open::before {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle.open span {
  opacity: 0;
}

.menu-toggle.open::after {
  top: 21px;
  transform: rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.button:active {
  transform: translateY(1px);
}

.button-small {
  min-height: 40px;
  padding: 10px 18px;
}

.button-ink {
  border-color: var(--ink);
  background: var(--ink);
}

.button-ink:hover {
  border-color: #000;
  background: #000;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.32);
  outline-offset: 3px;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.home-hero {
  position: relative;
  min-height: calc(100dvh - 112px);
  overflow: hidden;
  background: #dfe3e1;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 245, 247, 0.16);
}

.hero-content {
  display: flex;
  min-height: calc(100dvh - 112px);
  flex-direction: column;
  justify-content: center;
  padding-block: 72px;
}

.home-hero h1 {
  max-width: 1080px;
  margin-bottom: 28px;
  font-size: 78px;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 34px;
  color: #343a37;
  font-size: 21px;
  font-weight: 560;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.home-hero .text-link {
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.9);
}

.opening-statement {
  background: var(--surface);
}

.opening-statement h2,
.solution-intro h2 {
  max-width: 760px;
  margin-bottom: 32px;
  font-size: 58px;
}

.opening-statement p,
.solution-intro p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.75;
}

.field-story {
  background: var(--paper);
}

.field-story .container {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 56px;
}

.editorial-media {
  margin-bottom: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.editorial-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.field-copy {
  padding-bottom: 20px;
}

.field-copy h2 {
  margin-bottom: 24px;
  font-size: 42px;
}

.field-copy p {
  margin-bottom: 22px;
  font-size: 17px;
}

.transformation {
  background: var(--surface);
}

.section-title {
  max-width: 760px;
  margin-bottom: 72px;
}

.section-title h2 {
  margin-bottom: 20px;
  font-size: 50px;
}

.section-title p {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 18px;
}

.transformation-grid,
.fit-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.transformation-grid article {
  min-height: 280px;
  padding: 8px 44px 8px 0;
}

.transformation-grid article + article {
  padding-left: 44px;
  border-left: 1px solid var(--line);
}

.verb,
.deliverable-list span,
.contact-methods span {
  display: block;
  margin-bottom: 44px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
}

.transformation-grid h3 {
  margin-bottom: 18px;
  font-size: 26px;
}

.transformation-grid p {
  margin-bottom: 0;
}

.ai-capabilities {
  background: var(--surface);
}

.capability-stack {
  display: grid;
  gap: 32px;
}

.capability-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.capability-panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px;
}

.capability-panel h3 {
  max-width: 420px;
  margin-bottom: 20px;
  font-size: 42px;
}

.capability-panel-copy > p {
  max-width: 470px;
  margin-bottom: 24px;
  font-size: 17px;
}

.feature-index {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.capability-points {
  display: grid;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  list-style: none;
}

.capability-points li::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 10px 1px 0;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.capability-image {
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  background: var(--surface-soft);
}

.capability-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.capability-panel-anomaly .capability-image {
  order: 0;
}

.rag-flow,
.anomaly-trace {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 500px;
  font-size: 12px;
}

.rag-flow span,
.rag-flow strong,
.anomaly-trace span,
.anomaly-trace strong {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 650;
}

.rag-flow strong,
.anomaly-trace strong {
  color: var(--accent);
  border-color: rgba(0, 113, 227, 0.35);
}

.anomaly-trace i {
  color: var(--line-strong);
  font-style: normal;
}

.anomaly-trace b {
  color: var(--ink-soft);
  font-weight: 500;
}

.analysis-figure {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: center;
  padding: 44px 46px;
  background: var(--surface-soft);
}

.analysis-head,
.analysis-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 13px;
}

.analysis-head {
  margin-bottom: 12px;
}

.analysis-head strong {
  color: var(--accent);
  font-size: 16px;
}

#manufacturing-analysis-chart {
  display: block;
  width: 100%;
  height: 250px;
}

.analysis-foot {
  margin-top: 2px;
}

.case-teaser {
  background: var(--surface-soft);
}

.case-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 96px;
}

.case-copy blockquote {
  max-width: 590px;
  margin-bottom: 32px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
}

.case-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 30px;
  font-size: 17px;
}

.signal-paper {
  min-height: 480px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.signal-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.signal-context span,
.signal-note {
  color: #68706c;
  font-size: 13px;
}

.signal-result {
  padding-block: 62px;
}

.signal-result > strong {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 96px;
  line-height: 0.9;
}

.signal-result small,
.case-number small {
  margin-left: 5px;
  font-size: 22px;
}

.signal-result p {
  max-width: 430px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 20px;
}

.signal-note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.principles {
  padding-block: 82px;
  background: var(--surface);
}

.principles-grid > div {
  padding-right: 40px;
}

.principles-grid > div + div {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.principles-grid strong,
.fit-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.principles-grid p,
.fit-grid p {
  margin-bottom: 0;
}

.closing-cta {
  padding-block: 150px;
  text-align: center;
  background: var(--paper);
}

.closing-cta h2 {
  margin-bottom: 24px;
  font-size: 58px;
}

.closing-cta p {
  margin-bottom: 34px;
  font-size: 19px;
}

.visual-page-hero {
  position: relative;
  min-height: calc(100dvh - 112px);
  overflow: hidden;
  background: #dfe3e1;
  isolation: isolate;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(245, 245, 247, 0.74);
}

.page-hero-content {
  display: flex;
  min-height: calc(100dvh - 112px);
  flex-direction: column;
  justify-content: center;
  padding-block: 72px;
}

.page-hero-content h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 68px;
}

.page-hero-content > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 34px;
  color: #343a37;
  font-size: 20px;
}

.solution-intro {
  background: var(--surface);
}

.process-story {
  background: var(--paper);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-line article {
  min-height: 260px;
  padding: 34px 30px 20px 0;
  border-top: 1px solid var(--line-strong);
}

.process-line article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.process-line h3 {
  margin-bottom: 44px;
  font-size: 24px;
}

.process-line p {
  margin-bottom: 0;
}

.deliverables {
  background: var(--surface);
}

.deliverable-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 92px;
}

.deliverable-lead {
  position: sticky;
  top: 120px;
  align-self: start;
}

.deliverable-lead h2 {
  margin-bottom: 24px;
  font-size: 48px;
}

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

.deliverable-list article {
  min-height: 270px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.deliverable-list span {
  margin-bottom: 38px;
}

.deliverable-list h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.deliverable-list p {
  margin-bottom: 0;
}

.boundary {
  background: var(--surface-soft);
}

.boundary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 90px;
}

.boundary h2 {
  font-size: 54px;
}

.boundary-copy > p {
  margin-bottom: 44px;
  font-size: 20px;
}

.boundary-copy dl {
  margin-bottom: 0;
}

.boundary-copy dl > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line-strong);
}

.boundary-copy dt {
  font-weight: 700;
}

.boundary-copy dd {
  color: var(--ink-soft);
}

.fit-section {
  background: var(--surface);
}

.fit-grid > div {
  min-height: 180px;
  padding: 30px 36px 0 0;
  border-top: 1px solid var(--line-strong);
}

.fit-grid > div + div {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.demo-hero,
.simple-page-hero {
  display: flex;
  min-height: 620px;
  align-items: center;
  background: var(--surface);
}

.demo-hero {
  min-height: calc(100dvh - 112px);
}

.demo-hero h1,
.simple-page-hero h1 {
  max-width: 860px;
  margin-bottom: 28px;
  font-size: 68px;
}

.demo-hero p:not(.eyebrow),
.simple-page-hero p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  font-size: 20px;
}

.case-lab {
  background: var(--paper);
}

.case-switcher {
  display: inline-flex;
  gap: 5px;
  margin-bottom: 92px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.case-switcher button {
  min-height: 42px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 14px;
  font-weight: 680;
  white-space: nowrap;
  cursor: pointer;
}

.case-switcher button[aria-selected="true"] {
  color: #fff;
  background: var(--ink);
}

.case-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: end;
  gap: 80px;
  padding-bottom: 112px;
}

.case-lead [data-case-model] {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 720;
}

.case-lead h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 54px;
}

.case-lead p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 18px;
}

.case-number {
  padding-left: 34px;
  border-left: 1px solid var(--line-strong);
}

.case-number > strong {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 84px;
  line-height: 0.9;
}

.case-number > span {
  color: var(--ink-soft);
  font-size: 14px;
}

.raw-voice {
  padding-block: 100px;
  border-top: 1px solid var(--line);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.quote-grid blockquote {
  min-height: 230px;
  margin-bottom: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.55;
}

.evidence-trail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 100px;
  border-top: 1px solid var(--line);
}

.evidence-trail > div {
  min-height: 150px;
  padding-right: 32px;
}

.evidence-trail > div + div {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.evidence-trail span {
  display: block;
  margin-bottom: 48px;
  color: var(--ink-soft);
  font-size: 13px;
}

.evidence-trail strong {
  display: block;
  font-size: 20px;
}

.trend-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 72px;
  padding-block: 110px;
  border-top: 1px solid var(--line);
}

.trend-copy h2 {
  margin-bottom: 22px;
  font-size: 42px;
}

.trend-copy > p {
  margin-bottom: 38px;
}

.trend-legend {
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.trend-legend span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
}

.trend-legend i {
  width: 20px;
  height: 3px;
  background: var(--accent);
}

.trend-canvas-wrap {
  width: 100%;
  min-width: 0;
}

#case-trend-chart {
  display: block;
  max-width: 100%;
}

.decision-boundary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.decision-boundary > div {
  min-height: 280px;
  padding: 48px;
}

.decision-boundary > div + div {
  border-left: 1px solid var(--line);
  background: var(--accent-soft);
}

.decision-boundary h2 {
  margin-bottom: 60px;
  font-size: 26px;
}

.decision-boundary p {
  margin-bottom: 0;
  font-size: 17px;
}

.simulation-disclaimer {
  background: var(--surface);
}

.simulation-disclaimer h2 {
  margin-bottom: 26px;
  font-size: 50px;
}

.simulation-disclaimer p {
  margin-bottom: 24px;
  font-size: 19px;
}

.about-image-band {
  width: 100%;
  height: 68dvh;
  min-height: 520px;
  overflow: hidden;
}

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

.about-intro {
  background: var(--surface);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
}

.about-intro h2 {
  font-size: 50px;
}

.about-intro p {
  margin-bottom: 24px;
  font-size: 19px;
}

.working-style {
  background: var(--paper);
}

.working-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.working-list article {
  min-height: 230px;
  padding: 34px 42px 0 0;
  border-top: 1px solid var(--line-strong);
}

.working-list article + article {
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.working-list h3 {
  margin-bottom: 48px;
  font-size: 25px;
}

.working-list p {
  margin-bottom: 0;
}

.capability-band {
  background: var(--surface-soft);
}

.capability-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 100px;
}

.capability-grid h2 {
  margin-bottom: 24px;
  font-size: 48px;
}

.capability-grid dl {
  margin-bottom: 0;
}

.capability-grid dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line-strong);
}

.capability-grid dt {
  font-weight: 720;
}

.capability-grid dd {
  color: var(--ink-soft);
}

.identity {
  background: var(--surface);
}

.identity-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 100px;
}

.identity h2 {
  font-size: 42px;
}

.identity strong {
  display: block;
  margin-bottom: 18px;
  font-size: 26px;
}

.identity p {
  margin-bottom: 8px;
}

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

.contact-section {
  background: var(--surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 90px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 120px;
}

.contact-copy h2,
.contact-form h2 {
  margin-bottom: 22px;
  font-size: 38px;
}

.contact-copy > p,
.contact-form > p {
  margin-bottom: 42px;
}

.contact-methods {
  display: grid;
  gap: 0;
}

.contact-methods > div {
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.contact-methods span {
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-weight: 600;
}

.contact-methods strong {
  display: block;
  font-size: 16px;
}

.contact-pending {
  color: #6a716d;
  font-weight: 600;
}

.contact-form {
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  color: #303633;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #707773;
}

.field small {
  color: #68706c;
  font-size: 12px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.form-status {
  min-height: 24px;
  color: var(--accent);
  font-size: 13px;
}

.data-prep {
  background: var(--paper);
}

.data-prep-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 100px;
}

.data-prep h2 {
  margin-bottom: 22px;
  font-size: 48px;
}

.prep-list > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  padding-block: 25px;
  border-top: 1px solid var(--line-strong);
}

.prep-list p {
  margin-bottom: 0;
}

.first-call {
  background: var(--surface);
}

.first-call h2 {
  margin-bottom: 24px;
  font-size: 50px;
}

.first-call p {
  margin-bottom: 0;
  font-size: 19px;
}

.site-footer {
  padding: 72px 0 26px;
  border-top: 1px solid var(--line);
  background: #e6e9e6;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(140px, 0.5fr));
  gap: 70px;
  padding-bottom: 64px;
}

.footer-brand p {
  max-width: 500px;
  margin: 24px 0 0;
  font-size: 13px;
}

.footer-title {
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 720;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  width: fit-content;
  color: #58605c;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #68706c;
  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (max-width: 1024px) {
  .section-pad {
    padding-block: 104px;
  }

  .home-hero h1 {
    font-size: 64px;
  }

  .page-hero-content h1,
  .demo-hero h1,
  .simple-page-hero h1 {
    font-size: 58px;
  }

  .opening-statement h2,
  .solution-intro h2,
  .closing-cta h2 {
    font-size: 48px;
  }

  .field-story .container,
  .case-teaser-grid,
  .deliverable-layout,
  .boundary-grid,
  .about-intro-grid,
  .capability-grid,
  .identity-grid,
  .contact-layout,
  .data-prep-grid {
    gap: 56px;
  }

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

  .process-line article:nth-child(3) {
    border-left: 0;
  }

  .case-lead h2 {
    font-size: 46px;
  }

  .trend-story {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-height: 64px;
  }

  .container,
  .nav-wrap,
  .narrow {
    width: min(100% - 28px, 1200px);
  }

  .section-pad {
    padding-block: 80px;
  }

  .brand-text small {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    left: 0;
    z-index: 10;
    display: none;
    height: calc(100dvh - var(--nav-height));
    align-content: start;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    padding: 20px;
    background: var(--paper);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links li {
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child {
    margin-top: 20px;
    border-bottom: 0;
  }

  .nav-links a {
    display: flex;
    min-height: 55px;
    align-items: center;
    font-size: 17px;
  }

  .nav-links a:not(.button)::after {
    display: none;
  }

  .nav-links .button {
    justify-content: center;
    color: #fff;
  }

  .home-hero,
  .hero-content,
  .visual-page-hero,
  .page-hero-content,
  .demo-hero {
    min-height: calc(100dvh - 108px);
  }

  .hero-media {
    object-position: center;
  }

  .hero-wash {
    background: rgba(245, 245, 247, 0.22);
  }

  .hero-content {
    justify-content: flex-start;
    padding-block: 72px 42px;
  }

  .page-hero-content {
    justify-content: flex-end;
    padding-block: 52px 68px;
  }

  .home-hero h1 {
    max-width: 360px;
    margin-bottom: 22px;
    font-size: 30px;
  }

  .hero-lead {
    max-width: 340px;
    margin-bottom: 26px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .opening-statement h2,
  .solution-intro h2,
  .section-title h2,
  .closing-cta h2,
  .simulation-disclaimer h2,
  .about-intro h2,
  .capability-grid h2,
  .data-prep h2,
  .first-call h2 {
    font-size: 38px;
  }

  .opening-statement p,
  .solution-intro p {
    font-size: 18px;
  }

  .field-story .container,
  .case-teaser-grid,
  .deliverable-layout,
  .boundary-grid,
  .about-intro-grid,
  .capability-grid,
  .identity-grid,
  .contact-layout,
  .data-prep-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .field-copy {
    padding-bottom: 0;
  }

  .field-copy h2 {
    font-size: 36px;
  }

  .capability-panel {
    grid-template-columns: 1fr;
  }

  .capability-panel-copy {
    padding: 34px 28px;
  }

  .capability-panel h3 {
    font-size: 34px;
  }

  .capability-image,
  .analysis-figure {
    min-height: 300px;
  }

  .capability-image {
    max-height: 330px;
  }

  .analysis-figure {
    padding: 28px 22px;
  }

  .analysis-head {
    flex-wrap: wrap;
    padding-right: 8px;
  }

  .analysis-head strong {
    font-size: 14px;
  }

  #manufacturing-analysis-chart {
    height: 210px;
  }

  .section-title {
    margin-bottom: 48px;
  }

  .transformation-grid,
  .fit-grid,
  .principles-grid,
  .working-list {
    grid-template-columns: 1fr;
  }

  .transformation-grid article,
  .fit-grid > div,
  .principles-grid > div,
  .working-list article {
    min-height: 0;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .transformation-grid article + article,
  .fit-grid > div + div,
  .principles-grid > div + div,
  .working-list article + article {
    padding-left: 0;
    border-left: 0;
  }

  .verb,
  .working-list h3 {
    margin-bottom: 24px;
  }

  .case-copy blockquote {
    font-size: 36px;
  }

  .signal-paper {
    min-height: 0;
    padding: 28px;
  }

  .signal-result {
    padding-block: 42px;
  }

  .signal-result > strong {
    font-size: 72px;
  }

  .closing-cta {
    padding-block: 100px;
  }

  .page-hero-content h1,
  .demo-hero h1,
  .simple-page-hero h1 {
    font-size: 44px;
  }

  .page-hero-content > p:not(.eyebrow),
  .demo-hero p:not(.eyebrow),
  .simple-page-hero p:not(.eyebrow) {
    font-size: 17px;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .process-line article,
  .process-line article + article {
    min-height: 0;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .process-line h3 {
    margin-bottom: 20px;
  }

  .deliverable-lead,
  .contact-copy {
    position: static;
  }

  .deliverable-list {
    grid-template-columns: 1fr;
  }

  .deliverable-list article {
    min-height: 0;
  }

  .boundary h2 {
    font-size: 40px;
  }

  .boundary-copy dl > div,
  .capability-grid dl > div,
  .prep-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-switcher {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    margin-bottom: 64px;
    border-radius: var(--radius);
  }

  .case-switcher button {
    width: 100%;
    border-radius: 5px;
  }

  .case-lead {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 82px;
  }

  .case-lead h2 {
    font-size: 38px;
  }

  .case-number {
    padding: 28px 0 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .case-number > strong {
    font-size: 70px;
  }

  .raw-voice,
  .evidence-trail,
  .trend-story {
    padding-block: 80px;
  }

  .quote-grid,
  .evidence-trail,
  .decision-boundary {
    grid-template-columns: 1fr;
  }

  .quote-grid blockquote {
    min-height: 0;
  }

  .evidence-trail > div,
  .evidence-trail > div + div {
    min-height: 0;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .evidence-trail span {
    margin-bottom: 12px;
  }

  .trend-copy h2 {
    font-size: 36px;
  }

  .decision-boundary > div {
    min-height: 0;
    padding: 32px;
  }

  .decision-boundary > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .decision-boundary h2 {
    margin-bottom: 28px;
  }

  .simple-page-hero {
    min-height: 560px;
  }

  .about-image-band {
    height: 54dvh;
    min-height: 380px;
  }

  .identity strong {
    font-size: 22px;
  }

  .contact-form {
    padding: 28px;
  }

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

  .field-full {
    grid-column: auto;
  }

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

  .form-actions .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 30px;
  }

  .page-hero-content h1,
  .demo-hero h1,
  .simple-page-hero h1 {
    font-size: 39px;
  }

  .opening-statement h2,
  .solution-intro h2,
  .section-title h2,
  .closing-cta h2,
  .simulation-disclaimer h2,
  .about-intro h2,
  .capability-grid h2,
  .data-prep h2,
  .first-call h2 {
    font-size: 34px;
  }

  .case-copy blockquote,
  .case-lead h2 {
    font-size: 34px;
  }
}

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

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

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