/* ============================================================
   LOGIK SYSTEMS — Website Relaunch
   Dark · technical · orange-accented · premium B2B
   ============================================================ */

:root {
  /* Brand colors */
  --bg-0: #121212;
  --bg-1: #1A1A1A;
  --bg-2: #292A2A;
  --light-0: #F7F7F7;
  --light-1: #E1E1E1;
  --white: #FFFFFF;
  --orange: #F4741B;
  --orange-bright: #F6892F;
  --orange-soft: #F9BA77;

  /* Derived */
  --ink: #161616;
  --ink-soft: #4A4A4A;
  --paper-line: rgba(18, 18, 18, 0.10);
  --txt-hi: rgba(255, 255, 255, 0.96);
  --txt-mid: rgba(255, 255, 255, 0.68);
  --txt-low: rgba(255, 255, 255, 0.44);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glow: rgba(244, 116, 27, 0.22);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --display-stretch: 125%;
  --font-body: "Inter", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  /* Layout */
  --maxw: 1280px;
  --pad-x: 32px;
  --sec-pad: 120px;
  --r-card: 24px;
  --r-media: 28px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--txt-hi);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: #121212; }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

section { position: relative; }

/* ---------- Display type ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Long German compound words must never overflow a narrow viewport */
h1, h2, h3, h4, p, li, dd, blockquote, .eyebrow, .sub {
  overflow-wrap: break-word;
}

.eyebrow {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-bright);
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.sec-head { max-width: 880px; margin-bottom: 64px; display: grid; gap: 22px; }
.sec-head h2 { font-size: clamp(34px, 4vw, 52px); }
.sec-head .lede { font-size: 18px; color: var(--txt-mid); max-width: 720px; text-wrap: pretty; }

.on-light { color: var(--ink); }
.on-light .lede { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #141414;
}
.btn-primary:hover {
  background: var(--orange-bright);
  box-shadow: 0 0 0 1px rgba(246, 137, 47, 0.4), 0 8px 32px var(--glow);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--txt-hi);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
  box-shadow: inset 0 0 0 1px var(--orange);
  color: var(--orange-bright);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.25);
}
.btn-ghost-dark:hover { box-shadow: inset 0 0 0 1px var(--orange); color: var(--orange); }
.btn .arr { transition: transform 0.22s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Media placeholders (upcoming media production) ---------- */
.media-ph {
  position: relative;
  border-radius: var(--r-media);
  overflow: hidden;
  background:
    repeating-linear-gradient(-45deg,
      rgba(255, 255, 255, 0.035) 0 14px,
      transparent 14px 28px),
    linear-gradient(160deg, #1E1F1F 0%, #161616 70%);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  display: grid;
  place-items: center;
}
.media-ph .ph-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--txt-low);
  text-align: center;
  max-width: 75%;
  padding: 18px 0;
}
.media-ph .ph-label strong {
  display: block;
  color: var(--orange-soft);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.media-ph.light-ph {
  background:
    repeating-linear-gradient(-45deg,
      rgba(18, 18, 18, 0.04) 0 14px,
      transparent 14px 28px),
    linear-gradient(160deg, #EDEDED 0%, #E3E3E3 70%);
  outline-color: var(--paper-line);
}
.media-ph.light-ph .ph-label { color: rgba(18, 18, 18, 0.45); }
.media-ph.light-ph .ph-label strong { color: var(--orange); }
.media-ph .media-fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Dot grid motif ---------- */
.dotgrid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-shell {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}
.nav-bar {
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 14px 14px 26px;
  border-radius: 24px;
  background: rgba(20, 20, 20, 0.78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: padding 0.3s ease, background 0.3s ease;
}
.nav-shell.compact .nav-bar { padding-top: 9px; padding-bottom: 9px; background: rgba(18, 18, 18, 0.92); }

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}
.logo-img { height: 30px; width: auto; display: block; }
.footer-brand .logo-img { height: 32px; }
.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--orange);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: 16px;
  color: #141414;
}
.logo-word {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.logo-word span { color: var(--txt-low); font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--txt-mid);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.18s, background 0.18s;
}
.nav-links a:hover { color: var(--txt-hi); background: rgba(255, 255, 255, 0.06); }
.nav-links a.active { color: var(--orange-bright); }

