/**
 * ActuLogiX Experience — main stylesheet.
 *
 * THE SYSTEM RESPONDS — Industriële automatisering voor complexe processen.
 * Industrial control system aesthetics: INPUT → LOGIC → MOTION → SAFE → EVIDENCE.
 *
 * Version: 1.0.0
 */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --alx-deep: #14232E;
  --alx-ink: #0D1720;
  --alx-blue-grey: #304557;
  --alx-orange: #FF8C00;
  --alx-orange-dark: #9A5500;
  --alx-danger: #FF5F57;
  --alx-light: #F3F6F8;
  --alx-white: #FFFFFF;
  --alx-mist: #B9C6D0;
  --alx-line: #3E5468;
  --alx-radius-s: 2px;
  --alx-radius-m: 4px;
  --alx-radius-l: 6px;
  --alx-line-dark: rgba(243, 246, 248, 0.14);
  --alx-line-light: rgba(48, 69, 87, 0.22);
  --alx-font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --alx-font-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Liberation Mono', Consolas, monospace;
  --alx-content-width: 72rem;
  --alx-wide-width: 84rem;
  --alx-gutter: clamp(1rem, 5vw, 2.5rem);
  --alx-transition: 0.25s ease;
}

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

body {
  font-family: var(--alx-font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #22384A;
  background: var(--alx-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

[hidden] {
  display: none !important;
}

a {
  color: var(--alx-blue-grey);
  text-decoration: none;
  transition: color var(--alx-transition);
}

a:hover {
  color: var(--alx-deep);
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--alx-orange);
  outline-offset: 2px;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--alx-orange);
  color: var(--alx-ink);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-100%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ===== SITE HEADER ===== */
.alx-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 23, 32, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--alx-line-dark);
}

.alx-site-header__inner {
  max-width: var(--alx-wide-width);
  margin: 0 auto;
  padding: 0 var(--alx-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.alx-site-header__brand {
  flex-shrink: 0;
}

.alx-site-header__wordmark {
  display: flex;
  align-items: center;
  color: var(--alx-white);
  text-decoration: none;
}

.alx-site-header__logo-svg {
  width: 200px;
  height: 40px;
  color: var(--alx-orange);
}

.alx-site-header__logo-image,
.alx-site-footer__logo-image {
  display: block;
  width: auto;
  height: 2.25rem;
  max-width: min(13rem, 48vw);
  object-fit: contain;
  object-position: left center;
}

.alx-site-footer__logo-image {
  height: 2.75rem;
  margin-bottom: 1rem;
}

/* Primary navigation */
.alx-primary-nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--alx-line);
  color: var(--alx-white);
  padding: 0.5rem;
  border-radius: var(--alx-radius-s);
  cursor: pointer;
}

.alx-primary-nav__list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.alx-primary-nav__list a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--alx-mist);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--alx-radius-s);
  transition: color var(--alx-transition), background var(--alx-transition);
}

.alx-primary-nav__list a:hover,
.alx-primary-nav__list a:focus-visible,
.alx-primary-nav__list .current-menu-item > a {
  color: var(--alx-white);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .alx-primary-nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .alx-primary-nav__toggle .alx-icon--close { display: none; }
  .alx-primary-nav__toggle[aria-expanded="true"] .alx-icon--open { display: none; }
  .alx-primary-nav__toggle[aria-expanded="true"] .alx-icon--close { display: block; }

  .alx-primary-nav__list {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13, 23, 32, 0.98);
    padding: 1rem;
    gap: 0;
    border-top: 1px solid var(--alx-line-dark);
  }

  .alx-primary-nav__list[data-visible="true"],
  .alx-primary-nav__list.is-active {
    display: flex;
  }

  .alx-primary-nav__list a {
    padding: 0.75rem 1rem;
  }
}

/* ===== HERO ===== */
.alx-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 85vh;
  max-height: 100vh;
  overflow: hidden;
  background: var(--alx-ink);
  color: var(--alx-white);
}

.alx-hero__media {
  position: absolute;
  inset: 0;
}

