/*
 * Bajrang Lal Bidasara — ERP consulting website
 * Global design system and reusable layout/component primitives.
 */

/* Design tokens */
:root {
  color-scheme: light;

  --color-navy-950: #041426;
  --color-navy-900: #071d35;
  --color-navy-800: #0d2b4a;
  --color-blue-700: #0759bb;
  --color-blue-600: #0969da;
  --color-blue-100: #dbeafe;
  --color-cyan-500: #00b8d9;
  --color-cyan-100: #cffafe;
  --color-slate-900: #172b4d;
  --color-slate-700: #42526e;
  --color-slate-600: #5e6c84;
  --color-slate-300: #cbd5e1;
  --color-slate-200: #dfe5ec;
  --color-slate-100: #edf2f7;
  --color-surface: #ffffff;
  --color-background: #f7f9fc;
  --color-success: #16794b;
  --color-danger: #c9372c;

  --font-sans:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-display: "Manrope", Inter, ui-sans-serif, system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 2vw, 1.875rem);
  --text-3xl: clamp(1.875rem, 3vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 5vw, 4rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgb(7 29 53 / 0.06);
  --shadow-md: 0 12px 32px rgb(7 29 53 / 0.1);
  --shadow-lg: 0 24px 60px rgb(7 29 53 / 0.14);
  --focus-ring: 0 0 0 3px rgb(0 184 217 / 0.35);
  --container: 75rem;
  --content: 48rem;
  --transition: 180ms ease;
}

/* Reset and document defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  background: var(--color-surface);
  color: var(--color-slate-900);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

button,
select {
  cursor: pointer;
}

a {
  color: var(--color-blue-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-blue-700);
}

:focus-visible {
  border-radius: var(--radius-sm);
  outline: 2px solid var(--color-cyan-500);
  outline-offset: 3px;
}

::selection {
  background: var(--color-cyan-100);
  color: var(--color-navy-950);
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-block-start: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color-navy-900);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-xl);
}

p,
li {
  color: var(--color-slate-700);
}

/* Accessibility */
.skip-link {
  position: fixed;
  z-index: 1000;
  inset: var(--space-3) auto auto var(--space-3);
  padding: var(--space-3) var(--space-4);
  translate: 0 -200%;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.skip-link:focus {
  translate: 0;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout primitives */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.content-width {
  max-width: var(--content);
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}

.section--muted {
  background: var(--color-background);
}

.section--dark {
  background: var(--color-navy-900);
  color: var(--color-surface);
}

.section--dark :is(h1, h2, h3, p, li) {
  color: inherit;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2,
.grid--3 {
  grid-template-columns: 1fr;
}

.stack > * + * {
  margin-block-start: var(--space-6);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* Reusable content components */
.eyebrow {
  margin-block-end: var(--space-3);
  color: var(--color-blue-600);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  max-width: 44rem;
  margin-block-end: var(--space-10);
}

.section-heading > :last-child {
  margin-block-end: 0;
}

.lead {
  color: var(--color-slate-700);
  font-size: var(--text-lg);
}

.button {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--color-blue-600);
  color: var(--color-surface);
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    translate var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  translate: 0 -1px;
  background: var(--color-blue-700);
  color: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.button--secondary {
  border-color: var(--color-slate-300);
  background: transparent;
  color: var(--color-navy-900);
}

.button--secondary:hover {
  border-color: var(--color-blue-600);
  background: var(--color-blue-100);
  color: var(--color-blue-700);
}

.button--light {
  background: var(--color-surface);
  color: var(--color-navy-900);
}

.button--light:hover {
  background: var(--color-cyan-100);
  color: var(--color-navy-950);
}

.card {
  height: 100%;
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition),
    translate var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  translate: 0 -3px;
  border-color: var(--color-blue-100);
  box-shadow: var(--shadow-md);
}

.card__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-block-end: var(--space-5);
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-blue-100);
  color: var(--color-blue-700);
}

.card__title {
  margin-block-end: var(--space-3);
}

.card__text:last-child {
  margin-block-end: 0;
}

.tag {
  display: inline-flex;
  padding: var(--space-1) var(--space-3);
  align-items: center;
  border: 1px solid var(--color-blue-100);
  border-radius: 999px;
  background: var(--color-background);
  color: var(--color-blue-700);
  font-size: var(--text-sm);
  font-weight: 700;
}

.callout {
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  border-radius: var(--radius-xl);
  background: var(--color-navy-900);
  color: var(--color-surface);
}

.callout :is(h2, h3, p) {
  color: inherit;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-blue-600);
  font-weight: 750;
  text-decoration: none;
}

.icon-link:hover {
  gap: var(--space-3);
}

/* Global site header and navigation */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(203 213 225 / 0.75);
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-navy-900);
  text-decoration: none;
}

.brand:hover {
  color: var(--color-navy-900);
}

.brand__mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--color-navy-900);
  color: var(--color-surface);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: -0.03em;
}
html[data-theme] .brand__mark.brand__mark--logo {
  padding: .2rem;
  border-color: rgb(249 115 22 / .42);
  background: #0b1f33;
  box-shadow: 0 10px 28px rgb(0 0 0 / .3), inset 0 0 0 1px rgb(255 255 255 / .04);
}
.brand__mark--logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand__lockup {
  display: grid;
  width: 9.8rem;
  height: 3.25rem;
  overflow: hidden;
  padding: .1rem .7rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / .72);
  border-radius: .75rem;
  background-color: #f8fafc;
  background-image: url("../brand/omi-software-solutions-v2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto calc(100% - .2rem);
  box-shadow: 0 10px 28px rgb(0 0 0 / .28);
}
.brand__lockup img {
  display: none;
}
.site-footer .brand__lockup { width: 11rem; height: 4rem; }

.brand__copy {
  display: grid;
  line-height: 1.2;
}

.brand__name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
}

.brand__role {
  display: none;
  color: var(--color-slate-600);
  font-size: 0.6875rem;
  font-weight: 600;
}

.menu-toggle {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.menu-toggle:hover {
  border-color: var(--color-blue-600);
  color: var(--color-blue-600);
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
  transition:
    rotate var(--transition),
    translate var(--transition),
    opacity var(--transition);
}

.menu-toggle__icon::before {
  translate: 0 -0.375rem;
}

.menu-toggle__icon::after {
  translate: 0 0.25rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  rotate: 45deg;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  translate: 0;
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
  translate: 0 -2px;
  rotate: 90deg;
}

.site-nav {
  position: fixed;
  inset: 4.75rem 0 0;
  overflow-y: auto;
  padding: var(--space-5) var(--space-4) var(--space-8);
  background: var(--color-surface);
}

.site-nav[hidden] {
  display: none;
}

.site-nav__list,
.dropdown__list,
.footer-links {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__list {
  display: grid;
  gap: var(--space-1);
}

.site-nav__link,
.dropdown__toggle {
  display: flex;
  width: 100%;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-3);
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-navy-900);
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: left;
  text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"],
.dropdown__toggle:hover,
.dropdown__toggle[aria-expanded="true"] {
  background: var(--color-background);
  color: var(--color-blue-700);
}

.dropdown__chevron {
  width: 1rem;
  height: 1rem;
  transition: rotate var(--transition);
}

.dropdown__toggle[aria-expanded="true"] .dropdown__chevron {
  rotate: 180deg;
}

.dropdown__menu {
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
}

.dropdown__menu[hidden] {
  display: none;
}

.dropdown__link {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--color-slate-700);
  font-size: var(--text-sm);
  font-weight: 650;
  text-decoration: none;
}

.dropdown__link:hover {
  background: var(--color-background);
  color: var(--color-blue-700);
}

.site-nav__cta {
  width: 100%;
  margin-block-start: var(--space-4);
}

/* Homepage */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4.5rem, 8vw, 6.5rem);
  background: linear-gradient(135deg, #fff 20%, var(--color-background) 100%);
}

.hero::before {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 184 217 / 0.1), transparent 67%);
  content: "";
  inset: -15rem -13rem auto auto;
}

.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.hero__content {
  max-width: 43rem;
}

.hero h1 {
  max-width: 14ch;
  margin-block-end: var(--space-6);
}

.hero__lead {
  max-width: 39rem;
  margin-block-end: var(--space-8);
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
}

.hero__actions {
  margin-block-end: var(--space-8);
}

.hero__proof {
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  list-style: none;
}

.hero__proof li {
  position: relative;
  padding-inline-start: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 650;
}

.hero__proof li::before {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-cyan-500);
  content: "";
  inset: 0.45rem auto auto 0;
  box-shadow: 0 0 0 4px var(--color-cyan-100);
}

