/* ==========================================================================
   Northline Industrial — Design System
   Palette: deep navy / industrial grey / safety orange
   ========================================================================== */

:root {
  /* Core palette */
  --navy-900: #0a1628;
  --navy-800: #0f1f35;
  --navy-700: #16293f;
  --navy-600: #1e3550;
  --navy-500: #2a4566;

  --steel-100: #f4f6f8;
  --steel-200: #e6eaef;
  --steel-300: #cfd6de;
  --steel-400: #9aa6b4;
  --steel-500: #6b7887;
  --steel-600: #48535f;

  --orange-500: #e8622c;
  --orange-600: #d24f1c;
  --orange-100: #fdf0ea;

  --white: #ffffff;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--steel-100);
  --bg-dark: var(--navy-900);
  --text: #1a2430;
  --text-muted: var(--steel-500);
  --text-inverse: #ffffff;
  --border: var(--steel-200);
  --border-strong: var(--steel-300);
  --accent: var(--orange-500);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container: 1200px;
  --container-narrow: 820px;

  /* Effects */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow: 0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 22, 40, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--s-9);
}

.section-sm {
  padding-block: var(--s-8);
}

.section-alt {
  background: var(--bg-alt);
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-top: var(--s-4);
  max-width: 22ch;
}

.section-lede {
  margin-top: var(--s-4);
  font-size: 17px;
  color: var(--text-muted);
  max-width: 62ch;
}

.section-head {
  margin-bottom: var(--s-8);
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--center .section-title,
.section-head--center .section-lede {
  margin-inline: auto;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    transform 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--orange-600);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline {
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--navy-700);
  background: var(--steel-100);
}

.btn--block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy-700);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.text-link svg {
  transition: transform 0.2s var(--ease);
}

.text-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--s-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  flex-shrink: 0;
}

.logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.logo-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel-500);
  line-height: 1.2;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.nav-link {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--steel-600);
  padding-block: 4px;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-900);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex-shrink: 0;
}

.header-actions .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  transition: background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--text-inverse);
  padding-top: calc(72px + var(--s-9));
  padding-bottom: var(--s-9);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      105deg,
      var(--navy-900) 0%,
      var(--navy-900) 38%,
      rgba(15, 31, 53, 0.92) 62%,
      rgba(15, 31, 53, 0.72) 100%
    ),
    radial-gradient(
      ellipse 80% 60% at 85% 30%,
      rgba(232, 98, 44, 0.16) 0%,
      transparent 60%
    );
  z-index: 0;
}

/* Industrial grid texture */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 70% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse 90% 70% at 70% 40%,
    black 20%,
    transparent 75%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: center;
}

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

.hero-eyebrow::before {
  background: var(--orange-500);
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-top: var(--s-5);
  max-width: 16ch;
}

.hero-title em {
  font-style: normal;
  color: var(--orange-500);
}

.hero-lede {
  margin-top: var(--s-5);
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-500);
  flex-shrink: 0;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  padding: var(--s-6);
  overflow: hidden;
}

.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6ee7a8;
}

.hero-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(110, 231, 168, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(110, 231, 168, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(110, 231, 168, 0);
  }
}

.hero-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: var(--s-5);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.hero-kpi {
  background: var(--navy-800);
  padding: var(--s-4);
}

.hero-kpi strong {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-kpi strong span {
  font-size: 14px;
  color: var(--orange-500);
  margin-left: 2px;
}

.hero-kpi small {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--s-5);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   Trust bar / certifications
   ========================================================================== */

.trustbar {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: var(--s-5);
}

.trustbar-inner {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  flex-wrap: wrap;
  justify-content: space-between;
}

.trustbar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  flex-shrink: 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange-500);
  flex-shrink: 0;
}

/* ==========================================================================
   Capability stats
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}

.stat {
  background: var(--bg);
  padding: var(--s-7) var(--s-5);
  text-align: center;
}

.stat-value {
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy-900);
}

.stat-value span {
  color: var(--accent);
}

.stat-label {
  margin-top: var(--s-3);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   Product grid
   ========================================================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.product-card:hover {
  border-color: var(--steel-300);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--steel-100);
  overflow: hidden;
}

.product-media svg {
  width: 100%;
  height: 100%;
  display: block;
}

.product-tag {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--navy-900);
  color: var(--white);
  border-radius: 2px;
}

.product-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  font-size: 19px;
  letter-spacing: -0.01em;
}

.product-body > p {
  margin-top: var(--s-2);
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-specs {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
  display: grid;
  gap: var(--s-2);
  font-size: 13px;
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  color: var(--text-muted);
}

.product-specs b {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.product-foot {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Why us / feature rows
   ========================================================================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature {
  background: var(--white);
  padding: var(--s-6);
  transition: background 0.25s var(--ease);
}

.feature:hover {
  background: var(--steel-100);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--orange-100);
  color: var(--accent);
  margin-bottom: var(--s-4);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature h3 {
  font-size: 17.5px;
}

.feature p {
  margin-top: var(--s-2);
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Process timeline
   ========================================================================== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: var(--s-6);
  border-top: 2px solid var(--border-strong);
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -2px;
  left: 0;
  transform: translateY(-50%);
  padding-right: 10px;
  background: var(--bg-alt);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.section-alt .process-step::before {
  background: var(--bg-alt);
}

.process-step h3 {
  font-size: 16.5px;
}

.process-step p {
  margin-top: var(--s-2);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Case studies
   ========================================================================== */

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.case-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.case-card:hover {
  border-color: var(--steel-300);
  box-shadow: var(--shadow);
}