.nav-cta { padding: 12px 22px; font-size: 14px; }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  place-items: center;
  color: var(--txt-hi);
}
.nav-burger .bars { display: grid; gap: 5px; }
.nav-burger .bars i { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: 0.25s; }

/* Mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(14, 14, 14, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 100px 36px 48px;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a.mlink {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 650;
  font-size: 30px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--txt-hi);
}
.mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ============================================================
   1 — HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px 0 0;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  border-radius: 0;
  outline: none;
}
.hero-media .ph-label { transform: translateY(-12vh); }
.hero::before {
  /* readability gradient */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.55) 48%, rgba(14, 14, 14, 0.25) 100%),
    linear-gradient(0deg, var(--bg-0) 2%, rgba(18, 18, 18, 0.25) 38%, rgba(18, 18, 18, 0.45) 100%);
  pointer-events: none;
}
.hero-nodes {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-content { max-width: 880px; display: grid; gap: 28px; padding-bottom: 56px; }
.hero h1 {
  font-size: clamp(42px, 5.6vw, 78px);
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--orange-bright); }
.hero .sub {
  font-size: 19px;
  color: var(--txt-mid);
  max-width: 640px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-micro {
  font-size: 13.5px;
  color: var(--txt-low);
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-micro::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); flex: none; }

.play-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--txt-mid);
  font-size: 14px;
  font-weight: 500;
}
.play-chip .pbtn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: 0.22s;
  position: relative;
}
.play-chip .pbtn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(244, 116, 27, 0.5);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .play-chip .pbtn::after { animation: none; } }
.play-chip:hover .pbtn { background: var(--orange); border-color: var(--orange); }
.play-chip:hover .pbtn .tri { border-left-color: #141414; }
.play-chip .tri {
  width: 0; height: 0;
  border-left: 11px solid var(--txt-hi);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
  transition: 0.22s;
}

/* Trust row */
.trust-row {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: rgba(18, 18, 18, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.trust-row .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-low);
  margin-right: 10px;
}
.trust-items { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-chip {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 620;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--txt-mid);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: 0.2s;
}
.trust-chip:hover { color: var(--orange-soft); border-color: rgba(244, 116, 27, 0.45); }

/* ============================================================
   2 — PROBLEM
   ============================================================ */
.sec-problem { background: var(--bg-0); padding: var(--sec-pad) 0; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 34px 30px;
  display: grid;
  gap: 16px;
  align-content: start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.problem-card:hover { transform: translateY(-4px); border-color: rgba(244, 116, 27, 0.35); }
.problem-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 19px; line-height: 1.25; }
.problem-card p { font-size: 15px; color: var(--txt-mid); }

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(244, 116, 27, 0.10);
  border: 1px solid rgba(244, 116, 27, 0.25);
  display: grid;
  place-items: center;
  color: var(--orange-bright);
}

/* Broken process flow */
.flow-broken {
  margin-top: 64px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg-1);
  padding: 40px 44px 36px;
  overflow-x: auto;
}
.flow-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--txt-low);
  margin-bottom: 28px;
}
.flow-line { display: flex; align-items: center; gap: 0; min-width: 760px; }
.flow-node {
  display: grid;
  gap: 8px;
  justify-items: center;
  flex: none;
}
.flow-node .nbox {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg-2);
  padding: 14px 22px;
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 620;
  font-size: 14px;
}
.flow-node .ntag { font-family: var(--font-mono); font-size: 10.5px; color: var(--txt-low); letter-spacing: 0.06em; }
.flow-gap {
  flex: 1;
  min-width: 56px;
  position: relative;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px);
}
.flow-gap .warn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background: var(--bg-1);
  border: 1.5px solid var(--orange);
  color: var(--orange-bright);
  border-radius: 6px;
  rotate: 45deg;
  display: grid;
  place-items: center;
}
.flow-gap .warn span { rotate: -45deg; font-family: var(--font-mono); font-size: 12px; font-weight: 600; line-height: 1; }
.flow-legend {
  margin-top: 26px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-low);
}
.flow-legend .l { display: flex; align-items: center; gap: 9px; }
.flow-legend .sw { width: 14px; height: 14px; border-radius: 4px; rotate: 45deg; border: 1.5px solid var(--orange); flex: none; }