.alx-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alx-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 23, 32, 0.72) 0%,
    rgba(48, 69, 87, 0.45) 100%
  );
}

.alx-hero__play-btn {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 5;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--alx-white);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--alx-transition), border-color var(--alx-transition);
}

.alx-hero__play-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--alx-orange);
}

.alx-hero__play-btn .alx-icon--pause { display: none; }
.alx-hero__play-btn[aria-pressed="true"] .alx-icon--play { display: none; }
.alx-hero__play-btn[aria-pressed="true"] .alx-icon--pause { display: block; }

.alx-hero__content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - (2 * var(--alx-gutter))), 56rem);
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: var(--alx-ink);
  border: 1px solid rgba(243, 246, 248, 0.18);
  border-left: 3px solid var(--alx-orange);
  border-radius: var(--alx-radius-m);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  text-align: center;
}

.alx-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--alx-white);
  text-shadow: 0 2px 28px rgba(5, 12, 18, 0.55);
}

.alx-hero__lead {
  font-size: 1.25rem;
  max-width: 46rem;
  margin: 0 auto 2rem;
  color: var(--alx-mist);
  line-height: 1.5;
}

.alx-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.alx-hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.alx-hero__scroll-line {
  display: block;
  width: 2px;
  height: 2.5rem;
  background: linear-gradient(to bottom, var(--alx-orange), transparent);
  animation: alx-scroll-pulse 2s ease-in-out infinite;
}

@keyframes alx-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ===== BUTTONS ===== */
.alx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--alx-font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--alx-radius-s);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--alx-transition), color var(--alx-transition), border-color var(--alx-transition), transform 0.15s;
}

.alx-btn:hover {
  transform: translateY(-1px);
}

.alx-btn--primary {
  background: var(--alx-orange);
  color: var(--alx-ink);
  border-color: var(--alx-orange);
}

.alx-btn--primary:hover {
  background: #e67e00;
  border-color: #e67e00;
  color: var(--alx-ink);
}

.alx-btn--outline {
  background: transparent;
  color: var(--alx-white);
  border-color: rgba(255, 255, 255, 0.35);
}

.alx-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--alx-orange);
  color: var(--alx-white);
}

.alx-btn--text {
  background: transparent;
  color: var(--alx-blue-grey);
  border: none;
  padding: 0.25rem 0;
  font-weight: 600;
  font-size: 0.9375rem;
  gap: 0.35rem;
}

.alx-btn--text:hover {
  color: var(--alx-orange);
  transform: none;
}

.alx-btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

@media (max-width: 429px) {
  .alx-btn--lg {
    padding: 0.875rem 1.5rem;
  }
}

/* ===== SECTIONS ===== */
.alx-section {
  padding: var(--alx-section-pad-y, 5rem) 0;
}

.alx-section__inner {
  max-width: var(--alx-content-width);
  margin: 0 auto;
  padding: 0 var(--alx-gutter);
}

.alx-section__label {
  display: inline-block;
  font-family: var(--alx-font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alx-orange);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--alx-line-dark);
  border-radius: var(--alx-radius-s);
  background: rgba(48, 69, 87, 0.12);
}

.alx-input .alx-section__label,
.alx-motion .alx-section__label,
.alx-evidence .alx-section__label,
.alx-page-masthead__copy .alx-section__label {
  color: var(--alx-orange-dark);
  border-color: var(--alx-line-light);
  background: rgba(48, 69, 87, 0.06);
}

.alx-section__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--alx-deep);
  margin-bottom: 1rem;
}

.alx-section__intro {
  font-size: 1.125rem;
  color: var(--alx-blue-grey);
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

/* Dark section variant */
.alx-section--dark {
  background: var(--alx-deep);
  color: var(--alx-light);
}

.alx-section--dark .alx-section__title { color: var(--alx-white); }
.alx-section--dark .alx-section__intro { color: var(--alx-mist); }

/* ===== TRUST RAIL ===== */
.alx-trust {
  background: var(--alx-deep);
  padding: 0;
}

.alx-trust__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  max-width: var(--alx-wide-width);
  margin: 0 auto;
}