.erp-visual {
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  rotate: 0.5deg;
}

.erp-visual__topbar {
  display: flex;
  padding: var(--space-4) var(--space-5);
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-slate-200);
  background: var(--color-navy-900);
  color: var(--color-surface);
  font-size: var(--text-sm);
}

.erp-visual__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 750;
}

.erp-visual__brand > span {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--color-cyan-500);
  box-shadow: 0 0 0 4px rgb(0 184 217 / 0.16);
}

.status-pill {
  padding: var(--space-1) var(--space-2);
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 999px;
  color: rgb(255 255 255 / 0.75);
  font-size: 0.6875rem;
  font-weight: 700;
}

.erp-visual__body {
  padding: clamp(var(--space-5), 4vw, var(--space-8));
}

.workflow {
  display: grid;
  gap: 0;
}

.workflow__step {
  display: flex;
  padding: var(--space-4);
  align-items: center;
  gap: var(--space-3);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: var(--color-background);
}

.workflow__step--active {
  border-color: var(--color-blue-600);
  background: var(--color-blue-100);
}

.workflow__step--complete {
  border-color: rgb(22 121 75 / 0.35);
  background: rgb(22 121 75 / 0.08);
}

.workflow__number {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-blue-700);
  font-size: var(--text-xs);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

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

.workflow__step strong {
  color: var(--color-navy-900);
  font-family: var(--font-display);
  font-size: var(--text-sm);
}

.workflow__step small {
  color: var(--color-slate-600);
  font-size: var(--text-xs);
}

.workflow__connector {
  width: 2px;
  height: 1rem;
  margin-inline-start: 2rem;
  background: var(--color-slate-300);
}