/* ============================================================
   3 — SOLUTION (light)
   ============================================================ */
.sec-solution { background: var(--light-0); color: var(--ink); padding: var(--sec-pad) 0; }

.solution-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: start;
}
.solution-visual { position: sticky; top: 120px; display: grid; gap: 20px; }
.mesh-frame {
  border-radius: var(--r-media);
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.08);
  overflow: hidden;
  aspect-ratio: 1 / 0.92;
  position: relative;
}
.mesh-frame svg { width: 100%; height: 100%; }
.mesh-caption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(18, 18, 18, 0.45);
  text-align: center;
}

/* Accordion */
.acc { display: grid; gap: 14px; }
.acc-item {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.acc-item.open { border-color: rgba(244, 116, 27, 0.55); box-shadow: 0 16px 44px rgba(244, 116, 27, 0.10); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  text-align: left;
  color: var(--ink);
}
.acc-num {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--orange);
  flex: none;
  width: 30px;
}
.acc-head h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 660; font-size: 19px; flex: 1; min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.acc-chev {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(18, 18, 18, 0.18);
  display: grid;
  place-items: center;
  transition: 0.25s;
}
.acc-item.open .acc-chev { background: var(--orange); border-color: var(--orange); }
.acc-chev::before {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: 0.25s;
}
.acc-item.open .acc-chev::before { transform: rotate(-135deg) translate(-1px, -1px); color: #141414; }
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s ease;
}
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-in { overflow: hidden; }
.acc-body p {
  padding: 0 26px 26px 74px;
  font-size: 15.5px;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ============================================================
   4 — KPI / ROI
   ============================================================ */
.sec-kpi { background: var(--bg-0); padding: var(--sec-pad) 0; overflow: hidden; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kpi-card {
  position: relative;
  background: linear-gradient(170deg, var(--bg-2) 0%, var(--bg-1) 60%);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 36px 30px 32px;
  display: grid;
  gap: 14px;
  align-content: start;
  overflow: hidden;
}
.kpi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 30px; right: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0.7;
}
.kpi-big {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 750;
  font-size: 54px;
  line-height: 1;
  color: var(--orange-bright);
  letter-spacing: -0.01em;
}
.kpi-big .unit { font-size: 30px; }
.kpi-word { font-size: 30px; line-height: 1.12; }
.kpi-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 640; font-size: 17.5px; line-height: 1.3; }
.kpi-card p { font-size: 14.5px; color: var(--txt-mid); }
.kpi-note {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--txt-low);
  display: flex;
  align-items: center;
  gap: 10px;
}
.kpi-note::before { content: "*"; color: var(--orange); font-size: 16px; }

/* ============================================================
   5 — ERP COMPETENCE
   ============================================================ */
.sec-erp { background: var(--bg-1); padding: var(--sec-pad) 0; }
.erp-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.erp-copy { display: grid; gap: 24px; }
.erp-copy h2 { font-size: clamp(32px, 3.6vw, 46px); }
.erp-copy .lede { color: var(--txt-mid); font-size: 17.5px; text-wrap: pretty; }
.erp-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 10px; }
.erp-card {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 8px;
  transition: border-color 0.22s;
}
.erp-card:hover { border-color: rgba(244, 116, 27, 0.4); }
.erp-card h4 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 680; font-size: 16px; color: var(--orange-soft); }
.erp-card p { font-size: 13.5px; color: var(--txt-mid); line-height: 1.55; }