.alx-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--alx-line-dark);
  text-align: center;
  color: var(--alx-white);
}

.alx-trust__item:first-child {
  border-left: 1px solid var(--alx-line-dark);
}

.alx-trust__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--alx-orange);
}

.alx-trust__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--alx-mist);
}

@media (max-width: 767px) {
  .alx-trust__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .alx-trust__item:nth-child(3) { border-right: none; }
}

@media (max-width: 429px) {
  .alx-trust__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .alx-trust__item:nth-child(2) { border-right: none; }
  .alx-trust__item:nth-child(3) { border-right: 1px solid var(--alx-line-dark); }
}

/* ===== INPUT ===== */
.alx-input {
  background: var(--alx-light);
  --alx-section-pad-y: 5rem;
}

.alx-input__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.alx-input__text {
  font-size: 1.0625rem;
  color: var(--alx-blue-grey);
}

.alx-input__text p + p {
  margin-top: 1rem;
}

.alx-input__diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.alx-input__schematic {
  width: 100%;
  max-width: 400px;
  background-color: var(--alx-light);
}

.alx-input__legend {
  width: min(100%, 400px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  list-style: none;
}

.alx-input__legend li {
  display: grid;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  background: var(--alx-white);
  border: 1px solid var(--alx-line-light);
  border-radius: var(--alx-radius-s);
}

.alx-input__legend strong {
  color: var(--alx-orange-dark);
  font-family: var(--alx-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.alx-input__legend span {
  color: var(--alx-blue-grey);
  font-size: 0.75rem;
  line-height: 1.35;
}

@media (max-width: 767px) {
  .alx-input__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== LOGIC / SYSTEM MAP ===== */
.alx-logic {
  background: var(--alx-deep);
  --alx-section-pad-y: 5rem;
  color: var(--alx-light);
}

.alx-logic .alx-section__title { color: var(--alx-white); }
.alx-logic .alx-section__intro { color: var(--alx-mist); }

.alx-system-map__nodes {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 48rem;
  margin: 0 auto;
}

.alx-system-map__node {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--alx-line-dark);
  border-radius: var(--alx-radius-m);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  grid-template-rows: auto auto;
  gap: 0 1rem;
  transition: border-color var(--alx-transition), background var(--alx-transition);
  cursor: default;
}

.alx-system-map__node:hover,
.alx-system-map__node:focus-visible {
  border-color: var(--alx-orange);
  background: rgba(255, 140, 0, 0.06);
}

.alx-system-map__icon {
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alx-orange);
  width: 2.5rem;
  height: 2.5rem;
}

.alx-system-map__name {
  font-family: var(--alx-font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--alx-white);
}

.alx-system-map__desc {
  font-size: 0.9375rem;
  color: var(--alx-mist);
  line-height: 1.4;
}

.alx-system-map__connect {
  position: relative;
  min-height: 2rem;
  background-color: var(--alx-deep);
}

.alx-system-map__connect::before {
  content: '';
  position: absolute;
  top: 0.2rem;
  bottom: 0.45rem;
  left: 50%;
  width: 2px;
  background: var(--alx-orange);
  transform: translateX(-50%);
}

.alx-system-map__connect::after {
  content: '';
  position: absolute;
  bottom: 0.35rem;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--alx-orange);
  border-bottom: 2px solid var(--alx-orange);
  transform: translateX(-50%) rotate(45deg);
}

@media (max-width: 429px) {
  .alx-system-map__node {
    padding: 1rem;
    grid-template-columns: 2rem 1fr;
  }
}

/* ===== MOTION / EXPERTISE CARDS ===== */
.alx-motion {
  background: var(--alx-light);
  --alx-section-pad-y: 5rem;
}

.alx-motion__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.alx-expertise-card {
  background: var(--alx-white);
  border: 1px solid var(--alx-line-light);
  border-radius: var(--alx-radius-l);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--alx-transition), box-shadow var(--alx-transition);
}

