* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  font-family: "Poppins", "Segoe UI", sans-serif !important;
}

:root {
  --ink: #f7f9fc;
  --muted: rgba(247, 249, 252, 0.9);
  --accent: #ffa508;
  --accent-strong: #ffa508;
  --line: rgba(255, 255, 255, 0.22);
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.52);
  --header-height: 96px;
  --hero-h1-top: 0px;
  --hero-h1-left: 0px;
  --hero-h1-bottom: 10px;
  --hero-boxes-top: 0px;
  --hero-boxes-left: 0px;
  --hero-boxes-bottom: 0px;
  --hero-boxes-width: min(600px, 100%);
  --hero-boxes-gap: clamp(8px, 1.3vh, 12px);
  --hero-box-min-height: clamp(44px, 6.2vh, 64px);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-height: 100svh;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #050911;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  caret-color: transparent;
}

input,
textarea,
select,
[contenteditable="true"] {
  caret-color: auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: url("bgforindustrial.webp") center / cover no-repeat;
  filter: blur(6px);
  transform: scale(1.04);
  transform-origin: center;
  mix-blend-mode: lighten;
  background-blend-mode: lighten;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(104deg, rgba(1, 7, 15, 0.74) 0%, rgba(2, 8, 14, 0.64) 30%, rgba(4, 8, 13, 0.38) 58%, rgba(3, 7, 13, 0.58) 100%),
    radial-gradient(680px 360px at 12% 8%, rgba(17, 81, 153, 0.3), transparent 70%),
    radial-gradient(560px 320px at 78% 88%, rgba(245, 191, 25, 0.18), transparent 74%);
}

img {
  max-width: 100%;
  display: block;
}

.industrial-shell {
  height: auto;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto auto;
  position: relative;
  overflow: visible;
  transition: filter 0.25s ease;
}

.industrial-shell.is-blurred {
  filter: blur(5px);
}

body.modal-open {
  overflow: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  height: auto;
  padding: 0 2.8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(2, 6, 12, 0.65);
  backdrop-filter: blur(6px);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(246, 191, 27, 0.7);
  outline-offset: 4px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
}

.logo img {
 height: clamp(120px, 10.2vh, 300px);
  width: auto;
}

.pagetitle {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: clamp(1.7rem, 3.1vw, 2.7rem);
  letter-spacing: 0.4px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.65);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.9vw, 24px);
  white-space: nowrap;
  padding: 0;
}

.dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav > a,
.nav .dropdown > a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.0vw, 1.4rem);
  letter-spacing: 0.1px;
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.55);
}

.nav > a::after,
.nav .dropdown > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--accent);
  transition: transform 0.2s ease;
}

.nav > a:hover::after,
.nav .dropdown > a:hover::after,
.nav > a:focus-visible::after,
.nav .dropdown > a:focus-visible::after {
  transform: scaleX(1);
}

.nav > a:focus-visible,
.nav .dropdown > a:focus-visible {
  outline: 2px solid rgba(246, 191, 27, 0.7);
  outline-offset: 3px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 9px;
  display: grid;
  gap: 5px;
  background: rgba(2, 4, 9, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 10px;
  border-radius: 8px;
}

.dropdown-menu a:hover {
  background: rgba(246, 191, 27, 0.22);
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  height: auto;
  overflow: visible;
  padding: clamp(8px, 1.2vh, 12px) 3.2% clamp(6px, 1vh, 10px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.2vw, 36px);
  align-items: stretch;
  border-bottom: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.54) 0%, rgba(3, 8, 15, 0.26) 28%, rgba(3, 7, 12, 0) 58%),
    linear-gradient(180deg, rgba(3, 7, 14, 0.06) 0%, rgba(3, 7, 14, 0.16) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(440px, 0.95fr);
  grid-template-rows: auto auto auto auto;
  column-gap: clamp(20px, 2.8vw, 42px);
  row-gap: clamp(6px, 0.8vh, 10px);
  align-items: start;
}
.hero-content h1 {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: clamp(2.2rem, 5.4vh, 4.3rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.58);
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  display: block;
  text-align: left;
  min-height: 0;
  margin-top: var(--hero-h1-top);
  margin-left: var(--hero-h1-left);
  margin-bottom: var(--hero-h1-bottom);
  max-width: 16ch;
}

.hero-content h1 span {
  display: block;
  white-space: nowrap;
}

