:root {
  --canvas: #c2cbd2;
  --surface: #ffffff;
  --surface-alt: #eef2ff;
  --text: #000000;
  --text-muted: #475569;
  --border: #cbd5e1;
  --primary: #e07000;
  --primary-hover: #1d4ed8;
  --accent: #f07000;
  --success: #16a34a;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --max-width: 72rem;
  --narrow-width: 48rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--canvas);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }

.skip-link {
  position: absolute;
  inset-inline-start: var(--space-md);
  top: -3rem;
  background: var(--text);
  color: var(--surface);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  z-index: 1000;
}
.skip-link:focus { top: var(--space-md); }

.shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin-inline: auto;
}
.shell--wide { width: min(calc(100% - 2rem), 76rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}
.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-block: 0.9rem;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.brand__eyebrow {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.brand__name,
.footer-brand {
  font-size: 1rem;
  font-weight: 800;
}
.primary-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.primary-nav a,
.footer-nav a {
  color: var(--text-muted);
  padding: 0.35rem 0.55rem;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.primary-nav a[aria-current='page'],
.footer-nav a[aria-current='page'],
.primary-nav a:hover,
.primary-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
  border-color: var(--primary);
}
.header-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover,
.button:focus-visible { transform: translateY(-1px); }
.button:focus-visible {
  outline: 3px solid rgba(224, 112, 0, 0.2);
  outline-offset: 2px;
}
.button--primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: 0 10px 24px rgba(224, 112, 0, 0.25);
}
.button--primary:hover,
.button--primary:focus-visible { background: #c96300; }
.button--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.section {
  padding-block: 4rem;
}
.section-heading {
  max-width: 48rem;
  margin-bottom: var(--space-2xl);
}
.section-heading--compact { margin-bottom: var(--space-lg); }
.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
}
.section-heading p,
.footer-copy,
.process-step p,
.process-feature__copy p,
.quality-copy p,
.scope-column li {
  color: var(--text-muted);
}
.section-kicker {
  display: inline-block;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.01em;
}
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
}

.services-hero {
  position: relative;
  min-height: min(86vh, 50rem);
  display: grid;
  align-items: stretch;
  overflow: clip;
}
.services-hero__media,
.services-hero__media img,
.services-hero__overlay {
  position: absolute;
  inset: 0;
}
.services-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}
.services-hero__overlay {
  background:
    linear-gradient(270deg, rgba(238, 242, 255, 0.96) 0%, rgba(238, 242, 255, 0.9) 34%, rgba(238, 242, 255, 0.46) 58%, rgba(238, 242, 255, 0.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.12));
}
.services-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: min(86vh, 50rem);
  padding-block: 6rem 4rem;
}
.services-hero__copy {
  width: min(100%, 42rem);
}
.services-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1.03;
  margin-bottom: var(--space-md);
  max-width: 12ch;
}
.services-hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  margin-bottom: var(--space-lg);
  max-width: 39rem;
}
.services-hero__labels {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-lg);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(224, 112, 0, 0.25);
}
.hero-points {
  list-style: none;
  display: grid;
  gap: var(--space-sm);
  max-width: 34rem;
}
.hero-points li {
  position: relative;
  padding-inline-start: 1.25rem;
  font-weight: 600;
}
.hero-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.6rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--primary);
}

.section--process {
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.92), rgba(255,255,255,0.92));
}
.process-grid {
  display: grid;
  gap: var(--space-xl);
}
.process-line {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-md);
}
.process-step {
  position: relative;
  padding-top: var(--space-md);
  border-top: 2px solid rgba(224, 112, 0, 0.2);
}
.process-step::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  inset-inline-start: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(224, 112, 0, 0.35);
}
.process-step__num {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-weight: 800;
}
.process-step h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.process-step--accent {
  border-top-color: var(--primary);
}
.process-step--accent::before {
  background: var(--primary);
  border-color: var(--primary);
}
.process-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.process-feature__media img,
.quality-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
}
.process-feature__copy h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
}
.process-feature__copy p + p { margin-top: var(--space-sm); }

.section--quality {
  background: var(--surface);
}
.quality-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.proof-list {
  list-style: none;
  display: grid;
  gap: var(--space-md);
  margin-block: var(--space-lg);
}
.proof-list li {
  position: relative;
  padding-inline-start: 1.5rem;
  font-weight: 600;
}
.proof-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
}
.technology-note {
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
  margin-top: var(--space-md);
}
.industry-note {
  margin-top: var(--space-sm);
  font-weight: 600;
}

.section--scope {
  background: transparent;
}
.scope-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}
.scope-column {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
}
.scope-column h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-lg);
}
.scope-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}
.scope-list li {
  padding: 0 0 0.8rem;
  border-bottom: 1px solid rgba(203, 213, 225, 0.9);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}
.scope-list li:hover,
.scope-list li:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--text);
}

.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copy {
  max-width: 34rem;
  color: rgba(255,255,255,0.7);
}
.footer-nav a { color: rgba(255,255,255,0.72); }
.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-nav a[aria-current='page'] {
  color: var(--surface);
}
.footer-contact {
  display: grid;
  gap: 0.35rem;
  text-align: left;
}
.footer-contact a {
  color: var(--surface);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 700ms ease forwards;
}
.reveal--2 { animation-delay: 80ms; }
.reveal--3 { animation-delay: 160ms; }
.reveal--4 { animation-delay: 240ms; }
.reveal--5 { animation-delay: 320ms; }
@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 72rem) {
  .quality-layout,
  .process-feature,
  .scope-matrix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 60rem) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .primary-nav,
  .footer-nav,
  .header-actions {
    justify-content: center;
  }
  .services-hero,
  .services-hero__inner {
    min-height: auto;
  }
  .services-hero__inner {
    padding-block: 5.5rem 3rem;
  }
  .services-hero__overlay {
    background: linear-gradient(180deg, rgba(238, 242, 255, 0.92) 0%, rgba(238, 242, 255, 0.86) 46%, rgba(238, 242, 255, 0.72) 100%);
  }
  .process-line {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .services-hero__media img { transform: none; }
}