.alx-expertise-card:hover,
.alx-expertise-card:focus-within {
  border-color: var(--alx-orange);
  box-shadow: 0 4px 24px rgba(48, 69, 87, 0.08);
}

.alx-expertise-card__icon {
  width: 2rem;
  height: 2rem;
  color: var(--alx-orange);
}

.alx-expertise-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--alx-deep);
  line-height: 1.3;
}

.alx-expertise-card__desc {
  font-size: 0.9375rem;
  color: var(--alx-blue-grey);
  line-height: 1.55;
}

.alx-expertise-card__meta {
  font-family: var(--alx-font-mono);
  font-size: 0.75rem;
  color: var(--alx-blue-grey);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.alx-expertise-card__facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.alx-expertise-card__facts li {
  font-family: var(--alx-font-mono);
  font-size: 0.75rem;
  color: var(--alx-blue-grey);
  background: var(--alx-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--alx-radius-s);
}

@media (max-width: 767px) {
  .alx-motion__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== INTERLOCK SIMULATOR ===== */
.alx-interlock {
  background: var(--alx-ink);
  --alx-section-pad-y: 5rem;
  color: var(--alx-white);
}

.alx-interlock .alx-section__title { color: var(--alx-white); }
.alx-interlock .alx-section__intro { color: var(--alx-mist); }

.alx-simulator {
  max-width: 48rem;
  margin: 0 auto;
  background: rgba(48, 69, 87, 0.15);
  border: 1px solid var(--alx-line-dark);
  border-radius: var(--alx-radius-l);
  padding: 1.75rem;
}

.alx-simulator__status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--alx-line-dark);
  font-family: var(--alx-font-mono);
  font-size: 0.875rem;
}

.alx-simulator__status-label {
  color: var(--alx-mist);
}

.alx-simulator__status-value {
  font-weight: 700;
  color: var(--alx-white);
  padding: 0.2rem 0.75rem;
  border-radius: var(--alx-radius-s);
}

.alx-simulator__status-value[data-status="idle"] { background: rgba(255, 255, 255, 0.08); }
.alx-simulator__status-value[data-status="running"] { background: rgba(255, 140, 0, 0.15); color: var(--alx-orange); }
.alx-simulator__status-value[data-status="fault"] { background: rgba(255, 70, 70, 0.15); color: #FF5555; }
.alx-simulator__status-value[data-status="complete"] { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }

.alx-simulator__states {
  margin-bottom: 1.25rem;
}

.alx-simulator__sequence {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.alx-simulator__step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--alx-line-dark);
  border-radius: var(--alx-radius-s);
  font-size: 0.8125rem;
  white-space: nowrap;
  transition: border-color 0.3s, background 0.3s;
}

.alx-simulator__step[data-active="true"] {
  border-color: var(--alx-orange);
  background: rgba(255, 140, 0, 0.1);
}

.alx-simulator__step[data-active="true"] .alx-simulator__step-number {
  color: var(--alx-orange);
}

.alx-simulator__step[data-completed="true"] {
  opacity: 0.5;
  border-color: transparent;
  background: rgba(255, 255, 255, 0.03);
}

.alx-simulator__step[data-fault="true"] {
  opacity: 1;
  border-color: var(--alx-danger);
  background: rgba(255, 95, 87, 0.12);
}

.alx-simulator__step[data-fault="true"] .alx-simulator__step-number {
  color: var(--alx-danger);
}

.alx-simulator__step-number {
  font-family: var(--alx-font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--alx-mist);
}

.alx-simulator__fault-panel {
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 70, 70, 0.06);
  border: 1px solid rgba(255, 70, 70, 0.15);
  border-radius: var(--alx-radius-s);
}

.alx-simulator__fault-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.9375rem;
}

.alx-simulator__fault-input {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--alx-orange);
}

.alx-simulator__fault-label {
  color: var(--alx-mist);
}