/* Partner logos */
.erp-logos { margin-top: 26px; }
.erp-logos-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--txt-mid);
  margin-bottom: 14px;
}
.erp-logos-row { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; }
.erp-logo {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  height: 52px;
  transition: border-color 0.22s, transform 0.22s;
}
.erp-logo:hover { border-color: rgba(244, 116, 27, 0.4); transform: translateY(-2px); }
.erp-logo img {
  max-height: 24px;
  max-width: 100%;
  width: auto;
  display: block;
  /* original brand colours on the white chip — no filter, so colour-panel
     logos (Infor, SAP) and dark wordmarks (ProAlpha, Sage, MS) all read */
  opacity: 0.92;
  transition: opacity 0.22s;
}
.erp-logo:hover img { opacity: 1; }

/* Hub diagram */
.hub-frame {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--r-media);
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.hub-frame svg { width: 100%; height: auto; }
.hub-frame .hub-caption {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-low);
  text-align: center;
  margin-top: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   6 — PRODUCT AREAS
   ============================================================ */
.sec-products { background: var(--bg-0); padding: var(--sec-pad) 0; }
.product-duo {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.product-card {
  border-radius: 28px;
  padding: 44px 42px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
}
.product-card.main {
  background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg-1) 55%);
  border: 1px solid var(--line-strong);
}
.product-card.pkeasy {
  background: linear-gradient(165deg, #2E2417 0%, var(--bg-1) 60%);
  border: 1px solid rgba(244, 116, 27, 0.30);
}
.product-label {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(244, 116, 27, 0.45);
  color: var(--orange-bright);
}
.product-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; }
.product-card > p { color: var(--txt-mid); font-size: 15.5px; text-wrap: pretty; }
.product-points { display: grid; gap: 10px; }
.product-points li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14.5px;
  color: var(--txt-mid);
}
.product-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  rotate: 45deg;
  background: var(--orange);
  flex: none;
}
.product-card .btn { align-self: flex-start; margin-top: auto; }
.product-media { margin-top: 6px; }
.product-media .media-ph { aspect-ratio: 16 / 8.2; border-radius: 18px; }

/* PK-Easy mini UI mockup */
.pk-ui {
  border-radius: 18px;
  background: #161310;
  border: 1px solid rgba(244, 116, 27, 0.22);
  overflow: hidden;
  font-size: 12px;
}
.pk-ui-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}
.pk-ui-bar .d { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.pk-ui-bar .d:first-child { background: var(--orange); }
.pk-ui-bar .pk-ui-title { font-family: var(--font-mono); font-size: 10.5px; color: var(--txt-low); margin-left: 8px; letter-spacing: 0.08em; }
.pk-ui-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding: 16px; }
.pk-ui-rows { display: grid; gap: 9px; align-content: start; }
.pk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  padding: 9px 12px;
  color: var(--txt-mid);
  font-size: 11.5px;
}
.pk-row.sel { border-color: rgba(244, 116, 27, 0.55); color: var(--txt-hi); }
.pk-row .pk-val { font-family: var(--font-mono); font-size: 10.5px; color: var(--orange-soft); }
.pk-summary {
  background: rgba(244, 116, 27, 0.07);
  border: 1px solid rgba(244, 116, 27, 0.25);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.pk-summary .s-label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--txt-low); }
