:root {
  color-scheme: light;
  --ink: #18211f;
  --muted: #5d6864;
  --line: #d8dedb;
  --paper: #ffffff;
  --soft: #f4f7f3;
  --mist: #e7efe9;
  --teal: #087f7c;
  --teal-dark: #045d5b;
  --amber: #c98218;
  --red: #b64a3a;
  --shadow: 0 18px 48px rgba(24, 33, 31, 0.12);
  --radius: 8px;
  --max: 1180px;
  --header: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 0 clamp(18px, 4vw, 52px);
  color: #fff;
  transition: background 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(24, 33, 31, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  margin-left: auto;
  font-size: 14px;
  font-weight: 680;
}

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

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  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;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.language-switcher a,
.language-switcher button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher a[aria-current="true"],
.language-switcher button[aria-pressed="true"] {
  color: var(--ink);
  background: #fff;
}

.site-header.is-scrolled .language-switcher a[aria-current="true"],
.site-header.nav-active .language-switcher a[aria-current="true"],
.site-header.is-scrolled .language-switcher button[aria-pressed="true"],
.site-header.nav-active .language-switcher button[aria-pressed="true"] {
  color: #fff;
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0f1f20;
  isolation: isolate;
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  opacity: 0.52;
  background-image:
    linear-gradient(rgba(142, 227, 216, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(142, 227, 216, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 74% 34%, rgba(8, 127, 124, 0.42), transparent 28%);
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 100%);
}

.hero::after {
  position: absolute;
  inset: auto -12% -32% 34%;
  z-index: 1;
  height: 360px;
  content: "";
  background: radial-gradient(closest-side, rgba(201, 130, 24, 0.32), transparent 74%);
  filter: blur(8px);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 19, 19, 0.92) 0%, rgba(7, 19, 19, 0.72) 42%, rgba(7, 19, 19, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 19, 19, 0.88), rgba(7, 19, 19, 0.12) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(330px, 0.62fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 190px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8ee3d8;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 760;
}

.button-primary {
  background: var(--amber);
  color: #21180a;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 720px;
  margin-top: 26px;
}

.hero-capabilities span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(142, 227, 216, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 720;
}

.hero-intelligence {
  position: relative;
  min-height: 430px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(142, 227, 216, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(12, 28, 29, 0.58);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-intelligence::before {
  position: absolute;
  inset: 66px 22px auto auto;
  width: 126px;
  height: 126px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 227, 216, 0.38), transparent 62%);
}

.hero-panel-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-panel-header span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero-panel-header strong {
  color: #fff;
  font-size: 18px;
}

.route-map {
  position: relative;
  z-index: 1;
  height: 218px;
  margin: 22px 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 58% 48%, rgba(142, 227, 216, 0.28), transparent 9%),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
}

.route-dot,
.route-line {
  position: absolute;
  display: block;
}

.route-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8ee3d8;
  box-shadow: 0 0 0 8px rgba(142, 227, 216, 0.12), 0 0 24px rgba(142, 227, 216, 0.68);
}

.route-dot-a {
  left: 18%;
  top: 58%;
}

.route-dot-b {
  left: 56%;
  top: 42%;
}

.route-dot-c {
  right: 16%;
  top: 28%;
  background: var(--amber);
  box-shadow: 0 0 0 8px rgba(201, 130, 24, 0.14), 0 0 24px rgba(201, 130, 24, 0.68);
}

.route-line {
  height: 1px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(142, 227, 216, 0.08), rgba(142, 227, 216, 0.86), rgba(201, 130, 24, 0.6));
}

.route-line-a {
  left: 20%;
  top: 59%;
  width: 40%;
  transform: rotate(-16deg);
}

.route-line-b {
  left: 58%;
  top: 43%;
  width: 28%;
  transform: rotate(-23deg);
}

.hero-status {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 0;
}

.hero-status div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-status dt {
  color: rgba(142, 227, 216, 0.86);
  font-size: 12px;
  font-weight: 820;
}

.hero-status dd {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 720;
}

.hero-metrics {
  position: absolute;
  right: clamp(20px, 4vw, 52px);
  bottom: 34px;
  left: clamp(20px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  z-index: 2;
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  border: 1px solid rgba(142, 227, 216, 0.22);
  border-radius: 8px;
  background: rgba(7, 19, 19, 0.5);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics dt {
  color: #fff;
  font-size: 32px;
  font-weight: 820;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 98px 0;
}

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

.section-heading p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.services {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 260px;
  padding: 30px;
  background: var(--paper);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 46px;
  color: var(--red);
  font-size: 13px;
  font-weight: 820;
}

.service-card p,
.industry-item p,
.about-content p,
.process-list p,
.contact-panel p {
  color: var(--muted);
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: stretch;
}

.industry-feature {
  display: grid;
  min-height: 560px;
  align-content: end;
  overflow: hidden;
  position: relative;
  color: #fff;
  background: #24312e;
}

.industry-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.industry-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(24, 33, 31, 0.88), rgba(24, 33, 31, 0.08) 62%);
}