.alx-simulator__controls {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.alx-simulator__safe-state {
  margin-top: 1.25rem;
  padding: 1rem;
  background: rgba(76, 175, 80, 0.08);
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: var(--alx-radius-s);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.alx-simulator__safe-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: #4CAF50;
}

.alx-simulator__safe-text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #4CAF50;
  margin: 0;
}

/* ===== EVIDENCE ===== */
.alx-evidence {
  --alx-section-pad-y: 5rem;
  background: var(--alx-light);
}

/* ===== ENGINEER ===== */
.alx-engineer {
  background: var(--alx-deep);
  --alx-section-pad-y: 5rem;
}

.alx-engineer .alx-section__title { color: var(--alx-white); }

.alx-engineer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.alx-engineer__lead {
  font-size: 1.0625rem;
  color: var(--alx-mist);
  margin-bottom: 1.5rem;
}

.alx-engineer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alx-engineer__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--alx-mist);
  font-size: 0.9375rem;
}

.alx-engineer__list svg {
  color: var(--alx-orange);
  flex-shrink: 0;
}

.alx-engineer__contact-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--alx-line-dark);
  border-radius: var(--alx-radius-l);
  padding: 2rem;
  text-align: center;
}

.alx-engineer__contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--alx-orange);
  margin: 0 auto 0.75rem;
}

.alx-engineer__contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--alx-white);
  margin-bottom: 0.75rem;
}

.alx-engineer__contact-details {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--alx-mist);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.alx-engineer__contact-details a {
  color: var(--alx-white);
}

@media (max-width: 767px) {
  .alx-engineer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== CTA SECTION ===== */
.alx-cta {
  background: var(--alx-deep);
  --alx-section-pad-y: 5rem;
  text-align: center;
}

.alx-cta .alx-section__title {
  color: var(--alx-white);
  margin-bottom: 1rem;
}

.alx-cta__lead {
  font-size: 1.125rem;
  color: var(--alx-mist);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.alx-cta__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== SITE FOOTER ===== */
.alx-site-footer {
  background: var(--alx-ink);
  color: var(--alx-mist);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--alx-line-dark);
}

.alx-site-footer__grid {
  max-width: var(--alx-wide-width);
  margin: 0 auto;
  padding: 0 var(--alx-gutter);
  display: grid;
  grid-template-columns: minmax(16rem, 1.8fr) minmax(12rem, 1.15fr) minmax(9rem, .8fr) minmax(14rem, 1.15fr);
  gap: clamp(2rem, 4vw, 4.5rem);
}

.alx-site-footer__logo-svg {
  width: 180px;
  height: 36px;
  color: var(--alx-orange);
  margin-bottom: 0.75rem;
}

.alx-site-footer__tagline {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: var(--alx-mist);
}

.alx-site-footer__address {
  font-style: normal;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--alx-mist);
}

.alx-site-footer__address a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--alx-white);
}

.alx-site-footer__heading {
  font-family: var(--alx-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--alx-orange);
  margin-bottom: 1rem;
}

.alx-site-footer__nav ul,
.alx-site-footer__menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alx-site-footer__nav a,
.alx-site-footer__menu a {
  font-size: 0.875rem;
  color: var(--alx-mist);
}

.alx-site-footer__nav a:hover,
.alx-site-footer__menu a:hover {
  color: var(--alx-white);
}

