:root {
  color-scheme: dark;
  --bg: #0b0f11;
  --panel: #14191c;
  --panel-2: #1b2226;
  --line: rgba(221, 232, 238, 0.14);
  --ink: #f2f5f3;
  --muted: #9aa7ad;
  --quiet: #667278;
  --steel: #75a5c4;
  --orange: #ff6a2a;
  --orange-2: #b9471f;
  --green: #60e6a0;
  --paper: #f5f7f2;
  --black: #070a0b;
  --radius: 6px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at 72% 12%, rgba(117, 165, 196, 0.13), transparent 30%),
    linear-gradient(180deg, #0b0f11 0%, #0d1113 45%, #080b0c 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
  color: var(--ink);
  margin: 0;
  overflow-x: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 7.2vw, 84px);
  line-height: 0.96;
  margin-bottom: 24px;
  max-width: 900px;
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  margin-bottom: 18px;
}

h3 {
  font-size: 23px;
  margin-bottom: 12px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 17, 0.78);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background:
    linear-gradient(135deg, #ff8a3c 0%, var(--orange) 46%, #c13e16 100%);
  border-radius: 4px;
  box-shadow:
    0 0 32px rgba(255, 106, 42, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  color: #130702;
  display: inline-flex;
  font-size: 22px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

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

.brand-lockup strong {
  font-size: 18px;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 2vw, 28px);
}

.site-header nav a {
  color: var(--muted);
  font-size: 14px;
}

.site-header nav a:hover {
  color: var(--ink);
}

.admin-link {
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink) !important;
  padding: 9px 13px;
}

.hero-section {
  min-height: 96vh;
  overflow: hidden;
  position: relative;
}

.hero-section::after {
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 106, 42, 0.1) 42.15%, transparent 42.5% 100%),
    repeating-linear-gradient(0deg, transparent 0 9px, rgba(255, 255, 255, 0.018) 10px);
  content: "";
  inset: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

#machineScene {
  display: block;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 15, 17, 0.96) 0%, rgba(11, 15, 17, 0.7) 42%, rgba(11, 15, 17, 0.12) 100%),
    linear-gradient(0deg, #0b0f11 0%, rgba(11, 15, 17, 0) 38%);
  inset: 0;
  position: absolute;
}

.hero-content {
  max-width: 760px;
  padding: 20vh clamp(20px, 5vw, 72px) 180px;
  position: relative;
  z-index: 3;
}

.eyebrow {
  align-items: center;
  color: var(--orange);
  display: flex;
  font-size: 12px;
  font-weight: 900;
  gap: 10px;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--orange);
  content: "";
  display: inline-block;
  height: 1px;
  width: 18px;
}

.hero-content p:not(.eyebrow),
.process-copy p,
.admin-title p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.62;
  max-width: 700px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-action,
