:root {
  --bg: #ffffff;
  --layer: #f4f4f4;
  --layer-2: #e8f0ee;
  --field: #f8f8f8;
  --ink: #161616;
  --text: #393939;
  --muted: #6f6f6f;
  --line: #e0e0e0;
  --line-strong: #c6c6c6;
  --blue: #0f62fe;
  --blue-hover: #0043ce;
  --teal: #007d79;
  --green: #198038;
  --warm: #8a5b00;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Inter", "IBM Plex Sans", "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid rgba(224, 224, 224, 0.92);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 320px;
  height: 64px;
  padding: 0 24px;
  border-right: 1px solid var(--line);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.15;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  height: 64px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  border-left: 1px solid transparent;
  border-bottom: 3px solid transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 0 18px;
  transition: color 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.site-nav a:hover {
  color: var(--blue);
  background: var(--field);
  border-bottom-color: var(--blue);
}

.nav-toggle {
  display: none;
  height: 64px;
  border: 0;
  border-left: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #000;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../_external/user-assets.sxlcdn.com/images/546100/lg0aG9Fx2efnpy_8YGL_-n8zUZ0B__q_a5946863c8.jpg");
  background-position: center;
  background-size: cover;
  opacity: 0.86;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.66) 45%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.78) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 64px 0 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 96px 96px;
  pointer-events: none;
  animation: heroGridDrift 18s linear infinite;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 64px, var(--max));
  margin: 0 auto;
  padding: 142px 0 190px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #78a9ff;
}

.hero .eyebrow,
.hero-title,
.hero-lead,
.hero-actions {
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.78s ease both;
}

.hero .eyebrow {
  animation-delay: 0.08s;
}

.hero-title {
  animation-delay: 0.18s;
}

.hero-lead {
  animation-delay: 0.3s;
}

.hero-actions {
  animation-delay: 0.42s;
}

.hero h1 {
  width: min(760px, 100%);
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.6vw, 74px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-title {
  display: block;
}

.hero-title-text {
  display: block;
}

.hero-title-graphic {
  position: absolute;
  top: 38%;
  right: 0;
  z-index: 0;
  width: clamp(380px, 32vw, 500px);
  height: auto;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.38));
  pointer-events: none;
  transform: translateY(-50%);
  animation: heroGearFloat 7.5s ease-in-out infinite;
}

.hero-gears {
  position: absolute;
  top: 38%;
  right: 1%;
  z-index: 0;
  width: clamp(430px, 34vw, 560px);
  aspect-ratio: 760 / 700;
  pointer-events: none;
  transform: translateY(-50%);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.34));
  animation: heroGearStageFloat 7.5s ease-in-out infinite;
}