.case-media {
  aspect-ratio: 16 / 10;
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}

.case-media svg {
  width: 100%;
  height: 100%;
}

.case-body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case-region {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-body h3 {
  margin-top: var(--s-2);
  font-size: 17.5px;
}

.case-body p {
  margin-top: var(--s-2);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.case-metrics {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}

.case-metric strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  line-height: 1.2;
}

.case-metric small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Testimonial */
.testimonial {
  margin-top: var(--s-7);
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  padding: var(--s-7) var(--s-8);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-6);
  align-items: start;
}

.testimonial-quote {
  font-size: 64px;
  line-height: 0.8;
  color: var(--orange-500);
  font-family: Georgia, serif;
}

.testimonial blockquote {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 500;
}

.testimonial-author {
  margin-top: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 14px;
}

.testimonial-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-600);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange-500);
  flex-shrink: 0;
}

.testimonial-author b {
  display: block;
  font-weight: 600;
}

.testimonial-author span {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   About / split section
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}

.split--reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--steel-100);
}

.split-media svg {
  width: 100%;
  height: auto;
  display: block;
}

.split-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-top: var(--s-4);
}

.split-body > p {
  margin-top: var(--s-4);
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

.check-list {
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-3);
}

.check-list li {
  display: flex;
  gap: var(--s-3);
  font-size: 15px;
  color: var(--text);
  line-height: 1.55;
}

.check-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

/* ==========================================================================
   CTA + Inquiry form
   ========================================================================== */

.inquiry {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.inquiry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 70% 90% at 15% 20%,
      rgba(232, 98, 44, 0.14) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 60% 70% at 95% 85%,
      rgba(42, 69, 102, 0.5) 0%,
      transparent 65%
    );
  pointer-events: none;
}

.inquiry .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}

.inquiry-copy h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-top: var(--s-4);
  max-width: 18ch;
}

.inquiry-copy p {
  margin-top: var(--s-4);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.68);
  max-width: 44ch;
}

.contact-list {
  margin-top: var(--s-7);
  display: grid;
  gap: var(--s-4);
}

.contact-item {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: 14.5px;
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--orange-500);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item div {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.contact-item strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}

/* Form */
.form-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
  padding: var(--s-6);
  box-shadow: var(--shadow-lg);
}

.form-card h3 {
  font-size: 20px;
}

.form-card > p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.form-grid {
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.field {
  display: grid;
  gap: 6px;
}

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

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--steel-600);
}

.field label .req {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 14.5px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 92px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 53, 80, 0.1);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--steel-400);
}

.form-foot {
  margin-top: var(--s-5);
}

.form-note {
  margin-top: var(--s-3);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-muted);
}

.form-note a {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  padding-top: var(--s-8);
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--white);
}

.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  margin-top: var(--s-4);
  max-width: 34ch;
  line-height: 1.7;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h4 {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--s-4);
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-block: var(--s-5);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-legal {
  display: flex;
  gap: var(--s-5);
  flex-wrap: wrap;
}

.footer-legal a:hover {
  color: var(--white);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    animation-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  .hero-title {
    max-width: 22ch;
  }

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

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

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-6) var(--s-5);
  }

  .inquiry .container {
    grid-template-columns: 1fr;
    gap: var(--s-7);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    gap: var(--s-6);
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: var(--s-3) var(--s-5) var(--s-5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
      visibility 0.22s;
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .nav-link {
    padding-block: 13px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding-top: calc(72px + var(--s-7));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split-media {
    order: 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .testimonial {
    grid-template-columns: 1fr;
    padding: var(--s-6);
    gap: var(--s-3);
  }

  .testimonial-quote {
    font-size: 44px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-6) var(--s-5);
  }
}

@media (max-width: 640px) {
  :root {
    --s-9: 64px;
    --s-8: 48px;
  }

  .container {
    padding-inline: var(--s-4);
  }

  .hero-title,
  .hero-lede,
  .section-title,
  .section-lede {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }

  .product-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    gap: var(--s-2) var(--s-4);
  }

  .trustbar-inner {
    gap: var(--s-4);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-author {
    margin-top: var(--s-4);
  }
}