.secondary-action,
.admin-sidebar button,
.admin-sidebar a,
.import-button,
.admin-form button,
.chat-panel button {
  align-items: center;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.primary-action {
  background: linear-gradient(135deg, #ff8c44, var(--orange));
  box-shadow: 0 16px 34px rgba(255, 106, 42, 0.22);
  color: #130702;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  backdrop-filter: blur(18px);
  background: rgba(20, 25, 28, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  bottom: 34px;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  left: clamp(20px, 5vw, 72px);
  max-width: 680px;
  overflow: hidden;
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  z-index: 4;
}

.hero-metrics div {
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

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

.hero-metrics strong {
  color: var(--steel);
  font-size: 27px;
  text-shadow: 0 0 24px rgba(117, 165, 196, 0.28);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
}

.hero-diagnostics {
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(20, 25, 28, 0.72), rgba(8, 11, 12, 0.58));
  border: 1px solid rgba(117, 165, 196, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  color: var(--ink);
  max-width: 310px;
  padding: 16px;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  top: 150px;
  z-index: 4;
}

.diagnostic-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.diagnostic-top span,
.diagnostic-grid,
.capability-marquee span {
  font-variant-numeric: tabular-nums;
}

.diagnostic-top span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.diagnostic-top strong {
  background: rgba(96, 230, 160, 0.12);
  border: 1px solid rgba(96, 230, 160, 0.34);
  border-radius: 4px;
  color: var(--green);
  font-size: 11px;
  padding: 5px 8px;
}

.diagnostic-bars {
  display: grid;
  gap: 9px;
  margin-bottom: 16px;
}

.diagnostic-bars span {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.diagnostic-bars span::after {
  background: linear-gradient(90deg, var(--orange), var(--steel));
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(255, 106, 42, 0.35);
  content: "";
  display: block;
  height: 100%;
  width: var(--level);
}

.diagnostic-grid {
  display: grid;
  font-size: 12px;
  gap: 8px 16px;
  grid-template-columns: 1fr auto;
}

.diagnostic-grid span {
  color: var(--quiet);
}

.diagnostic-grid b {
  color: var(--steel);
  font-weight: 850;
  text-transform: uppercase;
}

.capability-marquee {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  overflow: hidden;
  padding: 16px 0;
}

.capability-marquee div {
  animation: marquee 30s linear infinite;
  display: flex;
  gap: 42px;
  white-space: nowrap;
  width: max-content;
}

.capability-marquee span {
  color: var(--quiet);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.capability-marquee span::after {
  color: var(--orange);
  content: " /";
  margin-left: 34px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.section-band {
  padding: clamp(76px, 9vw, 124px) clamp(20px, 5vw, 72px);
}

.intro-band {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 106, 42, 0.1), transparent 26%),
    #0c1113;
}

.machine-band {
  background: var(--paper);
  color: #111719;
}

.machine-band .eyebrow,
.contact-band .eyebrow {
  color: var(--orange-2);
}

.machine-band .eyebrow::before,
.contact-band .eyebrow::before {
  background: var(--orange-2);
}

.section-heading {
  max-width: 900px;
}

.section-heading.compact {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  max-width: none;
}

.solution-grid,
.product-grid,
.service-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 44px;
}

.solution-grid {
  background: var(--line);
  border: 1px solid var(--line);
}

.solution-grid article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 42%),
    var(--panel);
  min-height: 250px;
  padding: 34px 30px;
  position: relative;
}

.solution-grid article::after {
  background: linear-gradient(90deg, var(--orange), transparent);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.25s ease;
  width: 100%;
}

.solution-grid article:hover::after {
  opacity: 1;
}

.icon-chip {
  align-items: center;
  border: 1px solid rgba(255, 106, 42, 0.52);
  border-radius: 4px;
  color: var(--orange);
  display: inline-flex;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  margin-bottom: 52px;
  width: 44px;
}

.solution-grid p,
.timeline span,
.service-grid p,
.service-grid li {
  color: var(--muted);
  line-height: 1.56;
}

.product-grid {
  gap: 18px;
}

.product-card {
  background: #ffffff;
  border: 1px solid #dbe1dc;
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(17, 23, 25, 0.1);
  min-height: 100%;
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.product-card:hover {
  box-shadow: 0 34px 90px rgba(17, 23, 25, 0.18);
  transform: translateY(-4px);
}

.product-image {
  align-items: center;
  background:
    radial-gradient(circle at 68% 28%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, rgba(255, 106, 42, 0.24), rgba(117, 165, 196, 0.22)),
    #12181b;
  display: flex;
  height: 220px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-image::before {
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent),
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(255, 255, 255, 0.04) 14px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.product-image img,
.product-image video {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.machine-icon {
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.34));
  height: 144px;
  position: relative;
  transform: perspective(700px) rotateX(54deg) rotateZ(-22deg);
  width: 192px;
  z-index: 1;
}

.product-card-body {
  padding: 26px;
}

.product-card p {
  color: #59666c;
  line-height: 1.55;
}

.product-card .eyebrow {
  color: var(--orange-2);
}

.product-card .eyebrow::before {
  background: var(--orange-2);
}

.product-meta {
  border-top: 1px solid #e0e5e1;
  display: grid;
  gap: 7px;
  grid-template-columns: 1fr;
  margin-top: 22px;
  padding-top: 18px;
}

.product-meta strong {
  color: var(--orange-2);
  font-size: 18px;
}

.product-meta span {
  color: #6b767b;
  font-size: 13px;
}

.product-specs {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.product-specs div {
  border-top: 1px solid #e5e9e5;
  color: #6b767b;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding-top: 8px;
}

.product-specs b {
  color: #293235;
  font-weight: 750;
}

.process-band {
  align-items: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(117, 165, 196, 0.13), transparent 28%),
    #111719;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
}

.timeline {
  border-left: 1px solid var(--line);
  display: grid;
  gap: 18px;
  padding-left: 28px;
}

.timeline div {
  background:
    linear-gradient(135deg, rgba(117, 165, 196, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

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

.timeline strong {
  color: var(--steel);
  margin-bottom: 6px;
}

.service-band {
  background:
    radial-gradient(circle at 12% 82%, rgba(255, 106, 42, 0.12), transparent 28%),
    #0b0f11;
}

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

.service-grid article {
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.06), transparent 38%),
    var(--panel);
  padding: clamp(28px, 4vw, 46px);
}

.service-grid ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.service-grid li {
  display: flex;
  gap: 12px;
}

.service-grid li::before {
  background: var(--orange);
  content: "";
  flex: 0 0 6px;
  height: 6px;
  margin-top: 9px;
}

.stats-band {
  background:
    linear-gradient(90deg, rgba(255, 106, 42, 0.08), transparent 40%, rgba(117, 165, 196, 0.08)),
    var(--panel);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats-band div {
  border-right: 1px solid var(--line);
  min-height: 150px;
  padding: 30px clamp(20px, 4vw, 48px);
}

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

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

.stats-band strong {
  color: var(--orange);
  font-size: 13px;
  margin-bottom: 22px;
}

.stats-band span {
  font-size: clamp(20px, 2.3vw, 30px);
  font-weight: 850;
  line-height: 1.08;
}

.contact-band {
  align-items: center;
  background: linear-gradient(135deg, #f8efe7, #f4f7f4 48%, #dce9f0);
  color: #111719;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  padding: clamp(62px, 8vw, 102px) clamp(20px, 5vw, 72px);
}

.contact-band h2 {
  max-width: 850px;
}

.contact-panel {
  display: grid;
  gap: 22px;
  max-width: 520px;
  width: min(100%, 520px);
}

.contact-band .secondary-action {
  border-color: rgba(17, 23, 25, 0.22);
  color: #111719;
}

.contact-form {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(17, 23, 25, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(17, 23, 25, 0.12);
  display: grid;
  gap: 12px;
  padding: 18px;
}

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

.contact-form label {
  color: #536066;
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid rgba(17, 23, 25, 0.16);
  border-radius: 5px;
  color: #111719;
  min-height: 44px;
  padding: 10px 12px;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form button {
  border: 0;
  justify-self: start;
}

.contact-status {
  color: #536066;
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  min-height: 19px;
}

.contact-status a {
  color: var(--orange-2);
  font-weight: 850;
  text-decoration: underline;
}

.chat-launcher {
  background: linear-gradient(135deg, #ff8a3c, var(--orange));
  border: 0;
  border-radius: 50%;
  bottom: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  height: 58px;
  position: fixed;
  right: 24px;
  width: 58px;
  z-index: 40;
}

.chat-launcher span,
.chat-launcher span::before,
.chat-launcher span::after {
  background: #130702;
  border-radius: 4px;
  content: "";
  display: block;
  height: 4px;
  margin: auto;
  width: 24px;
}

.chat-launcher span::before {
  transform: translateY(-9px);
}

.chat-launcher span::after {
  transform: translateY(5px);
}

.chat-panel {
  background: #101618;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  bottom: 94px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  display: none;
  flex-direction: column;
  height: min(560px, calc(100vh - 130px));
  overflow: hidden;
  position: fixed;
  right: 24px;
  width: min(390px, calc(100vw - 32px));
  z-index: 40;
}

.chat-panel.open {
  display: flex;
}

.chat-panel header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 16px;
}

.chat-panel small {
  color: var(--muted);
  display: block;
}

.chat-panel header button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 34px;
  padding: 0;
  width: 34px;
}

.chat-messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow: auto;
  padding: 16px;
}

.message {
  border-radius: 8px;
  line-height: 1.45;
  max-width: 86%;
  padding: 11px 13px;
}

.message.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
}

.message.user {
  align-self: flex-end;
  background: var(--orange);
  color: #130702;
}

.chat-panel form {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 12px;
}

.chat-panel input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  flex: 1;
  min-width: 0;
  padding: 0 12px;
}

.chat-panel form button {
  background: var(--orange);
  border: 0;
  color: #130702;
  min-height: 42px;
}

.admin-shell {
  background: #eef2ef;
  color: #111719;
  display: none;
  min-height: 100vh;
}

body.admin-mode #publicSite {
  display: none;
}

body.admin-mode .admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

body.admin-mode.admin-locked .admin-shell {
  display: block;
}

body.admin-mode.admin-locked .admin-sidebar,
body.admin-mode.admin-locked .admin-main {
  display: none;
}

.admin-gate {
  align-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at 70% 18%, rgba(255, 106, 42, 0.16), transparent 28%),
    #0b0f11;
  background-size: 42px 42px, 42px 42px, auto, auto;
  color: var(--ink);
  display: none;
  min-height: 100vh;
  padding: 24px;
}

body.admin-mode.admin-locked .admin-gate {
  display: flex;
}

.admin-login {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  margin: 0 auto;
  max-width: 460px;
  padding: 32px;
  width: 100%;
}

.admin-login .brand-mark {
  margin-bottom: 24px;
}

.admin-login h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin-bottom: 24px;
}

.admin-login label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 8px;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.admin-login input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink);
  min-height: 46px;
  padding: 10px 12px;
}

