:root {
  --ink: #162026;
  --muted: #5c6970;
  --paper: #f7f4ef;
  --white: #ffffff;
  --line: rgba(22, 32, 38, 0.13);
  --teal: #087d82;
  --deep-teal: #07545c;
  --coral: #d9684f;
  --gold: #c59b43;
  --green: #476a4f;
  --shadow: 0 24px 60px rgba(18, 32, 38, 0.16);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

.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;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 64px);
  color: var(--white);
  background: rgba(11, 19, 24, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 244, 239, 0.93);
  border-color: rgba(22, 32, 38, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: min(46vw, 420px);
}

.brand-logo {
  display: block;
  width: 58px;
  height: 42px;
  object-fit: contain;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
}

.brand-name,
.brand-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-name {
  font-weight: 800;
  line-height: 1;
}

.brand-line {
  margin-top: 3px;
  font-size: 0.78rem;
  color: currentColor;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(840px, 90svh);
  padding: calc(var(--header-height) + 72px) clamp(20px, 4vw, 64px) 72px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/hero-operations.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 16, 22, 0.94) 0%, rgba(8, 16, 22, 0.78) 36%, rgba(8, 16, 22, 0.18) 68%),
    linear-gradient(180deg, rgba(8, 16, 22, 0.54), rgba(8, 16, 22, 0.2) 45%, rgba(8, 16, 22, 0.8));
}

.hero-content {
  width: min(760px, 100%);
  align-self: end;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb09d;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8.2vw, 7.3rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 4.5rem);
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--coral);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #bf563f;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}

.credibility {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 64px);
  background: var(--paper);
}

.metric {
  min-height: 132px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(18, 32, 38, 0.09);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  margin-bottom: 8px;
  color: var(--deep-teal);
  font-size: clamp(1.8rem, 3vw, 3.15rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-weight: 700;
}

.section-band {
  background:
    linear-gradient(120deg, rgba(8, 125, 130, 0.08), transparent 34%),
    var(--paper);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 104px);
  align-items: start;
}

.intro p:last-child,
.section-copy,
.proof-points p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.services {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 900px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-card,
.industry-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: clamp(24px, 4vw, 44px);
  color: var(--white);
  background: var(--ink);
}

.feature-card {
  background:
    linear-gradient(135deg, rgba(8, 125, 130, 0.28), transparent 38%),
    var(--ink);
}

.accent-card {
  background:
    linear-gradient(135deg, rgba(217, 104, 79, 0.3), transparent 38%),
    #26341f;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 44px;
}

.service-number {
  color: rgba(255, 255, 255, 0.54);
  font-weight: 900;
}

.status-pill,
.industry-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.service-card p,
.service-card li {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 20px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
  counter-reset: service-items;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  width: 22px;
  color: #70d7bc;
  content: counter(service-items, decimal-leading-zero);
  counter-increment: service-items;
  font-size: 0.76rem;
  font-weight: 900;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.managed-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: managed-services;
}

.managed-grid li {
  position: relative;
  min-height: 250px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(18, 32, 38, 0.1);
}

.managed-grid li::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 34px;
  color: var(--white);
  content: counter(managed-services, decimal-leading-zero);
  counter-increment: managed-services;
  background: var(--coral);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.managed-grid li:nth-child(2n)::before {
  background: var(--deep-teal);
}

.managed-grid li:nth-child(3n)::before {
  background: var(--green);
}

.managed-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 900;
}

.managed-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.industry-card {
  min-height: 300px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.78);
}

.industry-tag {
  margin-bottom: 58px;
  color: var(--deep-teal);
  background: rgba(8, 125, 130, 0.1);
}

.industry-card:nth-child(2) .industry-tag {
  color: #8d4b35;
  background: rgba(217, 104, 79, 0.12);
}

.industry-card:nth-child(3) .industry-tag {
  color: #596017;
  background: rgba(197, 155, 67, 0.16);
}

.industry-card p {
  color: var(--muted);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: capabilities;
}

.capability-grid li {
  position: relative;
  min-height: 230px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(18, 32, 38, 0.1);
}

.capability-grid li::before {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 34px;
  color: var(--white);
  content: counter(capabilities, decimal-leading-zero);
  counter-increment: capabilities;
  background: var(--deep-teal);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.capability-grid li:nth-child(2n)::before {
  background: var(--coral);
}

.capability-grid li:nth-child(3n)::before {
  background: var(--green);
}

.capability-grid span {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 900;
}

.capability-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.approach {
  background: var(--white);
}

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

.timeline {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: approach;
}

.timeline li {
  position: relative;
  padding: 24px 24px 24px 82px;
  background: #f9faf7;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.timeline li::before {
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  content: counter(approach, decimal-leading-zero);
  counter-increment: approach;
  background: var(--deep-teal);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
}

.timeline span {
  display: block;
  margin-bottom: 4px;
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 96px);
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.proof-list span {
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 125, 130, 0.34), transparent 42%),
    #111a1f;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy .eyebrow {
  color: #ffb09d;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

address {
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: #344048;
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8f8f4;
  border: 1px solid rgba(22, 32, 38, 0.16);
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8, 125, 130, 0.14);
}

.form-button {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--deep-teal);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #0b1115;
}

.footer-inner {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-inner p {
  margin-bottom: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 800;
}

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

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 10px;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-media {
    background-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 16, 22, 0.93), rgba(8, 16, 22, 0.62)),
      linear-gradient(180deg, rgba(8, 16, 22, 0.38), rgba(8, 16, 22, 0.86));
  }

  .credibility,
  .service-grid,
  .industry-grid,
  .managed-grid,
  .capability-grid,
  .split,
  .proof-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 112px;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand-logo {
    width: 52px;
    height: 38px;
  }

  .brand-line {
    display: none;
  }

  .brand {
    max-width: min(62vw, 310px);
  }

  .hero {
    min-height: 84svh;
    padding-inline: 18px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section-inner {
    width: min(100% - 32px, 1180px);
    padding-block: 64px;
  }

  .service-card,
  .industry-card,
  .managed-grid li,
  .capability-grid li,
  .contact-form {
    padding: 22px;
  }

  .card-topline {
    margin-bottom: 32px;
  }

  .industry-tag {
    margin-bottom: 36px;
  }

  .timeline li {
    padding: 78px 20px 20px;
  }

  .timeline li::before {
    top: 20px;
    left: 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