.pk-summary .s-num { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 700; font-size: 21px; color: var(--orange-bright); }
.pk-summary .s-row { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--txt-mid); }
.pk-summary .s-cta { margin-top: 4px; background: var(--orange); color: #141414; border-radius: 999px; text-align: center; font-weight: 600; font-size: 11px; padding: 8px; }

/* ============================================================
   7 — PROCESS TIMELINE
   ============================================================ */
.sec-process { background: var(--bg-1); padding: var(--sec-pad) 0; }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(10% );
  right: calc(10%);
  height: 2px;
  background: var(--line-strong);
}
.steps .progress {
  position: absolute;
  top: 23px;
  left: 10%;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width 1.4s cubic-bezier(0.25, 0.8, 0.3, 1);
  box-shadow: 0 0 12px var(--glow);
}
.steps.inview .progress { width: 80%; }
.step {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
}
.step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--txt-mid);
  position: relative;
  z-index: 1;
  transition: 0.4s;
}
.steps.inview .step-dot { border-color: var(--orange); color: var(--orange-bright); }
.step h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 660; font-size: 18px; }
.step p { font-size: 13.5px; color: var(--txt-mid); }

/* ============================================================
   8 — CASE STUDIES
   ============================================================ */
.sec-cases { background: var(--bg-0); padding: var(--sec-pad) 0; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.case-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.case-card .case-bg { position: absolute; inset: 0; z-index: -2; border-radius: 0; outline: none; }
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(12, 12, 12, 0.96) 0%, rgba(12, 12, 12, 0.72) 42%, rgba(12, 12, 12, 0.15) 100%);
}
.case-body { padding: 38px 36px; display: grid; gap: 16px; }
.case-tag {
  justify-self: start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-soft);
  border: 1px solid rgba(244, 116, 27, 0.4);
  border-radius: 999px;
  padding: 6px 13px;
}
.case-result {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 720;
  font-size: clamp(24px, 2.3vw, 31px);
  line-height: 1.15;
}
.case-result em { font-style: normal; color: var(--orange-bright); }
.case-rows { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.case-rows .cr { display: grid; grid-template-columns: 130px 1fr; gap: 14px; font-size: 13.5px; }
.case-rows .cr dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt-low); padding-top: 2px; }
.case-rows .cr dd { color: var(--txt-mid); }
.case-body .btn { justify-self: start; margin-top: 6px; padding: 12px 24px; font-size: 14px; }

/* ============================================================
   9 — BENEFITS GRID
   ============================================================ */
.sec-benefits { background: var(--bg-1); padding: var(--sec-pad) 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-card {
  background: var(--bg-0);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px 30px;
  display: grid;
  gap: 14px;
  align-content: start;
  transition: transform 0.25s, border-color 0.25s;
}
.benefit-card:hover { transform: translateY(-4px); border-color: rgba(244, 116, 27, 0.35); }
.benefit-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 650; font-size: 18.5px; }
.benefit-card p { font-size: 14.5px; color: var(--txt-mid); }

/* ============================================================
   10 — ABOUT
   ============================================================ */
.sec-about { background: var(--light-0); color: var(--ink); padding: var(--sec-pad) 0; }
.about-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
}
.about-copy { display: grid; gap: 24px; }
.about-copy h2 { font-size: clamp(32px, 3.6vw, 46px); }
.about-copy p { color: var(--ink-soft); font-size: 17px; text-wrap: pretty; }
.about-media { display: grid; gap: 18px; }
.about-media .media-ph.tall { aspect-ratio: 4 / 3; }
.about-media-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.about-media-duo .media-ph { aspect-ratio: 1 / 0.85; }

.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 20px;
  padding: 26px 22px;
  display: grid;
  gap: 12px;
  align-content: start;
  transition: 0.22s;
}
.value-card:hover { border-color: rgba(244, 116, 27, 0.5); box-shadow: 0 14px 36px rgba(244, 116, 27, 0.10); }
.value-num { font-family: var(--font-mono); font-size: 12px; color: var(--orange); }
.value-card h3 { font-family: var(--font-display); font-stretch: var(--display-stretch); font-weight: 660; font-size: 15.5px; line-height: 1.3; }
.value-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; }

/* ============================================================
   11 — TESTIMONIALS
   ============================================================ */