.alx-site-footer__registry dl {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.alx-site-footer__registry dl > div {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.alx-site-footer__registry dt {
  color: var(--alx-mist);
}

.alx-site-footer__registry dd {
  margin: 0;
  color: var(--alx-white);
  font-family: var(--alx-font-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.alx-site-footer__bottom {
  max-width: var(--alx-wide-width);
  margin: 3rem auto 0;
  padding: 1.25rem var(--alx-gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid var(--alx-line-dark);
  color: var(--alx-mist);
  font-size: 0.75rem;
}

.alx-site-footer__bottom p { margin: 0; }

.alx-site-footer__copyright {
  font-size: 0.8125rem;
  color: var(--alx-white);
}

.alx-site-footer__privacy-link {
  color: var(--alx-mist);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.alx-site-footer__privacy-link:hover {
  color: var(--alx-white);
}

.alx-site-footer__privacy-link:focus-visible {
  outline: 2px solid var(--alx-orange);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .alx-site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .alx-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .alx-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 429px) {
  .alx-site-footer__grid {
    grid-template-columns: 1fr;
  }

  .alx-site-footer__brand {
    grid-column: auto;
  }
}

/* ===== BREADCRUMBS ===== */
.alx-breadcrumbs {
  max-width: var(--alx-content-width);
  margin: 0 auto;
  padding: 1rem var(--alx-gutter);
}

.alx-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.8125rem;
}

.alx-breadcrumbs__item + .alx-breadcrumbs__item::before {
  content: "/";
  margin: 0 0.35rem;
  color: var(--alx-mist);
}

.alx-breadcrumbs__item a {
  color: var(--alx-blue-grey);
}

.alx-breadcrumbs__item--current span {
  color: var(--alx-deep);
  font-weight: 600;
}

/* ===== PAGE CONTENT ===== */
.alx-page {
  padding: 3rem 0 5rem;
}

.alx-page__content {
  max-width: var(--alx-content-width);
  margin: 0 auto;
  padding: 0 var(--alx-gutter);
}

.alx-page__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--alx-deep);
  margin-bottom: 1rem;
}

.alx-page__lead {
  font-size: 1.125rem;
  color: var(--alx-blue-grey);
  max-width: 44rem;
  line-height: 1.6;
}

.alx-page__lead p + p {
  margin-top: 1rem;
}

.alx-page__body {
  margin-top: 2rem;
  line-height: 1.7;
}

.alx-page__body h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.alx-page__body h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.alx-page__body p + p {
  margin-top: 1rem;
}

.alx-page__body ul, .alx-page__body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.alx-page__body a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== 404 ===== */
.alx-404 {
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.alx-404__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.alx-404__text {
  font-size: 1.125rem;
  color: var(--alx-blue-grey);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.alx-404__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== EXPERTISE DETAILS ===== */
.alx-expertise-overview {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

.alx-expertise-detail {
  display: flex;
  gap: 1.5rem;
  background: var(--alx-white);
  border: 1px solid var(--alx-line-light);
  border-radius: var(--alx-radius-l);
  padding: 1.75rem;
  transition: border-color var(--alx-transition);
}

.alx-expertise-detail:hover,
.alx-expertise-detail:focus-within {
  border-color: var(--alx-orange);
}

.alx-expertise-detail__icon {
  width: 2rem;
  height: 2rem;
  color: var(--alx-orange);
  flex-shrink: 0;
}

.alx-expertise-detail__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--alx-deep);
  margin-bottom: 0.5rem;
}

.alx-expertise-detail__desc {
  font-size: 0.9375rem;
  color: var(--alx-blue-grey);
  margin-bottom: 0.35rem;
}

.alx-expertise-detail__detail {
  font-size: 0.9375rem;
  color: #4a5f70;
  margin-bottom: 0.75rem;
}

@media (max-width: 429px) {
  .alx-expertise-detail {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ===== SECTION SPLIT ===== */
.alx-section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.alx-section-split h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--alx-deep);
}

.alx-section-split__capabilities ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alx-section-split__capabilities li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.alx-section-split__capabilities svg {
  flex-shrink: 0;
  color: var(--alx-orange);
  margin-top: 0.2em;
}

.alx-section-split__method p {
  font-size: 0.9375rem;
  color: var(--alx-blue-grey);
}

.alx-section-split__method p + p {
  margin-top: 0.75rem;
}

@media (max-width: 767px) {
  .alx-section-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== STANDARDS LIST ===== */
.alx-standards-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.alx-standards-list__code {
  font-family: var(--alx-font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--alx-orange);
  margin-right: 0.5rem;
}

/* ===== INLINE CTA ===== */
.alx-cta-inline {
  margin-top: 3rem;
  padding: 1.75rem;
  background: var(--alx-deep);
  border-radius: var(--alx-radius-l);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.alx-cta-inline p {
  color: var(--alx-white);
  font-size: 1.0625rem;
  margin: 0;
}

/* ===== ABOUT GRID ===== */
.alx-about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.alx-about-card {
  background: var(--alx-white);
  border: 1px solid var(--alx-line-light);
  border-radius: var(--alx-radius-l);
  padding: 1.75rem;
}

.alx-about-card h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--alx-deep);
}

.alx-about-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.alx-about-card li {
  font-size: 0.9375rem;
}

.alx-about-card li::before {
  content: "— ";
  color: var(--alx-orange);
}

.alx-about-cert {
  margin-top: 2rem;
}

.alx-about-cert h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
  .alx-about-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CONTACT GRID ===== */
.alx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.alx-contact-info__block {
  margin-bottom: 1.5rem;
}

.alx-contact-info__block h3 {
  font-family: var(--alx-font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--alx-orange);
  margin-bottom: 0.35rem;
}

.alx-contact-info__block address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.alx-contact-form h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.alx-contact-form__intro {
  max-width: 42rem;
  margin: 0 0 1.35rem;
  color: var(--alx-blue-grey);
  line-height: 1.6;
}

.alx-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alx-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.alx-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.alx-form__field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--alx-deep);
}

.alx-form__field input,
.alx-form__field select,
.alx-form__field textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: var(--alx-font-sans);
  font-size: 0.9375rem;
  border: 1px solid var(--alx-line-light);
  border-radius: var(--alx-radius-s);
  background: var(--alx-white);
  color: var(--alx-deep);
  transition: border-color var(--alx-transition);
}

.alx-form__field input:focus,
.alx-form__field select:focus,
.alx-form__field textarea:focus {
  border-color: var(--alx-orange);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.15);
}