.hero-content h1 em {
  color: #ffa508;
  font-style: normal;
}

.hero-placeholder-boxes {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: var(--hero-boxes-width);
  padding-right: clamp(6px, 1.2vw, 14px);
  margin-top: var(--hero-boxes-top);
  margin-left: var(--hero-boxes-left);
  margin-bottom: var(--hero-boxes-bottom);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hero-boxes-gap);
}

.hero-placeholder-box {
  min-height: var(--hero-box-min-height);
  padding: clamp(11px, 1.5vh, 16px) clamp(12px, 1.1vw, 17px);
  border-radius: 18px;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  align-content: center;
  margin-left: 0;
  text-align: left;
  font-size: clamp(0.74rem, 0.9vw, 0.95rem);
  line-height: 1.35;
  color: #ffa508;
  box-shadow: none;
}

.hero-placeholder-box::before {
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: block;
  background: linear-gradient(152deg, rgba(255, 245, 214, 0.95), rgba(255, 238, 186, 0.76));
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  margin-top: 0;
  max-width: 580px;
  font-size: clamp(0.94rem, 1.75vh, 1.2rem);
  color: var(--muted);
  text-shadow: 0 6px 14px rgba(0, 0, 0, 0.5);
  grid-column: 1;
  grid-row: 3;
  align-self: end;
}

.hero-subtitle strong {
  font-weight: 700;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 4;
  margin-top: clamp(5px, 0.8vh, 10px);
  padding: clamp(9px, 0.8vh, 14px) clamp(20px, 0.9vw, 34px);
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(0.96rem, 1.5vh, 1.28rem);
  font-weight: 700;
  color: #111;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
  box-shadow: 0 12px 24px rgba(246, 191, 27, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  grid-column: 1;
  grid-row: 4;
  justify-self: start;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(246, 191, 27, 0.46);
}

.cta-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  line-height: 1;
}

.cta-icon::before {
  content: "\2699";
  font-size: 14px;
  color: #0f1012;
}

.cta-icon::after {
  content: none;
}

.feature-orbs {
  /* Modular node controls: change these values to reposition/resize the group quickly */
  --flow-offset-x: 0px;
  --flow-offset-y: 0px;
  --flow-node-width: clamp(154px, 11vw, 188px);
  --flow-node-height: clamp(96px, 10vh, 128px);
  --flow-node-radius: 24px;
  --flow-edge: clamp(20px, 4vw, 34px);
  --flow-top-row: 6%;
  --flow-middle-row: 35%;
  --flow-bottom-row: 64%;
  margin-top: 0;
  list-style: none;
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  min-height: clamp(390px, 52vh, 520px);
  grid-column: 2;
  grid-row: 1 / -1;
  justify-self: end;
  align-self: center;
  margin-left: 0;
  margin-right: clamp(8px, 1.8vw, 28px);
  transform: translate(var(--flow-offset-x), var(--flow-offset-y));

}

.feature-orbs.is-focus {
  filter: none;
}

.feature-orb {
  position: absolute;
  z-index: 2;
  list-style: none;
  width: var(--flow-node-width);
  top: var(--node-top, 0%);
  left: var(--node-left, 0%);
}

.feature-orb:not(:last-child)::after {
  content: none;
}

.node-1 {
  --node-top: var(--flow-top-row);
  --node-left: var(--flow-edge);
}

.node-2 {
  --node-top: var(--flow-top-row);
  --node-left: calc(100% - var(--flow-node-width) - var(--flow-edge));
}

.node-3 {
  --node-top: var(--flow-bottom-row);
  --node-left: var(--flow-edge);
}

.node-4 {
  --node-top: var(--flow-bottom-row);
  --node-left: calc(100% - var(--flow-node-width) - var(--flow-edge));
}

.node-5 {
  --node-top: var(--flow-middle-row);
  --node-left: calc(50% - (var(--flow-node-width) / 2));
}

.feature-link {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 7px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.feature-link:hover {
  transform: translateY(-6px);
  filter: none;
}

.feature-link:focus-visible {
  outline: 2px solid #ffa508;
  outline-offset: 4px;
  border-radius: 14px;
}

.feature-link.scale-pick .orb-icon,
.orb-icon {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: var(--flow-node-height);
  border-radius: var(--flow-node-radius);
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(160deg, rgba(185, 185, 185, 0.96) 0%, rgba(134, 134, 134, 0.98) 58%, rgba(112, 112, 112, 0.98) 100%);
  box-shadow:
    0 0 0 3px rgba(255, 165, 8, 0.15),
    0 0 34px rgba(255, 165, 8, 0.55),
    0 12px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -8px 14px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-link.scale-pick .orb-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-165%);
  background: linear-gradient(
    114deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 70%
  );
}