.sec-quotes { background: var(--bg-0); padding: var(--sec-pad) 0; overflow: hidden; }
.quote-shell { position: relative; }
.quote-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.3, 0.8, 0.3, 1);
}
.quote-card {
  flex: 0 0 calc(50% - 12px);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 40px 38px 34px;
  display: grid;
  gap: 24px;
  align-content: space-between;
  min-height: 320px;
}
.quote-mark {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-size: 44px;
  font-weight: 800;
  color: var(--orange);
  line-height: 0.6;
  height: 22px;
}
.quote-card blockquote {
  font-size: 18.5px;
  line-height: 1.55;
  font-weight: 450;
  text-wrap: pretty;
}
.quote-foot { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.quote-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex: none;
  background:
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 0 6px, transparent 6px 12px),
    var(--bg-2);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--txt-low);
}
img.quote-avatar { object-fit: cover; background: var(--bg-2); }
.quote-who { display: grid; gap: 2px; flex: 1; }
.quote-who .qn { font-weight: 600; font-size: 15px; }
.quote-who .qr { font-size: 13px; color: var(--txt-mid); }
.quote-metric {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--orange-soft);
  border: 1px solid rgba(244, 116, 27, 0.35);
  border-radius: 999px;
  padding: 6px 13px;
  white-space: nowrap;
}
.quote-nav { display: flex; gap: 12px; justify-content: flex-end; margin-top: 32px; }
.qbtn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--txt-hi);
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: 0.2s;
}
.qbtn:hover { background: var(--orange); border-color: var(--orange); color: #141414; }
.qbtn:disabled { opacity: 0.3; pointer-events: none; }
.ph-note {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--txt-low);
  margin-top: 18px;
}

/* ============================================================
   12 — FINAL CTA
   ============================================================ */