.erp-visual__metrics {
  display: grid;
  margin-block-start: var(--space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.erp-visual__metrics div {
  padding: var(--space-3);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
}

.erp-visual__metrics span,
.erp-visual__metrics strong {
  display: block;
}

.erp-visual__metrics span {
  color: var(--color-slate-600);
  font-size: var(--text-xs);
}

.erp-visual__metrics strong {
  color: var(--color-navy-900);
  font-size: var(--text-sm);
}

.text-success {
  color: var(--color-success) !important;
}

.split-layout {
  display: grid;
  gap: var(--space-10);
}

.split-layout .section-heading {
  margin: 0;
}

.problem-section__content > :last-child {
  margin-block-end: 0;
}

.problem-section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.problem-flow {
  display: grid;
  margin-block-start: var(--space-8);
  gap: var(--space-2);
}

.problem-flow > div {
  display: grid;
  padding: var(--space-3) var(--space-4);
  grid-template-columns: 2rem 1fr;
  gap: 0 var(--space-3);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: var(--color-background);
}

.problem-flow > div > span {
  grid-row: span 2;
  align-self: center;
  color: var(--color-blue-600);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
}

.problem-flow strong,
.problem-flow small {
  display: block;
}

.problem-flow strong {
  color: var(--color-navy-900);
  font-size: var(--text-sm);
}

.problem-flow small {
  color: var(--color-slate-600);
}

.problem-flow > span {
  height: 0.75rem;
  margin-inline-start: 1.75rem;
  rotate: 90deg;
  color: var(--color-cyan-500);
  line-height: 0.75rem;
  transform-origin: center;
}

.issue-grid {
  display: grid;
  padding: 0;
  margin-block: var(--space-8);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  list-style: none;
}

.issue-grid li {
  position: relative;
  padding: var(--space-3) var(--space-3) var(--space-3) 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-background);
  font-size: var(--text-sm);
  font-weight: 650;
}

.issue-grid li::before {
  position: absolute;
  color: var(--color-blue-600);
  content: "×";
  font-size: var(--text-lg);
  font-weight: 800;
  inset: 0.5rem auto auto var(--space-3);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card .card__icon {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
}

.service-card .icon-link {
  margin-block-start: auto;
  padding-block-start: var(--space-5);
}

.service-card .tag {
  width: max-content;
  margin: -3.75rem 0 var(--space-5) 3.75rem;
}

.service-card--secondary {
  border-style: dashed;
}

.solution-feature {
  display: grid;
  overflow: hidden;
  margin-block-end: var(--space-8);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  background: var(--color-navy-900);
  box-shadow: var(--shadow-md);
}

.solution-feature__copy {
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  color: var(--color-surface);
}

.solution-feature__copy h3 {
  margin-block: var(--space-5);
  color: inherit;
  font-size: var(--text-2xl);
}

.solution-feature__copy p,
.solution-feature__copy li {
  color: rgb(255 255 255 / 0.72);
}

.check-list {
  display: grid;
  padding: 0;
  margin: var(--space-6) 0 0;
  gap: var(--space-2);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-inline-start: var(--space-6);
}

.check-list li::before {
  position: absolute;
  color: var(--color-cyan-500);
  content: "✓";
  font-weight: 800;
  inset: 0 auto auto 0;
}

.process-map {
  display: grid;
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  align-content: center;
  background: linear-gradient(145deg, var(--color-background), #eaf2fb);
}

.process-map__node {
  display: grid;
  padding: var(--space-4);
  grid-template-columns: auto 1fr;
  gap: 0 var(--space-3);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.process-map__node > span {
  grid-row: span 2;
  color: var(--color-blue-600);
  font-size: var(--text-xs);
  font-weight: 800;
}

.process-map__node strong,
.process-map__node small {
  display: block;
}

.process-map__node strong {
  color: var(--color-navy-900);
}

.process-map__node small {
  color: var(--color-slate-600);
}

.process-map__node--accent {
  border-color: var(--color-cyan-500);
}

.process-map__arrow {
  padding: var(--space-1) 0 var(--space-1) 1.65rem;
  rotate: 90deg;
  color: var(--color-cyan-500);
  font-weight: 800;
  transform-origin: 1.8rem center;
}

.compact-solutions {
  gap: 0;
  border-block: 1px solid var(--color-slate-200);
}

.compact-card {
  position: relative;
  padding: var(--space-8);
  border-bottom: 1px solid var(--color-slate-200);
}

.compact-card h3 {
  margin-block: var(--space-4) var(--space-3);
}

.compact-card p {
  margin: 0;
}

.compact-card__index {
  color: var(--color-blue-700);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
}

.section-link {
  margin-block-start: var(--space-8);
}

.industry-section {
  background: var(--color-navy-900);
}

.industry-section :is(h2, .lead) {
  color: var(--color-surface);
}

.industry-section .eyebrow {
  color: var(--color-cyan-500);
}

.industry-layout {
  display: grid;
  gap: var(--space-6);
}

.industry-feature {
  display: flex;
  min-height: 25rem;
  padding: clamp(var(--space-8), 5vw, var(--space-12));
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgb(9 105 218 / 0.38), rgb(0 184 217 / 0.08)),
    repeating-linear-gradient(
      90deg,
      transparent 0 47px,
      rgb(255 255 255 / 0.04) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 47px,
      rgb(255 255 255 / 0.04) 48px
    );
  color: var(--color-surface);
  text-decoration: none;
}

.industry-feature:hover {
  color: var(--color-surface);
}

.industry-feature .tag {
  width: max-content;
  border-color: rgb(255 255 255 / 0.2);
  background: rgb(7 29 53 / 0.65);
  color: var(--color-cyan-500);
}

.industry-feature h3 {
  color: inherit;
  font-size: var(--text-2xl);
}

.industry-feature p {
  max-width: 38rem;
  color: rgb(255 255 255 / 0.72);
}

.industry-feature .icon-link {
  color: var(--color-surface);
}

.industry-list {
  display: grid;
  gap: var(--space-3);
}

.industry-list a {
  display: grid;
  padding: var(--space-5);
  grid-template-columns: 1fr auto;
  gap: var(--space-1) var(--space-4);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.04);
  color: var(--color-surface);
  text-decoration: none;
}

.industry-list a:hover {
  border-color: var(--color-cyan-500);
  background: rgb(255 255 255 / 0.08);
  color: var(--color-surface);
}

.industry-list span {
  font-family: var(--font-display);
  font-weight: 750;
}

.industry-list small {
  grid-column: 1;
  color: rgb(255 255 255 / 0.62);
}

.industry-list b {
  grid-area: 1 / 2 / 3;
  align-self: center;
  color: var(--color-cyan-500);
}

.case-card {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  border-top: 3px solid var(--color-blue-600);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.case-card__type {
  color: var(--color-blue-600);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card__outcome {
  padding-block-start: var(--space-5);
  margin: var(--space-6) 0 0;
  border-top: 1px solid var(--color-slate-200);
}

.case-card__outcome strong {
  display: block;
  color: var(--color-navy-900);
  font-size: var(--text-sm);
}

.split-layout--center {
  align-items: center;
}

.capability-panel {
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  background: var(--color-background);
}

.capability-panel > div {
  display: grid;
  padding: var(--space-5) var(--space-6);
  gap: var(--space-2);
}

.capability-panel > div + div {
  border-top: 1px solid var(--color-slate-200);
}

.capability-panel span {
  color: var(--color-blue-600);
  font-size: var(--text-sm);
  font-weight: 800;
}

.capability-panel p {
  margin: 0;
}

/* Interior pages */
.simple-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}

.simple-nav a:not(:last-child) {
  display: none;
}

.simple-nav a {
  color: var(--color-slate-700);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

.simple-nav a:hover,
.simple-nav a[aria-current="page"] {
  color: var(--color-blue-600);
}

.inner-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
  background: var(--color-navy-900);
  color: var(--color-surface);
}

.inner-hero::after {
  position: absolute;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgb(0 184 217 / 0.18);
  border-radius: 50%;
  content: "";
  inset: -16rem -8rem auto auto;
  box-shadow:
    0 0 0 4rem rgb(0 184 217 / 0.04),
    0 0 0 9rem rgb(9 105 218 / 0.04);
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.inner-hero .eyebrow {
  color: var(--color-cyan-500);
}

.inner-hero h1 {
  max-width: 23ch;
  margin-block-end: var(--space-6);
  color: inherit;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}

.inner-hero .lead {
  max-width: 54rem;
  margin-block-end: var(--space-8);
  color: rgb(255 255 255 / 0.75);
}

.inner-hero--contact .lead {
  margin-block-end: 0;
}

.breadcrumb {
  display: flex;
  padding: 0;
  margin-block-end: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
}

.breadcrumb li,
.breadcrumb a {
  color: rgb(255 255 255 / 0.62);
  font-size: var(--text-sm);
}

.breadcrumb li + li::before {
  margin-inline-end: var(--space-2);
  color: var(--color-cyan-500);
  content: "/";
}

.detail-grid {
  display: grid;
  gap: var(--space-8);
}

.detail-panel {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.detail-panel h2,
.detail-panel h3 {
  margin-block-end: var(--space-4);
}

.detail-panel > :last-child {
  margin-block-end: 0;
}

.feature-list {
  display: grid;
  padding: 0;
  margin: 0;
  gap: var(--space-3);
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-inline-start: var(--space-6);
}

.feature-list li::before {
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-cyan-500);
  content: "";
  inset: 0.55rem auto auto 0;
  box-shadow: 0 0 0 3px var(--color-cyan-100);
}

.process-strip {
  display: grid;
  padding: var(--space-6);
  gap: var(--space-3);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  background: var(--color-background);
}

.process-strip > div {
  padding: var(--space-4);
  border-left: 3px solid var(--color-blue-600);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

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

.process-strip span {
  color: var(--color-blue-600);
  font-size: var(--text-xs);
  font-weight: 800;
}

.process-strip strong {
  color: var(--color-navy-900);
}

.page-cta {
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  background: var(--color-blue-100);
}

.page-cta > :last-child {
  margin-block-end: 0;
}

.page-footer {
  padding-block: var(--space-8);
  border-top: 1px solid var(--color-slate-200);
  background: var(--color-navy-950);
}

.page-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
}

.page-footer p,
.page-footer a {
  margin: 0;
  color: rgb(255 255 255 / 0.68);
  font-size: var(--text-sm);
}

.page-footer a:hover {
  color: var(--color-cyan-500);
}

/* Case studies, about, insights and contact */
.case-study-list {
  display: grid;
  gap: var(--space-8);
}

.case-study {
  overflow: hidden;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.case-study__header {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  background: var(--color-navy-900);
  color: var(--color-surface);
}

.case-study__number {
  display: block;
  margin-block-end: var(--space-5);
  color: var(--color-cyan-500);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.case-study__header h2 {
  max-width: 28ch;
  margin: 0;
  color: inherit;
}

.case-study__body {
  display: grid;
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  gap: var(--space-8);
}

.case-study__body h3 {
  margin-block-end: var(--space-2);
  color: var(--color-blue-600);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.case-study__body p {
  margin: 0;
}

.case-study__outcome {
  padding: var(--space-5);
  border-left: 3px solid var(--color-cyan-500);
  background: var(--color-background);
}

.principles-grid {
  counter-reset: principle;
}

.principle {
  position: relative;
  padding-block-start: var(--space-16);
  counter-increment: principle;
}

.principle::before {
  position: absolute;
  color: var(--color-blue-100);
  content: "0" counter(principle);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  inset: var(--space-5) auto auto var(--space-8);
}

.tech-groups {
  display: grid;
  gap: var(--space-3);
}

.tech-group {
  display: grid;
  padding: var(--space-5);
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-slate-200);
}

.tech-group:last-child {
  border-bottom: 0;
}

.tech-group strong {
  color: var(--color-blue-600);
  font-size: var(--text-sm);
}

.tech-group p {
  margin: 0;
}

.insight-topics {
  display: grid;
  gap: var(--space-5);
}

.insight-topic {
  display: block;
  padding: var(--space-8);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.insight-topic__label {
  color: var(--color-blue-600);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.insight-topic h2 {
  margin-block: var(--space-4) var(--space-3);
  font-size: var(--text-xl);
}

.insight-topic p:last-child {
  margin: 0;
}

.contact-layout {
  display: grid;
  gap: var(--space-10);
  align-items: start;
}

.contact-context {
  display: grid;
  gap: var(--space-6);
}

.contact-context__item {
  padding-block-end: var(--space-5);
  border-bottom: 1px solid var(--color-slate-200);
}

.contact-context__item h2 {
  margin-block-end: var(--space-2);
  font-size: var(--text-lg);
}

.contact-context__item p {
  margin: 0;
}

.enquiry-form {
  padding: clamp(var(--space-6), 4vw, var(--space-10));
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.enquiry-form__heading {
  margin-block-end: var(--space-8);
}

.enquiry-form__heading p:last-child {
  margin: 0;
}

.form-grid {
  display: grid;
  gap: var(--space-5);
}

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

.required-marker {
  color: var(--color-danger);
}

.form-actions {
  display: grid;
  gap: var(--space-3);
  align-items: center;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--color-slate-600);
  font-size: var(--text-sm);
}

.form-status {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-background);
}

.form-status[hidden] {
  display: none;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

/* Page shell and global call to action */
.page-shell {
  min-height: 35vh;
  padding-block: var(--space-16);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  background: var(--color-navy-900);
  color: var(--color-surface);
}

.cta-band::after {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgb(0 184 217 / 0.24);
  border-radius: 50%;
  content: "";
  inset: -11rem -8rem auto auto;
  box-shadow:
    0 0 0 3rem rgb(0 184 217 / 0.05),
    0 0 0 7rem rgb(9 105 218 / 0.05);
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.cta-band__title {
  margin-block-end: var(--space-3);
  color: var(--color-surface);
}

.cta-band__text {
  max-width: 42rem;
  margin: 0;
  color: rgb(255 255 255 / 0.78);
}

/* Global footer */
.site-footer {
  padding-block: var(--space-16) var(--space-8);
  background: var(--color-navy-950);
  color: var(--color-surface);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-10);
}

.site-footer .brand {
  margin-block-end: var(--space-5);
  color: var(--color-surface);
}

.site-footer .brand__mark {
  background: var(--color-blue-600);
}

.site-footer .brand__role,
.site-footer__intro,
.site-footer__meta {
  color: rgb(255 255 255 / 0.65);
}

.footer-contact {
  display: grid;
  gap: var(--space-2);
  color: rgb(255 255 255 / 0.68);
  font-size: var(--text-sm);
  font-style: normal;
}

.footer-contact a,
.footer-contact span {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--color-cyan-500);
}

.footer-contact__whatsapp {
  width: max-content;
  padding-block-start: var(--space-2);
  color: #7ee2a8 !important;
  font-weight: 750;
}

.whatsapp-chat {
  position: fixed;
  z-index: 90;
  display: inline-flex;
  min-height: 3.25rem;
  padding: var(--space-3);
  align-items: center;
  gap: var(--space-2);
  border: 2px solid var(--color-surface);
  border-radius: 999px;
  background: #16794b;
  color: var(--color-surface);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: 800;
  text-decoration: none;
  inset: auto var(--space-4) var(--space-4) auto;
  transition: background-color var(--transition), translate var(--transition);
}

.whatsapp-chat:hover {
  translate: 0 -2px;
  background: #0f663e;
  color: var(--color-surface);
}

.whatsapp-chat svg {
  width: 1.5rem;
  height: 1.5rem;
}

.whatsapp-chat span {
  display: none;
}

.contact-direct {
  display: grid;
  gap: var(--space-3);
}

.contact-direct > a,
.contact-direct > span {
  display: flex;
  min-height: 3rem;
  padding: var(--space-3) var(--space-4);
  align-items: center;
  gap: var(--space-3);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-slate-700);
  font-size: var(--text-sm);
  font-style: normal;
  font-weight: 650;
  text-decoration: none;
}

.contact-direct > a:hover {
  border-color: var(--color-blue-600);
  color: var(--color-blue-700);
}

.contact-direct__icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-blue-100);
  color: var(--color-blue-700);
}

.contact-direct__icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.site-footer__intro {
  max-width: 30rem;
  margin: 0;
}

.site-footer__title {
  margin-block-end: var(--space-4);
  color: var(--color-surface);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: var(--space-2);
}

.footer-links a {
  color: rgb(255 255 255 / 0.72);
  font-size: var(--text-sm);
  text-decoration: none;
}

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

.site-footer__bottom {
  display: flex;
  padding-block-start: var(--space-8);
  margin-block-start: var(--space-12);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3) var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.site-footer__meta {
  margin: 0;
  font-size: var(--text-sm);
}

/* Basic form components; API behavior is added in the contact step. */
.field {
  display: grid;
  gap: var(--space-2);
}

.field__label {
  color: var(--color-navy-900);
  font-size: var(--text-sm);
  font-weight: 750;
}

.field__control {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem var(--space-4);
  border: 1px solid var(--color-slate-300);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.field__control:focus {
  border-color: var(--color-blue-600);
  outline: none;
  box-shadow: var(--focus-ring);
}

textarea.field__control {
  min-height: 9rem;
  resize: vertical;
}

.field__hint,
.field__error {
  margin: 0;
  font-size: var(--text-sm);
}

.field__error {
  color: var(--color-danger);
}

/* Responsive enhancement */
@media (min-width: 48rem) {
  .container {
    width: min(100% - 3rem, var(--container));
  }

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

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

  .brand__role {
    display: block;
  }

  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-footer__grid {
    grid-template-columns: minmax(16rem, 2fr) repeat(3, minmax(8rem, 1fr));
  }

  .split-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(var(--space-10), 7vw, var(--space-20));
  }

  .solution-feature {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  }

  .compact-card {
    border-bottom: 1px solid var(--color-slate-200);
    border-right: 1px solid var(--color-slate-200);
  }

  .compact-card:nth-child(3n) {
    border-right: 0;
  }

  .compact-card:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .industry-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
  }

  .capability-panel > div {
    grid-template-columns: 9rem 1fr;
    align-items: baseline;
  }

  .simple-nav {
    display: flex;
  }

  .simple-nav a:not(:last-child) {
    display: inline;
  }

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

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

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

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

  .case-study__outcome {
    grid-column: 1 / -1;
  }

  .tech-group {
    grid-template-columns: 9rem 1fr;
  }

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

  .contact-layout {
    grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
  }

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

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

  .whatsapp-chat {
    padding-inline: var(--space-4);
    inset: auto var(--space-6) var(--space-6) auto;
  }

  .whatsapp-chat span {
    display: inline;
  }
}

@media (min-width: 68rem) {
  body.menu-open {
    overflow: auto;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav,
  .site-nav[hidden] {
    position: static;
    display: flex;
    overflow: visible;
    padding: 0;
    align-items: center;
    background: transparent;
  }

  .site-nav__list {
    display: flex;
    align-items: center;
  }

  .site-nav__link,
  .dropdown__toggle {
    width: auto;
    min-height: 2.5rem;
    padding-inline: var(--space-2);
  }

  .dropdown {
    position: relative;
  }

  .dropdown__menu {
    position: absolute;
    width: 20rem;
    padding: var(--space-3);
    inset: calc(100% + 0.5rem) auto auto 0;
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-md);
  }

  .site-nav__cta {
    width: auto;
    min-height: 2.5rem;
    padding-inline: var(--space-3);
    margin: 0 0 0 var(--space-3);
    font-size: var(--text-xs);
    white-space: nowrap;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(25rem, 0.88fr);
    gap: clamp(var(--space-12), 6vw, var(--space-20));
  }

  .hero__content {
    align-self: center;
  }

  .erp-visual {
    align-self: center;
  }
}

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

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

@media print {
  .skip-link,
  .button {
    display: none;
  }

  body {
    color: #000;
  }

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

/* 2026 visual refresh — dark engineering interface */
:root {
  color-scheme: dark;
  --color-navy-950: #020712;
  --color-navy-900: #07101e;
  --color-navy-800: #0d1929;
  --color-blue-700: #2389ee;
  --color-blue-600: #38bdf8;
  --color-blue-100: rgb(56 189 248 / 0.13);
  --color-cyan-500: #38d4ff;
  --color-cyan-100: rgb(56 212 255 / 0.13);
  --color-slate-900: #f7f9fc;
  --color-slate-700: #b7c2d1;
  --color-slate-600: #8090a7;
  --color-slate-300: #334155;
  --color-slate-200: rgb(148 163 184 / 0.15);
  --color-slate-100: #131e2e;
  --color-surface: #0b1524;
  --color-background: #070f1c;
  --color-success: #2dd4a7;
  --shadow-sm: 0 8px 24px rgb(0 0 0 / 0.18);
  --shadow-md: 0 20px 50px rgb(0 0 0 / 0.28);
  --shadow-lg: 0 35px 90px rgb(0 0 0 / 0.42), 0 0 70px rgb(14 165 233 / 0.08);
  --radius-md: 0.85rem;
  --radius-lg: 1.15rem;
  --radius-xl: 1.45rem;
  --container: 75rem;
  --transition: 240ms cubic-bezier(.2,.8,.2,1);
}

body {
  background:
    radial-gradient(circle at 86% 5%, rgb(14 165 233 / 0.16), transparent 28rem),
    linear-gradient(180deg, #040a14 0, #07101c 55%, #040a13 100%);
  color: var(--color-slate-900);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(94 161 209 / 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgb(94 161 209 / 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
  pointer-events: none;
}

::selection { background: #38bdf8; color: #020712; }

h1, h2, h3, h4 { color: #f8fafc; letter-spacing: -0.045em; }
p, li { color: var(--color-slate-700); }

.site-header {
  border: 0;
  background: rgb(3 9 18 / 0.72);
  backdrop-filter: blur(20px) saturate(140%);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(56 189 248 / 0.2), transparent);
  content: "";
}

.site-header__inner { min-height: 5rem; }
.brand { color: #f8fafc; }
.brand:hover { color: #fff; }
.brand__mark {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(125 211 252 / 0.6);
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #42cfff, #1164df);
  box-shadow: 0 10px 28px rgb(14 165 233 / 0.32);
}
.brand__name { color: #fff; }
.brand__role { color: #76869c; }

.site-nav__link, .dropdown__toggle {
  color: #b9c4d2;
  font-weight: 600;
}
.site-nav__link:hover, .site-nav__link[aria-current="page"],
.dropdown__toggle:hover, .dropdown__toggle[aria-expanded="true"] {
  background: rgb(255 255 255 / 0.045);
  color: #fff;
}
.site-nav__cta {
  border-radius: 999px;
  background: #f8fafc;
  color: #07101e;
}
.site-nav__cta:hover { background: #38bdf8; color: #03111d; box-shadow: 0 12px 34px rgb(56 189 248 / .25); }
.dropdown__menu { border-color: rgb(148 163 184 / .16); background: rgb(9 19 33 / .96); backdrop-filter: blur(20px); }
.dropdown__link:hover { background: rgb(56 189 248 / .08); color: #7dd3fc; }

.hero {
  min-height: calc(100svh - 5rem);
  display: grid;
  align-items: center;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
  background:
    radial-gradient(circle at 78% 42%, rgb(14 165 233 / .16), transparent 27rem),
    linear-gradient(90deg, rgb(3 8 17 / .8), transparent 70%);
}
.hero::before {
  width: 32rem;
  height: 32rem;
  inset: 5rem 4% auto auto;
  background: radial-gradient(circle, rgb(37 99 235 / .14), transparent 68%);
  filter: blur(18px);
  animation: hero-orb 8s ease-in-out infinite alternate;
}
.hero__grid { gap: clamp(3rem, 7vw, 7rem); }
.hero__content { max-width: 44rem; }
.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: .5rem .9rem;
  align-items: center;
  gap: .55rem;
  border: 1px solid rgb(148 163 184 / .22);
  border-radius: 999px;
  background: rgb(255 255 255 / .035);
  color: #76d9ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .7rem;
  letter-spacing: .2em;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .04);
}
.hero .eyebrow::before {
  width: .5rem; height: .5rem; border-radius: 50%; background: #38d4ff; content: "";
  box-shadow: 0 0 0 3px rgb(56 212 255 / .14), 0 0 15px #38d4ff;
}
.hero h1 {
  max-width: 13ch;
  margin-block: 1.8rem 1.55rem;
  color: #f8fafc;
  font-size: clamp(3rem, 4.35vw, 4.1rem);
  line-height: .99;
  text-wrap: balance;
}
.hero h1::selection { background: #38bdf8; }
.hero__lead { max-width: 38rem; color: #9baec4; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.hero__actions { gap: 1rem; }
.hero .button { min-height: 3.6rem; padding-inline: 1.75rem; border-radius: 999px; background: #38bdf8; color: #03111d; }
.hero .button::after { content: "\2197"; font-size: 1rem; transition: translate var(--transition); }
.hero .button:hover::after { translate: 3px -3px; }
.hero .button--secondary { border-color: rgb(148 163 184 / .3); background: rgb(255 255 255 / .035); color: #f8fafc; }
.hero .button--secondary::after { content: "\2192"; }
.hero .button--secondary:hover { border-color: rgb(56 189 248 / .5); background: rgb(56 189 248 / .08); }
.hero__proof { gap: 1.25rem 2.25rem; }
.hero__proof li { color: #d8e1ec; font-family: var(--font-display); }

.erp-visual {
  border-color: rgb(148 163 184 / .18);
  border-radius: 1.2rem;
  background: rgb(9 19 33 / .92);
  box-shadow: var(--shadow-lg);
  rotate: 0deg;
  animation: panel-float 7s ease-in-out infinite;
}
.erp-visual__topbar { border-color: rgb(148 163 184 / .13); background: #172233; color: #77869a; font-family: ui-monospace, SFMono-Regular, monospace; }
.erp-visual__brand > span { background: #f87171; box-shadow: 1rem 0 #facc15, 2rem 0 #4ade80; margin-right: 2rem; }
.status-pill { border-color: rgb(56 189 248 / .22); color: #67e8f9; }
.erp-visual__body { background: linear-gradient(160deg, rgb(13 25 42 / .95), rgb(8 17 30 / .98)); }
.workflow { gap: .65rem; }
.workflow__connector { display: none; }
.workflow__step { border-color: rgb(148 163 184 / .13); background: rgb(255 255 255 / .035); }
.workflow__step--active { border-color: rgb(56 189 248 / .42); background: rgb(56 189 248 / .09); }
.workflow__step--complete { border-color: rgb(45 212 167 / .3); background: rgb(45 212 167 / .07); }
.workflow__number { background: #142237; color: #56c8f8; }
.workflow__step strong { color: #e8edf5; }
.workflow__step small { color: #74849b; }
.erp-visual__metrics div { border-color: rgb(148 163 184 / .13); background: rgb(255 255 255 / .04); }
.erp-visual__metrics strong { color: #eef2f7; font-size: 1rem; }

.section, .section--muted, .expertise-section { background: transparent; }
.section--muted { border-block: 1px solid rgb(148 163 184 / .09); background: rgb(9 18 31 / .55); }
.section-heading .eyebrow, .split-layout .eyebrow { color: #50c7f7; }
.card, .detail-panel, .case-card, .capability-panel, .problem-flow > div, .issue-grid li,
.solution-feature, .industry-feature, .contact-form, .contact-card, .process-strip > * {
  border-color: rgb(148 163 184 / .14);
  background: linear-gradient(145deg, rgb(18 31 49 / .82), rgb(8 17 29 / .88));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .035);
}
.card:hover, .detail-panel:hover, .case-card:hover {
  border-color: rgb(56 189 248 / .35);
  box-shadow: 0 24px 60px rgb(0 0 0 / .25), 0 0 35px rgb(14 165 233 / .07);
}
.card__icon { background: rgb(56 189 248 / .1); color: #58c9f8; }
.button { border-radius: 999px; background: #38bdf8; color: #03111d; }
.button:hover { background: #7dd3fc; color: #020b14; box-shadow: 0 14px 34px rgb(56 189 248 / .2); }
.button--secondary { border-color: rgb(148 163 184 / .28); background: transparent; color: #f8fafc; }
.button--secondary:hover { background: rgb(56 189 248 / .08); color: #7dd3fc; }
.site-nav .site-nav__cta { background: #f8fafc; color: #07101e; }
.site-nav .site-nav__cta:hover { background: #7dd3fc; color: #03111d; }
.callout, .cta-band, .inner-hero { background: linear-gradient(135deg, #0d2036, #07101d 65%, #08253a); }
.inner-hero { border-bottom: 1px solid rgb(56 189 248 / .12); }
.field__label { color: #e9eef6; }
.field__control { border-color: rgb(148 163 184 / .22); background: rgb(3 9 18 / .55); color: #fff; }
.field__control:focus { border-color: #38bdf8; }
.site-footer { border-color: rgb(148 163 184 / .12); background: #030913; }
.site-footer .brand { color: #fff; }
.site-footer__disclaimer {
  max-width: 68rem;
  padding-top: 1rem;
  margin: 0;
  border-top: 1px solid rgb(148 163 184 / .1);
  color: #6f8095;
  font-size: .68rem;
  line-height: 1.6;
}
.whatsapp-chat { background: #2dd4a7; color: #03130e; box-shadow: 0 14px 40px rgb(45 212 167 / .25); }

.reveal-ready [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity 700ms ease, translate 700ms cubic-bezier(.2,.8,.2,1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; translate: 0; }

@keyframes panel-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes hero-orb { from { translate: -10px -12px; scale: .95; } to { translate: 14px 18px; scale: 1.08; } }

@media (max-width: 67.99rem) {
  .site-nav { background: rgb(4 11 21 / .98); backdrop-filter: blur(20px); }
  .menu-toggle { border-color: rgb(148 163 184 / .22); background: rgb(255 255 255 / .04); color: #fff; }
  .hero { min-height: auto; }
  .erp-visual { max-width: 42rem; }
}

@media (max-width: 47.99rem) {
  .brand__name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { padding-block: 3.25rem 4rem; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero__actions .button { width: 100%; }
  .erp-visual__metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .erp-visual, .hero::before { animation: none; }
  .reveal-ready [data-reveal] { opacity: 1; translate: 0; }
}

/* Live design lab: palette and presentation variants */
html[data-theme="deep-teal"] {
  --color-navy-950: #061f21;
  --color-navy-900: #082f31;
  --color-navy-800: #0f3d3e;
  --color-blue-700: #0d8f6b;
  --color-blue-600: #10b981;
  --color-cyan-500: #34d399;
  --color-blue-100: rgb(16 185 129 / .13);
  --color-cyan-100: rgb(52 211 153 / .12);
  --color-slate-900: #f3f8f7;
  --color-slate-700: #b9cac7;
  --color-slate-600: #819693;
  --color-success: #10b981;
  --theme-accent: #10b981;
  --theme-accent-soft: rgb(16 185 129 / .13);
  --theme-glow: rgb(16 185 129 / .18);
  --theme-bg-top: #061f21;
  --theme-bg-bottom: #08282a;
  --theme-hero-start: #082f31;
  --theme-hero-middle: #0f3d3e;
  --theme-hero-end: #145a5a;
}

html[data-theme="royal-tech"] {
  --color-navy-950: #0f172a;
  --color-navy-900: #111827;
  --color-navy-800: #172554;
  --color-blue-700: #2563eb;
  --color-blue-600: #22d3ee;
  --color-cyan-500: #22d3ee;
  --color-blue-100: rgb(37 99 235 / .14);
  --color-cyan-100: rgb(34 211 238 / .12);
  --color-success: #22d3ee;
  --theme-accent: #22d3ee;
  --theme-accent-soft: rgb(34 211 238 / .12);
  --theme-glow: rgb(37 99 235 / .24);
  --theme-bg-top: #0f172a;
  --theme-bg-bottom: #111827;
  --theme-hero-start: #0f172a;
  --theme-hero-middle: #172554;
  --theme-hero-end: #1e3a8a;
}

html[data-theme="industrial"] {
  --color-navy-950: #061421;
  --color-navy-900: #0b1f33;
  --color-navy-800: #102b43;
  --color-blue-700: #ea580c;
  --color-blue-600: #f97316;
  --color-cyan-500: #fb923c;
  --color-blue-100: rgb(249 115 22 / .13);
  --color-cyan-100: rgb(251 146 60 / .12);
  --color-success: #f97316;
  --theme-accent: #f97316;
  --theme-accent-soft: rgb(249 115 22 / .13);
  --theme-glow: rgb(249 115 22 / .17);
  --theme-bg-top: #061421;
  --theme-bg-bottom: #0b1f33;
  --theme-hero-start: #061421;
  --theme-hero-middle: #0b1f33;
  --theme-hero-end: #132e48;
}

html[data-theme="indigo-violet"] {
  --color-navy-950: #141134;
  --color-navy-900: #1e1b4b;
  --color-navy-800: #292561;
  --color-blue-700: #4338ca;
  --color-blue-600: #6366f1;
  --color-cyan-500: #8b5cf6;
  --color-blue-100: rgb(99 102 241 / .14);
  --color-cyan-100: rgb(139 92 246 / .13);
  --color-success: #8b5cf6;
  --theme-accent: #8b5cf6;
  --theme-accent-soft: rgb(139 92 246 / .13);
  --theme-glow: rgb(99 102 241 / .22);
  --theme-bg-top: #141134;
  --theme-bg-bottom: #1e1b4b;
  --theme-hero-start: #1e1b4b;
  --theme-hero-middle: #312e81;
  --theme-hero-end: #4338ca;
}

html[data-theme="cobalt"] {
  --color-blue-700: #315efb;
  --color-blue-600: #5b8cff;
  --color-cyan-500: #70a5ff;
  --color-success: #43d6b5;
  --theme-accent: #5b8cff;
  --theme-accent-soft: rgb(91 140 255 / .14);
  --theme-glow: rgb(49 94 251 / .22);
  --theme-bg-top: #050816;
  --theme-bg-bottom: #070d1d;
}

html[data-theme="violet"] {
  --color-blue-700: #8b5cf6;
  --color-blue-600: #a78bfa;
  --color-cyan-500: #c084fc;
  --color-success: #5eead4;
  --theme-accent: #a78bfa;
  --theme-accent-soft: rgb(167 139 250 / .14);
  --theme-glow: rgb(139 92 246 / .22);
  --theme-bg-top: #0c0718;
  --theme-bg-bottom: #100b20;
}

html[data-theme="emerald"] {
  --color-blue-700: #10b981;
  --color-blue-600: #34d399;
  --color-cyan-500: #5eead4;
  --color-success: #a3e635;
  --theme-accent: #34d399;
  --theme-accent-soft: rgb(52 211 153 / .13);
  --theme-glow: rgb(16 185 129 / .2);
  --theme-bg-top: #03120f;
  --theme-bg-bottom: #061612;
}

html[data-theme="ember"] {
  --color-blue-700: #f97316;
  --color-blue-600: #fb923c;
  --color-cyan-500: #fbbf24;
  --color-success: #facc15;
  --theme-accent: #fb923c;
  --theme-accent-soft: rgb(251 146 60 / .13);
  --theme-glow: rgb(249 115 22 / .2);
  --theme-bg-top: #130905;
  --theme-bg-bottom: #160c07;
}

html[data-theme="arctic"] {
  color-scheme: light;
  --color-navy-950: #f8fbff;
  --color-navy-900: #eaf2fb;
  --color-blue-700: #0b67d1;
  --color-blue-600: #1688e8;
  --color-cyan-500: #00a9c7;
  --color-slate-900: #10213a;
  --color-slate-700: #435671;
  --color-slate-600: #64748b;
  --color-slate-300: #b8c7d9;
  --color-slate-200: rgb(82 111 145 / .18);
  --color-slate-100: #edf4fb;
  --color-surface: #fff;
  --color-background: #eef5fb;
  --theme-accent: #1688e8;
  --theme-accent-soft: rgb(22 136 232 / .1);
  --theme-glow: rgb(22 136 232 / .16);
  --theme-bg-top: #f9fcff;
  --theme-bg-bottom: #eaf3fb;
}

html:not([data-theme]), html[data-theme="cyan"] {
  --theme-accent: #38bdf8;
  --theme-accent-soft: rgb(56 189 248 / .13);
  --theme-glow: rgb(14 165 233 / .2);
  --theme-bg-top: #040a14;
  --theme-bg-bottom: #040a13;
}

html[data-theme] body {
  background:
    radial-gradient(circle at 86% 5%, var(--theme-glow), transparent 28rem),
    linear-gradient(180deg, var(--theme-bg-top), var(--theme-bg-bottom));
}
html[data-theme] .hero { background: radial-gradient(circle at 78% 42%, var(--theme-glow), transparent 27rem), linear-gradient(90deg, color-mix(in srgb, var(--theme-bg-top) 86%, transparent), transparent 70%); }
html[data-theme="deep-teal"] .hero,
html[data-theme="royal-tech"] .hero,
html[data-theme="industrial"] .hero,
html[data-theme="indigo-violet"] .hero {
  background:
    radial-gradient(circle at 78% 42%, var(--theme-glow), transparent 27rem),
    linear-gradient(120deg, var(--theme-hero-start) 0%, var(--theme-hero-middle) 55%, var(--theme-hero-end) 135%);
}
html[data-theme] .hero .button,
html[data-theme] .button { background: var(--theme-accent); }
html[data-theme] .hero .button--secondary,
html[data-theme] .button--secondary { background: transparent; }
html[data-theme] .brand__mark { background: linear-gradient(145deg, color-mix(in srgb, var(--theme-accent) 75%, white), var(--theme-accent)); }
html[data-theme] .hero .eyebrow::before { background: var(--theme-accent); box-shadow: 0 0 0 3px var(--theme-accent-soft), 0 0 15px var(--theme-accent); }

html[data-density="compact"] { --space-24: 4.5rem; --space-20: 3.75rem; --space-16: 3rem; }
html[data-density="compact"] .card { padding: 1.3rem; }
html[data-density="compact"] .hero { min-height: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }

.design-lab {
  position: fixed;
  z-index: 500;
  right: 1.25rem;
  bottom: 5.5rem;
  display: grid;
  justify-items: end;
  font-family: var(--font-sans);
}
.design-lab__toggle {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(148 163 184 / .28);
  border-radius: 50%;
  background: rgb(10 20 34 / .9);
  color: #fff;
  box-shadow: 0 14px 38px rgb(0 0 0 / .35);
  backdrop-filter: blur(18px);
}
.design-lab__toggle svg { width: 1.25rem; }
.design-lab__toggle:hover { rotate: 20deg; border-color: var(--theme-accent); }
.design-lab__panel {
  width: min(20rem, calc(100vw - 2rem));
  padding: 1.25rem;
  margin-bottom: .75rem;
  border: 1px solid rgb(148 163 184 / .2);
  border-radius: 1.2rem;
  background: rgb(8 17 29 / .94);
  color: #f8fafc;
  box-shadow: 0 24px 70px rgb(0 0 0 / .45);
  backdrop-filter: blur(24px) saturate(145%);
  transform-origin: bottom right;
  transition: opacity 180ms ease, scale 180ms ease, translate 180ms ease;
}
.design-lab__panel[hidden] { display: block; opacity: 0; scale: .94; translate: 0 8px; pointer-events: none; }
.design-lab__head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.design-lab__title { margin: 0; color: #fff; font-size: 1rem; letter-spacing: -.02em; }
.design-lab__subtitle { margin: .15rem 0 0; color: #8391a5; font-size: .75rem; }
.design-lab__reset { padding: .25rem .5rem; border: 0; background: transparent; color: #91a1b5; font-size: .72rem; }
.design-lab__reset:hover { color: var(--theme-accent); }
.design-lab__label { display: block; margin-bottom: .6rem; color: #b8c4d3; font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.design-lab__swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; margin-bottom: 1.1rem; }
.design-lab__swatches { grid-template-columns: repeat(2, 1fr); }
.design-lab__swatch { position: relative; aspect-ratio: 1; padding: 0; border: 2px solid transparent; border-radius: .7rem; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18); }
.design-lab__swatch { display: flex; min-height: 3.2rem; aspect-ratio: auto; padding: .55rem; align-items: end; color: #fff; text-align: left; }
.design-lab__swatch span { font-size: .64rem; font-weight: 750; line-height: 1.15; text-shadow: 0 1px 5px rgb(0 0 0 / .7); }
.design-lab__swatch[aria-pressed="true"] { border-color: #fff; scale: 1.08; box-shadow: 0 0 0 3px color-mix(in srgb, var(--swatch) 30%, transparent); }
.design-lab__options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.design-lab__option { display: flex; min-height: 2.55rem; padding: .55rem .7rem; align-items: center; justify-content: space-between; border: 1px solid rgb(148 163 184 / .18); border-radius: .7rem; background: rgb(255 255 255 / .035); color: #dce4ed; font-size: .76rem; }
.design-lab__option[aria-pressed="true"] { border-color: color-mix(in srgb, var(--theme-accent) 60%, transparent); background: var(--theme-accent-soft); color: #fff; }

html[data-theme="arctic"] :is(.site-header, .site-nav) { background: rgb(248 252 255 / .88); }
html[data-theme="arctic"] :is(h1, h2, h3, h4, .brand__name, .site-nav__link, .dropdown__toggle) { color: #10213a; }
html[data-theme="arctic"] :is(p, li, .hero__lead) { color: #50647f; }
html[data-theme="arctic"] :is(.card, .detail-panel, .case-card, .capability-panel, .problem-flow > div, .issue-grid li) { background: rgb(255 255 255 / .82); }
html[data-theme="arctic"] .hero h1 { color: #10213a; }
html[data-theme="arctic"] .hero .button { color: #fff; }
html[data-theme="arctic"] .hero .button--secondary { color: #10213a; }

/* Theme-safe text contrast for panels that originated in the light design */
html[data-theme] :is(
  .problem-flow strong,
  .process-map__node strong,
  .process-strip strong,
  .case-card__outcome strong,
  .field__label,
  .erp-visual__metrics strong
) { color: #f8fafc; }
html[data-theme] :is(.problem-flow small, .process-map__node small) { color: #93a4b9; }
html[data-theme] .issue-grid li { color: #c2cdda; }

/* Low-contrast systems grid, adapted to the selected palette */
.hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--theme-accent) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--theme-accent) 8%, transparent) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(90deg, #000 0%, rgb(0 0 0 / .8) 55%, transparent 100%);
  pointer-events: none;
}
.hero__grid { z-index: 1; }

/* Meaningful workflow animation from the design brief */
.workflow__step {
  position: relative;
  overflow: hidden;
  transition: translate 500ms ease, border-color 500ms ease, background-color 500ms ease, box-shadow 500ms ease;
}
.workflow__step::after {
  position: absolute;
  width: .38rem;
  height: .38rem;
  border-radius: 50%;
  background: var(--theme-accent);
  box-shadow: 0 0 14px var(--theme-accent);
  content: "";
  top: 50%;
  right: 1rem;
  opacity: 0;
  scale: .6;
  translate: 0 -50%;
  transition: opacity 350ms ease, scale 350ms ease;
}
.workflow.is-animating .workflow__step { border-color: rgb(148 163 184 / .13); background: rgb(255 255 255 / .035); box-shadow: none; }
.workflow.is-animating .workflow__step.is-active-stage {
  border-color: color-mix(in srgb, var(--theme-accent) 55%, transparent);
  background: var(--theme-accent-soft);
  box-shadow: 0 0 28px color-mix(in srgb, var(--theme-accent) 10%, transparent);
  translate: 4px 0;
}
.workflow.is-animating .workflow__step.is-active-stage::after { opacity: 1; scale: 1; }
html[data-motion="off"] .workflow .workflow__step { border-color: rgb(148 163 184 / .13); }

@media (max-width: 47.99rem) {
  .design-lab { right: 1rem; bottom: 5rem; }
  .design-lab__toggle { width: 3rem; height: 3rem; }
}

/* Variant 03 — animated business-system diagrams */
.inner-hero { color: #f8fafc; }
.inner-hero h1 { color: #f8fafc; }
.industry-feature {
  min-height: 0;
  justify-content: flex-start;
  gap: 1.5rem;
}
.industry-feature > div {
  display: grid;
  flex: 1;
  align-content: center;
  gap: .75rem;
}
.industry-feature :is(h3, p) { margin-bottom: 0; }
.frappe-suite-section {
  border-block: 1px solid rgb(148 163 184 / .09);
  background: linear-gradient(135deg, rgb(249 115 22 / .045), transparent 48%);
}
.frappe-suite-section .section-heading { max-width: 52rem; }
.frappe-suite {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.frappe-suite::before {
  position: absolute;
  z-index: 0;
  border: 1px dashed color-mix(in srgb, var(--theme-accent) 22%, transparent);
  border-radius: 1.5rem;
  content: "";
  inset: 1.2rem;
  pointer-events: none;
}
.frappe-product {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 8.5rem;
  padding: 1.35rem;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid rgb(148 163 184 / .14);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgb(18 31 49 / .9), rgb(8 17 29 / .94));
  box-shadow: inset 0 1px rgb(255 255 255 / .035);
  transition: translate 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
}
.frappe-product:hover { translate: 0 -5px; border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent); box-shadow: 0 18px 45px rgb(0 0 0 / .18); }
.frappe-product--core {
  grid-column: 1 / -1;
  min-height: 10rem;
  align-items: center;
  background: radial-gradient(circle at 20% 15%, var(--theme-accent-soft), transparent 16rem), linear-gradient(145deg, #17263a, #091421);
  border-color: color-mix(in srgb, var(--theme-accent) 45%, transparent);
}
.frappe-product__mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--theme-accent) 35%, transparent);
  border-radius: .8rem;
  background: var(--theme-accent-soft);
  color: var(--theme-accent);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: .7rem;
  font-weight: 800;
}
.frappe-product--core .frappe-product__mark { width: 4rem; height: 4rem; font-size: .85rem; }
.frappe-product--core h3 { font-size: 1.4rem; }
.frappe-product--core p { max-width: 48rem; }
.frappe-product h3 { margin-bottom: .35rem; font-size: 1.15rem; }
.frappe-product p { margin: 0; font-size: .87rem; }
.frappe-suite__note {
  display: flex;
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  align-items: flex-start;
  gap: .8rem;
  border: 1px solid rgb(148 163 184 / .13);
  border-radius: .85rem;
  background: rgb(255 255 255 / .025);
}
.frappe-suite__note > span { color: var(--theme-accent); font-weight: 900; }
.frappe-suite__note p { margin: 0; font-size: .78rem; }
.frappe-suite__note strong { color: #f8fafc; }
.hero { padding-block: clamp(3.5rem, 7vw, 6rem) clamp(4.5rem, 8vw, 6.5rem); }
.hero .hero__grid { justify-items: initial; }
.hero .hero__content { display: block; max-width: 44rem; text-align: left; }
.hero .eyebrow {
  width: fit-content;
  max-width: none;
  margin-inline: 0;
  white-space: nowrap;
}
.hero h1 {
  max-width: 13ch;
  margin-inline: 0;
  font-size: clamp(3rem, 4.35vw, 4.1rem);
  line-height: .99;
}
.hero h1 span {
  display: block;
  background: linear-gradient(100deg, #f97316 4%, #fb923c 48%, #fbbf24 96%);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead { max-width: 39rem; margin-inline: 0; }
.hero__actions, .hero__proof { justify-content: flex-start; }
.hero__proof li { color: #cbd5e1; }
.erp-ecosystem {
  position: relative;
  width: 100%;
  min-height: 31rem;
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / .18);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgb(13 25 42 / .94), rgb(7 16 28 / .96));
  box-shadow: var(--shadow-lg);
}
.erp-ecosystem::before {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--theme-accent-soft), transparent 70%);
  content: "";
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  animation: ecosystem-breathe 6s ease-in-out infinite;
}
.erp-ecosystem__head {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgb(148 163 184 / .14);
  background: rgb(24 36 54 / .82);
  color: #8fa0b5;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: .75rem;
  font-weight: 700;
}
.erp-ecosystem__head span { display: inline-flex; align-items: center; gap: .55rem; }
.erp-ecosystem__head i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--theme-accent); box-shadow: 0 0 12px var(--theme-accent); }
.erp-ecosystem__head small { color: var(--theme-accent); }
.erp-ecosystem__lines { position: absolute; z-index: 1; width: 100%; height: calc(100% - 3.6rem); inset: 3.6rem 0 0; }
.ecosystem-path { fill: none; stroke: color-mix(in srgb, var(--theme-accent) 48%, #26364b); stroke-width: 1.5; stroke-dasharray: .08 .035; animation: ecosystem-line 18s linear infinite; }
.data-particle { fill: var(--theme-accent); filter: drop-shadow(0 0 5px var(--theme-accent)); opacity: .75; }
.data-particle--two { opacity: .5; }
.data-particle--three { opacity: .35; }
.erp-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 8.9rem;
  min-height: 4.5rem;
  padding: .75rem .85rem;
  align-content: center;
  border: 1px solid rgb(148 163 184 / .18);
  border-radius: .85rem;
  background: rgb(15 28 45 / .96);
  box-shadow: 0 12px 30px rgb(0 0 0 / .22), inset 0 1px rgb(255 255 255 / .04);
  transition: border-color 400ms ease, translate 400ms ease, box-shadow 400ms ease;
}
.erp-node:hover { border-color: var(--theme-accent); translate: 0 -3px; box-shadow: 0 16px 38px rgb(0 0 0 / .3), 0 0 25px var(--theme-accent-soft); }
.erp-node span { color: var(--theme-accent); font-size: .62rem; font-weight: 800; }
.erp-node strong { color: #f3f7fb; font-size: .82rem; }
.erp-node small { color: #8293a9; font-size: .62rem; }
.erp-node--procurement { top: 5.5rem; left: 50%; translate: -50% 0; }
.erp-node--inventory { top: 50%; left: 1rem; translate: 0 -25%; }
.erp-node--core { top: 50%; left: 50%; translate: -50% -25%; border-color: color-mix(in srgb, var(--theme-accent) 65%, transparent); background: color-mix(in srgb, var(--theme-accent) 13%, #0b1727); }
.erp-node--core:hover { translate: -50% calc(-25% - 3px); }
.erp-node--finance { top: 50%; right: 1rem; translate: 0 -25%; }
.erp-node--projects { bottom: 1rem; left: 50%; translate: -50% 0; }

.animated-timeline {
  position: relative;
  display: grid;
  max-width: 48rem;
  margin-inline: auto;
  gap: 1rem;
}
.animated-timeline::before, .animated-timeline::after {
  position: absolute;
  width: 2px;
  border-radius: 2px;
  content: "";
  top: 1.7rem;
  bottom: 1.7rem;
  left: 1.48rem;
}
.animated-timeline::before { background: rgb(148 163 184 / .16); }
.animated-timeline::after { background: linear-gradient(var(--theme-accent), color-mix(in srgb, var(--theme-accent) 45%, transparent)); transform: scaleY(var(--flow-progress, 0)); transform-origin: top; transition: transform 900ms cubic-bezier(.2,.8,.2,1); }
.animated-timeline > div {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 5rem;
  padding: 1rem 1.2rem 1rem 4.2rem;
  align-content: center;
  border: 1px solid rgb(148 163 184 / .14);
  border-radius: .9rem;
  background: linear-gradient(145deg, rgb(18 31 49 / .88), rgb(8 17 29 / .92));
  opacity: .58;
  transition: opacity 500ms ease, translate 500ms ease, border-color 500ms ease;
}
.animated-timeline > div > span { position: absolute; display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: #101d2e; color: var(--theme-accent); font-size: .7rem; font-weight: 800; inset: 1.5rem auto auto .5rem; }
.animated-timeline strong { color: #f8fafc; }
.animated-timeline p { margin: .15rem 0 0; font-size: .82rem; }
.animated-timeline > div.is-flow-active { opacity: 1; translate: 5px 0; border-color: color-mix(in srgb, var(--theme-accent) 38%, transparent); }

.industry-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; }
.industry-flow::before, .industry-flow::after { position: absolute; z-index: 0; height: 2px; content: ""; top: 2.1rem; right: 6%; left: 6%; }
.industry-flow::before { background: rgb(148 163 184 / .16); }
.industry-flow::after { background: var(--theme-accent); transform: scaleX(var(--flow-progress, 0)); transform-origin: left; transition: transform 1000ms cubic-bezier(.2,.8,.2,1); }
.industry-flow > div { position: relative; z-index: 1; min-height: 8rem; padding: 1.25rem .9rem; border: 1px solid rgb(148 163 184 / .14); border-radius: .9rem; background: #0c1828; opacity: .55; transition: opacity 500ms ease, translate 500ms ease, border-color 500ms ease, box-shadow 500ms ease; }
.industry-flow > div span, .industry-flow > div strong, .industry-flow > div small { display: block; }
.industry-flow > div span { display: grid; width: 1.8rem; height: 1.8rem; margin-bottom: 1.2rem; place-items: center; border-radius: 50%; background: #132339; color: var(--theme-accent); font-size: .65rem; font-weight: 800; }
.industry-flow > div strong { color: #f8fafc; font-size: .8rem; }
.industry-flow > div small { max-height: 0; margin-top: .25rem; overflow: hidden; color: #8fa0b5; font-size: .68rem; opacity: 0; transition: max-height 400ms ease, opacity 400ms ease; }
.industry-flow > div:hover small, .industry-flow > div:focus small { max-height: 3rem; opacity: 1; }
.industry-flow > div.is-flow-active { opacity: 1; translate: 0 -4px; border-color: color-mix(in srgb, var(--theme-accent) 42%, transparent); box-shadow: 0 18px 45px rgb(0 0 0 / .15); }
.industry-flow--seven { grid-template-columns: repeat(7, 1fr); }

.service-card:hover { translate: 0 -6px; box-shadow: 0 18px 45px rgb(0 0 0 / .22); }
.service-card .card__icon { transition: scale 400ms ease, rotate 400ms ease; }
.service-card:hover .card__icon { scale: 1.05; rotate: -2deg; }
.button::after, .icon-link span { transition: translate var(--transition); }
.button:hover::after, .icon-link:hover span { translate: 4px 0; }
.site-header { transition: background-color 400ms ease, box-shadow 400ms ease; }
.site-header.is-scrolled { background: rgb(3 9 18 / .93); box-shadow: 0 12px 36px rgb(0 0 0 / .18); }

@keyframes ecosystem-line { to { stroke-dashoffset: -1; } }
@keyframes ecosystem-breathe { 50% { scale: 1.12; opacity: .7; } }

html[data-motion="off"] .ecosystem-path { animation: none !important; }
html[data-motion="off"] .erp-ecosystem::before { animation: none !important; }
html[data-motion="off"] .data-particle { display: none; }
html[data-motion="off"] [data-progress-flow] { --flow-progress: 1 !important; }
html[data-motion="off"] [data-progress-flow] > div { opacity: 1; translate: 0; }

@media (max-width: 67.99rem) {
  .erp-ecosystem { max-width: 42rem; }
  .industry-flow, .industry-flow--seven { grid-template-columns: repeat(2, 1fr); }
  .industry-flow::before, .industry-flow::after { display: none; }
}
@media (max-width: 47.99rem) {
  .frappe-suite { grid-template-columns: 1fr; }
  .frappe-product--core { grid-column: auto; min-height: 9rem; }
  .frappe-suite::before { display: none; }
  .hero .eyebrow { max-width: 100%; white-space: normal; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .erp-ecosystem { min-height: 28rem; }
  .erp-node { width: 7.1rem; padding: .55rem; }
  .erp-node--inventory { left: .5rem; }
  .erp-node--finance { right: .5rem; }
  .industry-flow, .industry-flow--seven { grid-template-columns: 1fr; }
  .industry-flow > div small { max-height: 3rem; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .ecosystem-path, .erp-ecosystem::before { animation: none !important; }
  .data-particle { display: none; }
  [data-progress-flow] { --flow-progress: 1 !important; }
  [data-progress-flow] > div { opacity: 1; translate: 0; }
}

/* Heading contrast guard: theme tokens must never make section titles disappear. */
html[data-theme] body :is(h2, h3),
html[data-theme] body :is(.card__title, .detail-panel h2, .detail-panel h3) {
  color: #f8fafc !important;
}

html[data-theme] .reveal-ready [data-reveal] :is(h2, h3) {
  visibility: visible;
}

html[data-theme] .industry-feature,
html[data-theme] .industry-feature:hover,
html[data-theme] .industry-feature .icon-link,
html[data-theme] .industry-list a,
html[data-theme] .industry-list a:hover,
html[data-theme] .industry-list span {
  color: #f8fafc;
}
html[data-theme] .industry-list small { color: #aebccc; }
html[data-theme] .industry-list b { color: var(--theme-accent); }

/* Isolated About-page logo workshop; it does not affect the shared brand lockup. */
.logo-concept-section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.logo-concept-lab {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(20rem, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.logo-concept-lab__copy p:last-child { max-width: 38rem; }
.logo-concept-lab__preview {
  margin: 0;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid rgb(148 163 184 / .22);
  border-radius: 1.25rem;
  background: #f7f5f0;
  box-shadow: 0 24px 70px rgb(0 0 0 / .2);
}
.logo-concept-lab__preview :is(img, svg) {
  display: block;
  width: min(100%, 34rem);
  height: auto;
  margin-inline: auto;
}
.logo-concept-lab__preview figcaption {
  margin-top: 1rem;
  color: #526071;
  font-size: .72rem;
  text-align: center;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media (max-width: 47.99rem) {
  .logo-concept-lab { grid-template-columns: 1fr; }
}