.feature-link.scale-pick .orb-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 204, 95, 0.35), rgba(255, 165, 8, 0) 64%);
}

.feature-link.scale-pick:hover .orb-icon,
.feature-link.scale-pick:focus-visible .orb-icon,
.feature-link.is-active .orb-icon {
  border-color: #ffa508;
  background: linear-gradient(160deg, rgba(202, 202, 202, 0.99) 0%, rgba(150, 150, 150, 0.99) 60%, rgba(120, 120, 120, 0.99) 100%);
  box-shadow:
    0 0 0 3px rgba(255, 165, 8, 0.24),
    0 0 42px rgba(255, 165, 8, 0.7),
    0 16px 28px rgba(0, 0, 0, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -10px 16px rgba(0, 0, 0, 0.24);
  animation: scale-pick-float 1.5s ease-in-out infinite, scale-pick-glow 1.8s ease-in-out infinite;
}

.feature-link.scale-pick:hover .orb-icon::before,
.feature-link.scale-pick:focus-visible .orb-icon::before,
.feature-link.is-active .orb-icon::before {
  opacity: 1;
  animation: scale-pick-sheen 1.1s ease forwards;
}

.feature-link.scale-pick:hover .orb-icon::after,
.feature-link.scale-pick:focus-visible .orb-icon::after,
.feature-link.is-active .orb-icon::after {
  opacity: 1;
  animation: scale-pick-pulse 1.5s ease-in-out infinite;
}

.orb-icon img {
  position: relative;
  z-index: 2;
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.feature-link.scale-pick:hover .orb-icon img,
.feature-link.scale-pick:focus-visible .orb-icon img,
.feature-link.is-active .orb-icon img {
  transform: scale(1.06);
}

.orb-svg {
  width: 66%;
  height: 66%;
  fill: none;
  stroke: rgba(238, 243, 250, 0.97);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-label {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  font-size: clamp(1.1rem, 2.15vh, 1.75rem);
  letter-spacing: 0.2px;
  line-height: 0.9;
  text-shadow: 0 6px 12px rgba(0, 0, 0, 0.58);
}

.feature-label span {
  display: block;
}

.feature-label strong {
  color: var(--accent);
  font-weight: 700;
}

@keyframes scale-pick-sheen {
  0% {
    transform: translateX(-165%);
  }

  100% {
    transform: translateX(165%);
  }
}

@keyframes scale-pick-pulse {
  0%,
  100% {
    box-shadow: inset 0 0 0 0 rgba(255, 165, 8, 0);
  }

  50% {
    box-shadow: inset 0 0 0 3px rgba(255, 165, 8, 0.45);
  }
}

@keyframes scale-pick-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.02);
  }
}

@keyframes scale-pick-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 3px rgba(255, 165, 8, 0.24),
      0 0 36px rgba(255, 165, 8, 0.58),
      0 16px 28px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      inset 0 -9px 14px rgba(0, 0, 0, 0.22);
  }

  50% {
    box-shadow:
      0 0 0 4px rgba(255, 165, 8, 0.34),
      0 0 48px rgba(255, 165, 8, 0.78),
      0 18px 32px rgba(0, 0, 0, 0.56),
      inset 0 1px 0 rgba(255, 255, 255, 0.45),
      inset 0 -10px 16px rgba(0, 0, 0, 0.26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-link,
  .feature-link.scale-pick .orb-icon,
  .feature-link.scale-pick .orb-icon::before,
  .feature-link.scale-pick .orb-icon::after,
  .orb-icon img {
    transition: none !important;
    animation: none !important;
  }
}

.scale-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.scale-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scale-modal {
  width: min(1140px, 95vw);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.6);
  padding: 18px 20px 14px;
}

.scale-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.scale-expand-title {
  font-size: 1.1rem;
  color: #ffd17a;
  font-weight: 700;
}

.scale-modal-close {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 173, 18, 0.95);
  color: #111;
  padding: 6px 14px;
  font-weight: 700;
  cursor: pointer;
}