.hero-gears-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-gear {
  position: absolute;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.hero-gear-green {
  top: 32%;
  left: 22%;
  width: 40%;
}

.hero-gear-red {
  top: 13%;
  left: 55%;
  width: 40%;
}

.hero-gear-blue {
  top: 51%;
  left: 55%;
  width: 40%;
}

.hero-gear-rotor {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 50% 50%;
  animation: gearSpinClockwise 18s linear infinite;
}

.hero-gear-red .hero-gear-rotor,
.hero-gear-blue .hero-gear-rotor {
  animation-name: gearSpinCounterSlot;
}

.hero-gear-blue .hero-gear-rotor {
  animation-name: gearSpinCounterSlotAlt;
}

.hero-gear-label {
  position: absolute;
  inset: 22%;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #12d574;
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.hero-gear-green .hero-gear-label {
  font-size: clamp(18px, 1.55vw, 26px);
}

.hero-gear-red .hero-gear-label {
  color: #ff3b34;
  font-size: clamp(18px, 1.55vw, 26px);
}

.hero-gear-blue .hero-gear-label {
  color: #1672ff;
  font-size: clamp(17px, 1.45vw, 24px);
}

.hero-lead {
  width: min(700px, 100%);
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-width: 180px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.2s ease;
}

.button::after {
  content: "→";
  margin-left: 24px;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(22, 22, 22, 0.92);
}

.hero-stats div {
  min-height: 124px;
  padding: 24px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
}

.hero-stats span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.intro-band {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: end;
}

h2,
h3,
p {
  margin: 0;
}

h2 {
  color: var(--ink);
  font-size: clamp(28px, 2.8vw, 42px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.32;
}

.section-head {
  width: min(820px, 100%);
  margin-bottom: 40px;
}

.section-head.compact {
  width: min(680px, 100%);
}

#capabilities .section-head,
#products .section-head {
  width: min(1120px, 100%);
}

#capabilities .section-head h2,
#products .section-head h2 {
  font-size: clamp(30px, 2.35vw, 36px);
  white-space: nowrap;
}

.section-head p:not(.section-kicker),
.split > p,
.about-copy p,
.platform-grid p,
.contact-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.field-grid,
.capability-grid,
.product-grid,
.article-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.field-card,
.capability-card,
.product-card,
.article-grid a,
.contact-form,
.platform-links a,
.process div,
.proof-list span,
.contact-list div {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  transform: translateY(0);
  transition: background 0.18s ease, transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.field-card::after,
.capability-card::after,
.product-card::after,
.article-grid a::after,
.contact-form::after,
.platform-links a::after,
.process div::after,
.proof-list span::after,
.contact-list div::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(15, 98, 254, 0.14), rgba(15, 98, 254, 0.04) 28%, transparent 56%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.field-card > *,
.capability-card > *,
.product-card > *,
.article-grid a > *,
.contact-form > *,
.platform-links a > *,
.process div > *,
.proof-list span > *,
.contact-list div > * {
  position: relative;
  z-index: 1;
}

.field-card::before,
.capability-card::before,
.product-card::before,
.article-grid a::before,
.contact-form::before,
.platform-links a::before,
.process div::before,
.proof-list span::before,
.contact-list div::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 0;
  background: var(--blue);
  transition: width 0.16s ease;
}

.field-card:hover,
.capability-card:hover,
.product-card:hover,
.article-grid a:hover,
.platform-links a:hover,
.process div:hover,
.proof-list span:hover,
.contact-list div:hover,
.contact-form:hover {
  background: var(--field);
  box-shadow: 0 16px 34px rgba(22, 22, 22, 0.12);
  transform: translateY(-6px);
}

.field-card:hover::after,
.capability-card:hover::after,
.product-card:hover::after,
.article-grid a:hover::after,
.contact-form:hover::after,
.platform-links a:hover::after,
.process div:hover::after,
.proof-list span:hover::after,
.contact-list div:hover::after {
  opacity: 1;
}

.field-card:hover::before,
.capability-card:hover::before,
.product-card:hover::before,
.article-grid a:hover::before,
.contact-form:hover::before,
.platform-links a:hover::before,
.process div:hover::before,
.proof-list span:hover::before,
.contact-list div:hover::before {
  width: 4px;
}

.field-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.field-card:hover img,
.product-card:hover img,
.about-media:hover img,
.partner-image:hover img {
  filter: saturate(1.04) contrast(1.04);
  transform: scale(1.035);
}

.field-card h3,
.field-card p {
  padding-right: 24px;
  padding-left: 24px;
}

.field-card h3 {
  padding-top: 24px;
  font-size: 21px;
}

.field-card p {
  padding-top: 10px;
  padding-bottom: 28px;
  color: var(--muted);
}

.about-section {
  background: var(--layer);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 64px;
  align-items: center;
}

.about-copy p {
  margin-top: 20px;
}

.proof-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.proof-list span {
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 16px;
}

.about-media {
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.about-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

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

.capability-card {
  min-height: 250px;
  padding: 28px;
}

.capability-card span {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.capability-card h3 {
  margin-top: 44px;
  font-size: 21px;
}

.capability-card p {
  margin-top: 12px;
  color: var(--muted);
}

.process-section {
  color: #fff;
  background: #161616;
}

.process-section h2 {
  color: #fff;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: #393939;
  border: 1px solid #393939;
}

.process div {
  min-height: 184px;
  padding: 26px;
  background: #262626;
}

.process div:hover {
  background: #333;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

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

.process strong {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.process span {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.product-section {
  background: #fff;
}

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

.product-card {
  color: var(--text);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.96);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card span,
.product-card h3,
.product-card p {
  display: block;
  padding-right: 24px;
  padding-left: 24px;
}

.product-card span {
  margin-top: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card h3 {
  margin-top: 12px;
  font-size: 20px;
}

.product-card p {
  padding-top: 12px;
  padding-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
}

.platform-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--layer-2);
}

.platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.platform-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.platform-links a {
  min-height: 170px;
  padding: 28px;
}

.platform-links strong,
.platform-links span {
  display: block;
}

.platform-links strong {
  color: var(--ink);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.platform-links span {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.partner-image {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.partner-image img {
  width: 100%;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.articles-section {
  background: #fff;
}

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

.article-grid a {
  min-height: 210px;
  padding: 28px;
}

.article-grid strong,
.article-grid span {
  display: block;
}

.article-grid strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.article-grid span {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

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

.contact-grid {
  --contact-panel-height: 430px;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(220px, 260px) minmax(360px, 1fr);
  grid-template-rows: auto auto auto var(--contact-panel-height);
  gap: clamp(18px, 2.4vw, 34px);
  align-items: stretch;
}

.contact-copy {
  display: contents;
}

.contact-copy .section-kicker,
.contact-copy h2,
.contact-copy > p:not(.section-kicker) {
  grid-column: 1 / -1;
}

.contact-copy > p:not(.section-kicker) {
  width: min(760px, 100%);
}

.contact-list {
  display: grid;
  grid-column: 1;
  grid-row: 4;
  gap: 1px;
  margin-top: 16px;
  height: calc(var(--contact-panel-height) - 16px);
  min-height: 0;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-rows: repeat(4, minmax(72px, 1fr));
}

.contact-list div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  background: #fff;
  padding: 14px;
}

.contact-list strong {
  color: var(--ink);
}

.contact-list a,
.contact-list span {
  color: var(--muted);
}

.contact-list a:hover {
  color: var(--blue);
}

.contact-qr-card {
  display: flex;
  grid-column: 2;
  grid-row: 4;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  justify-self: stretch;
  flex-direction: column;
  gap: 14px;
  width: auto;
  margin: 16px 0 0;
  height: calc(var(--contact-panel-height) - 16px);
  min-height: 0;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(22, 22, 22, 0.08);
  text-align: center;
  transform: translateY(0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-qr-card:hover {
  border-color: rgba(15, 98, 254, 0.28);
  box-shadow: 0 18px 34px rgba(22, 22, 22, 0.12);
  transform: translateY(-5px);
}

.contact-qr-card img {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
}

.contact-qr-card div {
  display: grid;
  gap: 6px;
}

.contact-qr-card strong {
  color: var(--ink);
  font-size: 16px;
}

.contact-qr-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  grid-column: 3;
  grid-row: 4;
  height: calc(var(--contact-panel-height) - 16px);
  min-height: 0;
  margin-top: 16px;
  gap: 1px;
  padding: 0;
  background: var(--line);
  border: 1px solid var(--line);
  grid-template-rows: 88px 88px minmax(0, 1fr) auto;
}

.contact-form label {
  display: grid;
  gap: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #8d8d8d;
  background: var(--field);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.contact-form .button {
  width: 100%;
  cursor: pointer;
}

.site-footer {
  background: #161616;
  padding: 18px 0;
}

.site-footer a,
.site-footer span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer a:hover {
  color: #78a9ff;
}

.footer-legal-line {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGearFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-1deg);
  }
  50% {
    transform: translateY(calc(-50% - 12px)) rotate(1.2deg);
  }
}

@keyframes heroGearStageFloat {
  0%,
  100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 10px));
  }
}

@keyframes gearSpinClockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gearSpinCounter {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

@keyframes gearSpinCounterOffset {
  from {
    transform: rotate(7.5deg);
  }
  to {
    transform: rotate(-352.5deg);
  }
}

@keyframes gearSpinCounterSlot {
  from {
    transform: rotate(9deg);
  }
  to {
    transform: rotate(-351deg);
  }
}

@keyframes gearSpinCounterSlotAlt {
  from {
    transform: rotate(-9deg);
  }
  to {
    transform: rotate(-369deg);
  }
}

@keyframes heroGridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 96px 96px, 96px 96px;
  }
}

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

@media (max-width: 900px) {
  #capabilities .section-head h2,
  #products .section-head h2 {
    white-space: normal;
  }

  .footer-legal-line {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

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

  .brand {
    min-width: 0;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    flex-direction: column;
    border-top: 1px solid var(--line);
    background: #fff;
  }

  .nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 52px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    padding: 0 24px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hero-stats,
  .field-grid,
  .capability-grid,
  .product-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .platform-grid,
  .about-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: minmax(300px, 1fr) minmax(190px, 220px) minmax(300px, 1fr);
    gap: 22px;
  }

  .hero-title-graphic {
    width: clamp(320px, 30vw, 430px);
  }

  .hero-gears {
    top: 38%;
    right: 14px;
    width: clamp(400px, 35vw, 500px);
  }
}

@media (max-width: 700px) {
  .container,
  .hero-inner {
    width: min(100% - 32px, var(--max));
  }

  .brand {
    height: 60px;
    padding: 0 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    height: 60px;
    padding: 0 18px;
  }

  .site-nav {
    top: 60px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-inner {
    padding: 116px 0 300px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 56px);
    white-space: normal;
  }

  .hero-title-text {
    white-space: normal;
  }

  .hero-title-graphic {
    position: relative;
    top: auto;
    right: auto;
    z-index: 0;
    display: block;
    width: min(320px, 82vw);
    margin-top: 22px;
    transform: none;
    animation: heroMobileGearFloat 7s ease-in-out infinite;
  }

  .hero-gears {
    position: absolute;
    top: 37%;
    right: 10px;
    display: block;
    width: min(360px, 47vw);
    margin-top: 0;
    transform: translateY(-50%);
    animation: heroGearStageFloat 7s ease-in-out infinite;
  }

  h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

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

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 16px 20px;
  }

  .section {
    padding: 68px 0;
  }

  .field-grid,
  .capability-grid,
  .product-grid,
  .platform-links,
  .article-grid,
  .process,
  .footer-grid,
  .proof-list {
    grid-template-columns: 1fr;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form {
    min-height: 0;
    grid-template-rows: none;
  }

  .contact-grid {
    --contact-panel-height: 410px;
    grid-template-columns: 340px 220px 340px;
    grid-template-rows: auto auto auto var(--contact-panel-height);
    overflow-x: auto;
    gap: 24px;
    align-items: start;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .contact-list,
  .contact-qr-card,
  .contact-form {
    height: calc(var(--contact-panel-height) - 16px);
    min-height: 0;
    scroll-snap-align: start;
  }

  .contact-qr-card {
    min-height: 100%;
  }
}

@media (max-width: 560px) {
  .contact-grid {
    --contact-panel-height: 390px;
    grid-template-columns: min(320px, 82vw) min(220px, 72vw) min(320px, 82vw);
    grid-template-rows: auto auto auto var(--contact-panel-height);
    padding-bottom: 8px;
  }

  .contact-list,
  .contact-qr-card,
  .contact-form {
    height: calc(var(--contact-panel-height) - 16px);
    min-height: 0;
  }

  .contact-list div {
    padding: 14px;
  }

  .hero-gears {
    position: absolute;
    top: 36%;
    right: 8px;
    width: min(310px, 46vw);
    margin-top: 0;
    transform: translateY(-50%);
    animation: heroGearStageFloat 7s ease-in-out infinite;
  }
}

@keyframes heroMobileGearFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes heroMobileGearStageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