.admin-login button {
  background: linear-gradient(135deg, #ff8c44, var(--orange));
  border: 0;
  border-radius: 5px;
  color: #130702;
  cursor: pointer;
  font-weight: 850;
  min-height: 46px;
  padding: 0 18px;
  width: 100%;
}

.admin-login-error {
  color: #ffb299;
  min-height: 20px;
  margin: 14px 0 0;
}

.admin-shell:not(.admin-locked) .admin-gate {
  display: none;
}

.admin-sidebar {
  background: #111719;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100vh;
  padding: 24px;
  position: sticky;
  top: 0;
}

.admin-sidebar .brand-lockup {
  margin-bottom: 18px;
}

.admin-sidebar button,
.admin-sidebar a,
.import-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 44px;
  width: 100%;
}

.admin-sidebar button:first-of-type {
  background: var(--orange);
  color: #130702;
}

.import-button input {
  display: none;
}

.admin-main {
  padding: clamp(24px, 5vw, 64px);
}

.admin-title {
  margin-bottom: 28px;
  max-width: 780px;
}

.admin-title h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  margin-bottom: 12px;
}

.admin-form {
  display: grid;
  gap: 22px;
}

.admin-form section {
  background: #ffffff;
  border: 1px solid #dce3dc;
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 28px);
}