.scale-expand {
  margin-top: 12px;
  width: 100%;
  padding-top: 6px;
}

.scale-expand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.scale-expand-item {
  min-width: 0;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.scale-expand-item[hidden] {
  display: none !important;
}

.scale-expand-item:hover {
  border-color: rgba(255, 173, 18, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.scale-expand-item img {
  cursor: pointer;
  width: clamp(56px, 6.8vw, 94px);
  height: clamp(56px, 6.8vw, 94px);
  object-fit: contain;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.96);
  padding: 6px;
}

.scale-expand-copy {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scale-name {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffd17a;
}

.scale-desc {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  min-height: 3.6em;
}

.scale-more-toggle {
  margin-top: auto;
  border: 0;
  background: transparent;
  color: #ffbf3f;
  padding: 8px 0 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.scale-more-toggle:hover {
  color: #ffd985;
}

.scale-more {
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}


@media (max-width: 1220px) {
  :root {
    --header-height: clamp(68px, 10vh, 86px);
    --hero-box-min-height: clamp(40px, 5.8vh, 56px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: clamp(10px, 1.8vw, 20px);
    padding: clamp(7px, 1.2vh, 12px) 2.7% clamp(6px, 1vh, 10px);
  }

  .hero-content {
    margin-top: 6px;
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .hero-content h1 {
    max-width: none;
  }

  .hero-content h1 span {
    white-space: normal;
  }

  .hero-placeholder-boxes {
    width: var(--hero-boxes-width);
    padding-right: 0;
  }

  .feature-orbs {
    --flow-offset-x: 0px;
    --flow-offset-y: 0px;
    --flow-node-height: clamp(88px, 10vw, 120px);
    grid-column: 1;
    grid-row: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 14px);
    justify-self: start;
    align-self: start;
    margin-top: clamp(12px, 2vh, 20px);
    width: min(760px, 100%);
    min-height: 0;
    margin-left: 0;
    margin-right: 0;
    transform: translate(var(--flow-offset-x), var(--flow-offset-y));
  }

  .feature-orb {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

}

@media (max-width: 980px) {
  :root {
    --header-height: 88px;
    --hero-boxes-width: min(760px, 100%);
    --hero-box-min-height: clamp(42px, 4.8vw, 54px);
  }

  .header {
    padding: 0 3%;
    gap: 14px;
  }

  .logo img {
    height: 58px;
  }

  .pagetitle {
    font-size: clamp(1.45rem, 3vw, 2rem);
  }

  .nav {
    gap: 14px;
  }

  .hero {
    gap: 16px;
    padding: 12px 3% 18px;
  }

  .hero-content {
    row-gap: 12px;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
  }

  .hero-placeholder-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 760px);
    gap: 8px;
  }

  .feature-orbs {
    width: min(620px, calc(100vw - 48px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: center;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  :root {
    --header-height: 84px;
    --hero-box-min-height: clamp(38px, 5vh, 50px);
  }

  .hero-content h1 {
    font-size: clamp(1.9rem, 4.7vh, 3.5rem);
  }

  .feature-orbs {
    --flow-node-height: clamp(80px, 8.8vh, 102px);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

  body {
    height: auto;
    min-height: 100svh;
    overflow-y: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .industrial-shell {
    height: auto;
    min-height: auto;
    grid-template-rows: auto auto;
    overflow: visible;
    padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  }

  .header {
    height: auto;
    min-height: var(--header-height);
    padding: 10px 3.2%;
    gap: 10px;
    overflow: visible;
  }

  .logo img {
    height: 44px;
  }

  .pagetitle {
    font-size: 1.4rem;
  }

  .logo {
    margin-right: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 3.2%;
    right: 3.2%;
    display: grid;
    gap: 8px;
    padding: 16px;
    min-width: 0;
    background: rgba(2, 6, 12, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav > a,
  .nav .dropdown > a {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
  }

  .nav > a::after,
  .nav .dropdown > a::after {
    display: none;
  }

  .hero {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    align-content: start;
    padding: 10px 3.2% calc(34px + env(safe-area-inset-bottom, 0px));
    overflow: visible;
  }

  .hero-content {
    margin-top: 4px;
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 10px;
  }

  .hero-content h1 {
    font-size: clamp(1.38rem, 4.7vh, 2.7rem);
  }

  .hero-subtitle {
    margin-top: 5px;
    font-size: clamp(0.74rem, 1.8vh, 0.92rem);
  }

  .hero-cta {
    margin-top: 6px;
    font-size: clamp(0.72rem, 1.75vh, 0.88rem);
    padding: 6px 12px;
    gap: 8px;
  }

  .cta-icon {
    width: 18px;
    height: 18px;
  }

  .cta-icon::before {
    font-size: 11px;
  }

  .hero-placeholder-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-placeholder-box {
    min-height: 52px;
    border-radius: 10px;
  }

  .feature-orbs {
    margin-top: 8px;
    min-height: auto;
    width: min(100%, calc(100vw - 24px));
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    justify-self: center;
    margin-left: 0;
    margin-right: 0;
    transform: none;
    align-content: start;
    padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px));
  }

  .feature-orb {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
  }

  .feature-orb::after {
    content: none;
  }

  .orb-icon {
    width: 100%;
    height: clamp(74px, 11vh, 96px);
    border-radius: 18px;
  }

  .dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .dropdown.is-open .dropdown-menu {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }

  .dropdown-menu a {
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .feature-label {
    font-size: clamp(0.7rem, 1.8vh, 1rem);
    line-height: 0.86;
  }

  .scale-expand-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .scale-modal-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  :root {
    --header-height: 66px;
  }

  .logo img {
    height: 38px;
  }

  .pagetitle {
    font-size: 1.05rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 5px 2% calc(34px + env(safe-area-inset-bottom, 0px));
  }

  .feature-orbs {
    width: min(360px, calc(100vw - 16px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    justify-self: start;
  }

  .nav > a,
  .nav .dropdown > a {
    font-size: 0.82rem;
  }

  .hero-subtitle {
    display: block;
    max-width: min(100%, 42ch);
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .hero-placeholder-boxes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-placeholder-box {
    min-height: 44px;
  }

  .scale-expand-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .scale-modal {
    padding: 14px 14px 12px;
  }
}

@media (max-width: 360px) {
  .hero-placeholder-boxes,
  .feature-orbs {
    grid-template-columns: 1fr;
  }

  .feature-orbs {
    width: min(280px, 100%);
    justify-self: start;
    margin-inline: 0;
  }
}

/* Desktop-style mobile layout */
@media (max-width: 860px) {
  body.nav-open {
    overflow-y: auto;
  }

  .industrial-shell {
    min-height: 100svh;
    grid-template-rows: auto 1fr;
  }

  .header {
    min-height: clamp(74px, 14vw, 96px);
    padding: 0 clamp(12px, 4vw, 26px);
    flex-wrap: nowrap;
    overflow: visible;
  }

  .logo img {
    height: clamp(58px, 11vw, 86px);
  }

  .pagetitle {
    font-size: clamp(1rem, 3vw, 1.9rem);
  }

  .nav-toggle {
    display: none !important;
  }

  .nav {
    position: static;
    display: flex;
    align-items: center;
    gap: clamp(10px, 2.4vw, 22px);
    width: auto;
    max-height: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    overflow: visible;
    white-space: nowrap;
  }

  .nav > a,
  .nav .dropdown > a {
    width: auto;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  }

  .nav > a::after,
  .nav .dropdown > a::after {
    display: block;
  }

  .dropdown {
    width: auto;
    flex-direction: row;
    align-items: center;
  }

  .dropdown-menu {
    position: absolute;
    min-width: 210px;
    margin-top: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.94);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
    max-height: none;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
  }

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

  .hero {
    min-height: calc(100svh - clamp(74px, 14vw, 96px));
    grid-template-columns: 1fr;
    align-items: center;
    overflow: visible;
  }

  .hero-content {
    grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.95fr);
    align-items: center;
  }

  .feature-orbs {
    --flow-node-width: clamp(104px, 11vw, 154px);
    --flow-node-height: clamp(72px, 8.2vw, 104px);
    display: block;
    position: relative;
    width: min(500px, 42vw);
    min-height: clamp(330px, 52vh, 500px);
    grid-column: 2;
    grid-row: 1 / -1;
    justify-self: end;
    align-self: center;
    padding-bottom: 0;
    transform: none;
  }

  .feature-orb {
    position: absolute;
    width: var(--flow-node-width);
    top: var(--node-top, 0%);
    left: var(--node-left, 0%);
  }

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