.alx-form__note {
  font-size: 0.8125rem;
  color: var(--alx-blue-grey);
  margin-top: 0.75rem;
}

.alx-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.alx-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--alx-blue-grey);
}

.alx-form__consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  accent-color: var(--alx-orange);
  flex: 0 0 auto;
}

.alx-form-status {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--alx-orange);
  background: rgba(255, 140, 0, 0.08);
  color: var(--alx-deep);
  font-weight: 650;
}

.alx-form-status--error {
  border-color: #b42318;
  background: #fef3f2;
}

.alx-form-status--success {
  border-color: #12805c;
  background: #f0faf5;
}

.alx-form-status--info {
  border-color: var(--alx-blue-grey);
  background: rgba(48, 69, 87, 0.06);
}

.alx-form__turnstile {
  margin: 0.75rem 0 0;
  min-height: 0;
}

.alx-form__noscript-note {
  background: #fff8ef;
  border: 1px solid rgba(196, 99, 18, 0.24);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #6f451c;
}

.alx-form__status {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
}

.alx-form__status a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.alx-form-result {
  padding: 1.5rem;
  border-radius: 8px;
  line-height: 1.5;
}

.alx-form-result--success {
  background: #f0faf5;
  border: 1px solid rgba(18, 128, 92, 0.28);
}

.alx-form-result--error {
  background: #fef3f2;
  border: 1px solid rgba(180, 35, 24, 0.2);
}

.alx-form-result__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.alx-form-result__fallback {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.875rem;
}

.alx-contact-fallback {
  padding: 1.25rem;
  border: 1px solid rgba(196, 99, 18, 0.24);
  border-radius: 8px;
  background: #fff8ef;
  color: #6f451c;
  line-height: 1.6;
}

.alx-contact-fallback ul {
  margin: 0.5rem 0 0 1.25rem;
  padding: 0;
}

.alx-contact-info__signal {
  border-left: 2px solid var(--alx-orange);
  padding-left: 1rem;
}

