:root {
  --black: #000000;
  --navy: #113954;
  --orange: #fe4c1c;
  --red: #ee0621;
  --ink: var(--black);
  --ink-2: var(--navy);
  --surface: #f4f6f8;
  --surface-2: #e8edf2;
  --steel: #66717f;
  --white: #fff;
  --signal: var(--orange);
  --coolant: var(--navy);
  --line: rgba(102, 113, 127, 0.22);
  --shadow: 0 24px 80px rgba(8, 12, 18, 0.18);
  --container: min(1120px, calc(100vw - 40px));
  --wide: min(1440px, calc(100vw - 40px));
  --header-w: min(1680px, calc(100vw - 56px));
  --radius: 2px;
  --header-h: 84px;
  --font-display: "Space Grotesk", Inter, Arial, sans-serif;
  --font-body: Inter, Arial, sans-serif;
  --text-xs: clamp(0.72rem, 0.68rem + 0.14vw, 0.8rem);
  --text-sm: clamp(0.82rem, 0.78rem + 0.16vw, 0.92rem);
  --text-base: clamp(0.95rem, 0.92rem + 0.14vw, 1rem);
  --text-lead: clamp(1rem, 0.95rem + 0.28vw, 1.15rem);
  --h1: clamp(1.95rem, 1.5rem + 1.9vw, 2.9rem);
  --h2: clamp(1.55rem, 1.3rem + 1.05vw, 2.15rem);
  --h3: clamp(1.25rem, 1.12rem + 0.55vw, 1.55rem);
  --h4: clamp(1.08rem, 1rem + 0.32vw, 1.25rem);
  --h5: clamp(0.98rem, 0.93rem + 0.18vw, 1.08rem);
  --h6: clamp(0.86rem, 0.83rem + 0.1vw, 0.94rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: var(--h1);
  line-height: 1.02;
}

/* Two-tone heading highlight */
.hl {
  color: var(--signal);
}

h2 {
  font-size: var(--h2);
}

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

h4 {
  font-size: var(--h4);
}

h5 {
  font-size: var(--h5);
}

h6 {
  font-size: var(--h6);
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.container.narrow {
  max-width: 840px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* Pull the following content up so the transparent header overlays the hero. */
  margin-bottom: calc(-1 * var(--header-h));
  background: transparent;
  border: 0;
  transition: background-color 280ms ease, box-shadow 280ms ease;
}

/* Solid once the page is scrolled (set by JS). No border — just a color + soft shadow. */
.site-header[data-scrolled="true"] {
  background: rgba(9, 13, 18, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}

/* Header spans wider than the content container, especially on large screens. */
.header-inner {
  width: var(--header-w);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: auto;
  height: clamp(17px, 1.7vw, 22px);
}

.brand-footer .brand-logo {
  height: 26px;
  margin-bottom: 18px;
}

/* Custom-logo fallback (WordPress Site Identity) stays on-brand in the dark header */
.custom-logo {
  height: clamp(17px, 1.7vw, 22px);
  width: auto;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--signal);
}

/* ---- Primary navigation + dropdowns ---- */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-item > a,
.primary-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 160ms ease;
}

/* Animated accent underline on hover/active (Fabrik-style indicator). */
.nav-item > a::after,
.primary-nav > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-item:hover > a::after,
.nav-item:focus-within > a::after,
.primary-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-item > a:hover,
.primary-nav > a:hover,
.nav-item:focus-within > a {
  color: var(--white);
}

.nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  opacity: 0.65;
  transition: transform 200ms ease;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 264px;
  padding: 8px;
  background: #0b0f14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 2px solid var(--signal);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: flex;
  align-items: center;
  padding: 10px 13px;
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 140ms ease, color 140ms ease, padding-left 140ms ease;
}

.dropdown a:hover {
  background: rgba(254, 76, 28, 0.14);
  color: var(--white);
  padding-left: 17px;
}

.nav-caret-btn {
  display: none;
}

/* ---- Buttons: sharp, uppercase, split arrow-chip (execor-style) ---- */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 750;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* Split arrow chip */
.button-primary,
.button-accent,
.button-dark {
  padding-right: 68px;
}

.button-primary::after,
.button-accent::after,
.button-dark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
  transition: background-position 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Minimalist hover: the arrow slides toward the edge. */
.button-primary:hover::after,
.button-accent:hover::after,
.button-dark:hover::after {
  background-position: right 15px center;
}

.button-primary,
.button-accent {
  background: var(--orange);
  color: #10151b;
}
.button-primary::after,
.button-accent::after { background-color: #10151b; }
.button-primary:hover,
.button-accent:hover { background: #ff5a2e; }

.button-dark {
  background: #10151b;
  color: var(--white);
}
.button-dark::after { background-color: var(--orange); }
.button-dark:hover { background: #000; }

.button-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
}
.button-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white);
}

.button-outline-dark {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.button-outline-dark:hover {
  border-color: var(--navy);
  background: rgba(17, 57, 84, 0.05);
}

/* Compact header CTA — same look, no chip */
.button-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.74rem;
}
.button-small.button-primary,
.button-small.button-accent,
.button-small.button-dark {
  padding-right: 18px;
}
.button-small::after {
  display: none;
}

.hero-industrial {
  min-height: min(88vh, 640px);
  position: relative;
  display: grid;
  align-items: center;
  overflow: clip;
  background: radial-gradient(circle at 78% 18%, rgba(254, 76, 28, 0.14), transparent 34%), #000;
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 118px 90px;
}

.hero-industrial h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: var(--h1);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.hero-industrial .lead,
.page-hero .lead {
  max-width: 600px;
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--text-lead);
}

.eyebrow {
  color: var(--signal);
  font-size: var(--text-xs);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .hero-industrial {
    min-height: 680px;
  }
}