.sec-cta {
  background: var(--bg-0);
  padding: calc(var(--sec-pad) + 20px) 0;
  overflow: hidden;
}
.cta-panel {
  position: relative;
  border-radius: 32px;
  border: 1px solid rgba(244, 116, 27, 0.25);
  background:
    radial-gradient(ellipse 60% 90% at 50% 110%, rgba(244, 116, 27, 0.20) 0%, transparent 65%),
    linear-gradient(170deg, var(--bg-2) 0%, var(--bg-1) 60%);
  padding: 88px 64px;
  text-align: center;
  display: grid;
  gap: 26px;
  justify-items: center;
  overflow: hidden;
}
.cta-panel .dotgrid { -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 100%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 80% at 50% 100%, #000, transparent 75%); }
.cta-panel h2 { font-size: clamp(34px, 4vw, 54px); max-width: 800px; position: relative; }
.cta-panel .lede { color: var(--txt-mid); max-width: 620px; font-size: 17.5px; position: relative; text-wrap: pretty; }
.cta-panel .hero-ctas { justify-content: center; position: relative; }
.cta-trust {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: center;
  margin-top: 8px;
}
.cta-trust span {
  font-size: 13.5px;
  color: var(--txt-mid);
  display: flex;
  align-items: center;
  gap: 9px;
}
.cta-trust span::before { content: ""; width: 6px; height: 6px; rotate: 45deg; background: var(--orange); flex: none; }

/* ============================================================
   13 — FOOTER (orange)
   ============================================================ */
.footer {
  background: var(--orange);
  color: #1A1208;
  padding: 88px 0 0;
  border-radius: 40px 40px 0 0;
  margin-top: -2px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 72px;
}
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .logo-mark { background: #141414; color: var(--orange-bright); }
.footer-brand .logo-word { color: #141414; }
.footer-brand .logo-word span { color: rgba(20, 20, 20, 0.55); }
.footer-claim {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 680;
  font-size: 21px;
  line-height: 1.3;
  color: #141414;
  max-width: 320px;
}
.footer-co { font-size: 13.5px; color: rgba(20, 18, 8, 0.65); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(20, 18, 8, 0.55);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a {
  font-size: 14.5px;
  font-weight: 500;
  color: #1A1208;
  transition: 0.15s;
}
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid rgba(20, 18, 8, 0.18);
  padding: 26px 0;
}
.footer-bottom .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(20, 18, 8, 0.6);
}
.footer-mega {
  font-family: var(--font-display);
  font-stretch: var(--display-stretch);
  font-weight: 800;
  font-size: clamp(60px, 10vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: rgba(20, 18, 8, 0.14);
  text-align: center;
  user-select: none;
  padding-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
}

/* ============================================================
   Scroll reveal
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .rv {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.8, 0.3, 1);
  }
  .rv.in { opacity: 1; transform: none; }
  .rv-d1 { transition-delay: 0.08s; }
  .rv-d2 { transition-delay: 0.16s; }
  .rv-d3 { transition-delay: 0.24s; }
}

/* Fail-safe: contexts where the animation timeline never ticks —
   snap reveals/transitions to their end state instantly. */
.no-anim .rv,
.no-anim .rv.in,
.no-anim .steps .progress,
.no-anim .step-dot {
  transition: none !important;
}

/* ============================================================
   BACK TO TOP (floating)
   ============================================================ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #141414;
  background: var(--orange);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(246, 137, 47, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, visibility 0.25s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.to-top:hover {
  background: var(--orange-bright);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 38px var(--glow), 0 0 0 1px rgba(246, 137, 47, 0.55);
}
.to-top:active { transform: translateY(0) scale(0.96); }
@media (max-width: 760px) {
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --sec-pad: 96px; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .problem-grid, .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-split, .erp-split, .about-top { grid-template-columns: 1fr; gap: 48px; }
  .solution-visual { position: static; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .product-duo { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps .progress { display: none; }
  .step {
    grid-template-columns: 48px 1fr;
    text-align: left;
    justify-items: start;
    gap: 6px 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .step .step-dot { grid-row: 1 / 3; }
  .quote-card { flex: 0 0 calc(100% - 0px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --sec-pad: 72px; --pad-x: 22px; }
  body { font-size: 16px; }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .hero .sub { font-size: 17px; }
  .sec-head h2, .display, .hero h1, .eyebrow {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    text-wrap: wrap;
  }
  .eyebrow { letter-spacing: 0.14em; font-size: 12px; align-items: flex-start; }
  .eyebrow::before { margin-top: 7px; }
  .hero-content { gap: 22px; padding-bottom: 40px; }
  .hero-ctas .btn { width: 100%; white-space: normal; }
  /* keep the engineer (right side of the photo) in frame on portrait mobile */
  .hero-media .media-fill { object-position: 85% 28%; }
  .trust-row .wrap { gap: 12px; }
  .problem-grid, .kpi-grid, .benefit-grid, .case-grid, .erp-cards,
  .values-grid, .about-media-duo { grid-template-columns: 1fr; }
  .sec-head { margin-bottom: 44px; }
  .flow-broken { padding: 28px 22px; }
  .case-card { min-height: 480px; }
  .case-rows .cr { grid-template-columns: 1fr; gap: 3px; }
  .erp-logos-row { flex-wrap: wrap; gap: 8px; }
  .erp-logo { flex: 1 1 calc(33.333% - 6px); }
  .cta-panel { padding: 64px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-card { padding: 32px 26px; }
  .pk-ui-body { grid-template-columns: 1fr; }

  /* Buttons never overflow / long CTAs go full-width */
  .btn { white-space: normal; text-align: center; }
  .product-card .btn, .case-body .btn { width: 100%; }

  /* Testimonials: footer wraps instead of cramping; tighter card padding */
  .quote-card { padding: 32px 24px 28px; }
  .quote-foot { flex-wrap: wrap; gap: 12px 14px; }
  .quote-who { flex: 1 1 auto; min-width: 0; }
  .quote-metric { flex: 0 0 auto; }

  /* Solution accordion: tighter heads so long titles fit */
  .acc-head { padding: 20px 18px; gap: 12px; }
  .acc-head h3 { font-size: 17px; }
}