.alx-contact-info__eyebrow {
  font-family: var(--alx-font-mono);
  color: var(--alx-orange-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .alx-contact-grid {
    grid-template-columns: 1fr;
  }

  .alx-form__row {
    grid-template-columns: 1fr;
  }
}

/* ===== WORKFLOW ===== */
.alx-workflow {
  max-width: 42rem;
  margin: 2.5rem auto 0;
}

.alx-workflow__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.alx-workflow__steps::before {
  content: "";
  position: absolute;
  left: 1.75rem;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 1px;
  background: var(--alx-line-light);
}

.alx-workflow__step {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  position: relative;
}

.alx-workflow__number {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--alx-font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--alx-white);
  background: var(--alx-blue-grey);
  border-radius: 50%;
  z-index: 1;
}

.alx-workflow__step:first-child .alx-workflow__number {
  background: var(--alx-orange);
  color: var(--alx-ink);
}

.alx-workflow__body h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.alx-workflow__body p {
  font-size: 0.9375rem;
  color: var(--alx-blue-grey);
}

/* ===== POST GRID ===== */
.alx-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.alx-card {
  background: var(--alx-white);
  border: 1px solid var(--alx-line-light);
  border-radius: var(--alx-radius-l);
  overflow: hidden;
  transition: border-color var(--alx-transition);
}

.alx-card:hover,
.alx-card:focus-within {
  border-color: var(--alx-orange);
}

.alx-card__image img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.alx-card__body {
  padding: 1.25rem 1.5rem;
}

.alx-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.alx-card__date {
  font-size: 0.8125rem;
  color: var(--alx-mist);
  display: block;
  margin-bottom: 0.5rem;
}

.alx-card__excerpt {
  font-size: 0.9375rem;
  color: var(--alx-blue-grey);
  line-height: 1.55;
}

@media (max-width: 429px) {
  .alx-post-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SINGLE POST ===== */
.alx-single__header {
  margin-bottom: 2rem;
}

.alx-single__date {
  font-size: 0.8125rem;
  color: var(--alx-mist);
  display: block;
  margin-bottom: 0.5rem;
}

.alx-single__title {
  font-size: clamp(2rem, 4vw, 3rem);
}

.alx-single__featured {
  margin-bottom: 2rem;
}

.alx-single__img {
  border-radius: var(--alx-radius-m);
}

.alx-single__body {
  line-height: 1.7;
}

/* ===== PAGINATION ===== */
.alx-pagination {
  margin-top: 3rem;
  text-align: center;
}

.alx-pagination .page-numbers {
  display: inline-flex;
  gap: 0.35rem;
}

.alx-pagination .page-numbers > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid var(--alx-line-light);
  border-radius: var(--alx-radius-s);
  background: var(--alx-white);
  color: var(--alx-blue-grey);
  text-decoration: none;
  transition: border-color var(--alx-transition), background var(--alx-transition);
}

.alx-pagination .current {
  border-color: var(--alx-orange);
  background: var(--alx-orange);
  color: var(--alx-ink);
}

.alx-pagination a:hover {
  border-color: var(--alx-orange);
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .alx-hero__scroll-line {
    animation: none;
  }

  .alx-simulator__sequence {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .alx-simulator__step {
    opacity: 1 !important;
    border-color: var(--alx-line-dark) !important;
    background: rgba(255, 255, 255, 0.04) !important;
  }

  .alx-simulator__step[data-active="true"] {
    border-color: var(--alx-orange) !important;
    background: rgba(255, 140, 0, 0.1) !important;
  }
}

/* ===== PREFERS CONTRAST ===== */
@media (prefers-contrast: more) {
  :root {
    --alx-line-dark: rgba(243, 246, 248, 0.3);
    --alx-line-light: rgba(48, 69, 87, 0.4);
  }

  .alx-btn--outline {
    border-color: var(--alx-white);
  }
}

/* ===== UTILITY ===== */
.alx-section--dark .alx-btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--alx-white);
}

.alx-interlock__noscript {
  font-size: 0.9375rem;
  color: var(--alx-mist);
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--alx-line-dark);
  border-radius: var(--alx-radius-m);
  margin-top: 1rem;
}