.admin-form h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

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

.admin-form label {
  color: #59666f;
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 7px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea {
  background: #f7faf7;
  border: 1px solid #d7ded8;
  border-radius: 5px;
  color: #111719;
  min-height: 44px;
  padding: 10px 12px;
  text-transform: none;
}

.admin-form textarea {
  min-height: 96px;
  resize: vertical;
}

.section-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.admin-form button {
  background: #111719;
  border: 0;
  color: var(--ink);
}

.editor-list {
  display: grid;
  gap: 14px;
}

.editor-item {
  border: 1px solid #dce3dc;
  border-radius: var(--radius);
  padding: 16px;
}

.media-upload-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2px 0 14px;
}

.upload-control {
  align-items: center;
  background: #111719;
  border-radius: 5px;
  color: var(--ink) !important;
  cursor: pointer;
  display: inline-flex !important;
  font-size: 13px !important;
  justify-content: center;
  letter-spacing: 0 !important;
  margin: 0 !important;
  min-height: 42px;
  padding: 0 14px;
  text-transform: none !important;
}

.upload-control input {
  display: none;
}

.upload-status {
  color: #59666f;
  font-size: 13px;
}

.media-preview {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.media-preview img,
.media-preview video {
  aspect-ratio: 16 / 10;
  background: #111719;
  border-radius: 5px;
  max-width: 220px;
  object-fit: cover;
  width: min(100%, 220px);
}

.remove-button {
  background: #85261a !important;
  min-height: 38px !important;
}

@media (prefers-reduced-motion: reduce) {
  .capability-marquee div {
    animation: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    height: auto;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero-content {
    padding-top: 180px;
  }

  .hero-diagnostics {
    display: none;
  }

  .section-heading.compact,
  .contact-band,
  .process-band {
    align-items: start;
    display: grid;
    grid-template-columns: 1fr;
  }

  .solution-grid,
  .product-grid,
  .service-grid,
  .contact-form-grid,
  .form-grid,
  body.admin-mode .admin-shell {
    grid-template-columns: 1fr;
  }

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

  .admin-sidebar {
    min-height: auto;
    position: relative;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 39px;
  }

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

  .hero-metrics {
    position: relative;
  }

  .hero-section {
    padding-bottom: 20px;
  }

  .hero-content {
    padding-bottom: 42px;
  }

  .chat-panel,
  .chat-launcher {
    right: 16px;
  }
}