.industry-feature div {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 38px;
}

.industry-feature p:last-child {
  color: rgba(255, 255, 255, 0.8);
}

.industry-list {
  display: grid;
  gap: 18px;
}

.industry-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  column-gap: 20px;
  align-items: center;
  min-height: 174px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.industry-item img {
  grid-row: 1 / span 2;
  width: 140px;
  height: 118px;
  object-fit: cover;
  border-radius: 6px;
}

.industry-item h3,
.industry-item p {
  grid-column: 2;
}

.industry-item h3 {
  align-self: end;
}

.industry-item p {
  align-self: start;
  margin-bottom: 0;
}

.cases {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: #eef2ed;
}

.case-rail {
  display: grid;
  grid-auto-columns: minmax(300px, 1fr);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.case-card {
  min-width: 0;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
}

.case-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.case-card figcaption {
  min-height: 92px;
  padding: 18px;
  font-weight: 720;
}

.case-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 13px;
}

.case-card .caption-title {
  margin-bottom: 0;
  color: var(--ink);
  font-size: inherit;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff 0%, #f6f8f5 100%);
}

.process-list span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--amber);
  font-weight: 820;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 54px;
  align-items: center;
}

.about-media {
  min-height: 560px;
}

.about-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-content p {
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

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

.check-list li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 16px;
  height: 16px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 5px #cce9e4;
}

.contact {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--max)) / 2));
  padding-left: max(20px, calc((100% - var(--max)) / 2));
  background: var(--ink);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 44px;
  align-items: start;
  color: #fff;
}

.contact-panel h2 {
  max-width: 680px;
}

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

address {
  display: grid;
  gap: 12px;
  padding: 28px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-style: normal;
}

address strong {
  font-size: 22px;
}

address span,
address a {
  color: rgba(255, 255, 255, 0.78);
}

address a:hover,
address a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(20px, calc((100% - var(--max)) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: #111815;
  font-size: 14px;
}

.site-footer a {
  color: #fff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .hero {
    min-height: 920px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 132px 0 230px;
  }

  .hero-intelligence {
    max-width: 560px;
    min-height: 360px;
  }

  .route-map {
    height: 168px;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-layout,
  .about,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .industry-feature {
    min-height: 480px;
  }

  .about-media,
  .about-media img {
    min-height: 0;
    height: 430px;
  }
}

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

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 32px rgba(24, 33, 31, 0.12);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 920px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(7, 19, 19, 0.95), rgba(7, 19, 19, 0.38)),
      linear-gradient(90deg, rgba(7, 19, 19, 0.82), rgba(7, 19, 19, 0.2));
  }

  .hero-content {
    width: calc(100% - 36px);
    gap: 22px;
    padding: 104px 0 300px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-capabilities {
    gap: 8px;
    margin-top: 20px;
  }

  .hero-capabilities span {
    min-height: 32px;
    font-size: 12px;
  }

  .hero-intelligence {
    min-height: 300px;
    padding: 18px;
  }

  .hero-panel-header {
    padding-bottom: 14px;
  }

  .route-map {
    height: 124px;
    margin: 16px 0;
  }

  .hero-status div {
    grid-template-columns: 74px minmax(0, 1fr);
    min-height: 42px;
    padding: 0 10px;
  }

  .hero-status dt {
    font-size: 11px;
  }

  .hero-status dd {
    font-size: 13px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 16px 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .section {
    width: calc(100% - 36px);
    padding: 72px 0;
  }

  .services,
  .cases,
  .contact {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .service-card,
  .process-list li {
    min-height: 0;
  }

  .industry-feature {
    min-height: 420px;
  }

  .industry-feature div {
    padding: 24px;
  }

  .industry-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .industry-item img {
    width: 112px;
    height: 104px;
  }

  .industry-item h3 {
    font-size: 18px;
  }

  .industry-item p {
    font-size: 14px;
  }

  .case-rail {
    grid-auto-columns: minmax(280px, 88vw);
  }

  .case-card img {
    height: 280px;
  }

  .about-media,
  .about-media img {
    height: 310px;
  }

  .contact-panel {
    gap: 24px;
  }

  address {
    padding: 20px;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
