:root {
  --graphite: #3a3d42;
  --graphite-deep: #17191c;
  --graphite-ink: #101113;
  --graphite-soft: #6b6f75;
  --mist: #f0f0f0;
  --paper: #fafafa;
  --white: #ffffff;
  --line: #dcdcdc;
  --line-dark: rgba(255, 255, 255, 0.18);
  --glass: rgba(255, 255, 255, 0.88);
  --glass-dark: rgba(20, 20, 20, 0.78);
  --signal: #9aa0a6;
  --shadow: 0 22px 70px rgba(20, 20, 20, 0.16);
  --max: 1180px;
  --pad: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body.intro-lock {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

p {
  line-height: 1.68;
}

.logo-intro {
  --dock-x: 0px;
  --dock-y: 0px;
  --dock-scale: 0.2;
  display: none;
}

.js .logo-intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
}

.js .logo-intro::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 44%, rgba(218, 218, 218, 0.14), transparent 34%),
    linear-gradient(135deg, var(--graphite-ink), var(--graphite-deep));
  animation: intro-overlay 3.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-intro.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  animation: none;
}

.logo-intro__stage {
  position: relative;
  z-index: 1;
  width: min(760px, 82vw);
  aspect-ratio: 3661 / 1712;
  display: grid;
  place-items: center;
  transform-origin: center;
}

.logo-intro__stage::before {
  position: absolute;
  inset: 18% 4%;
  content: "";
  border-radius: 999px;
  background: rgba(218, 218, 218, 0.12);
  filter: blur(44px);
  opacity: 0;
  animation: intro-glow 2.45s ease forwards;
}

.logo-intro__wordmark-flow {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 22px 44px rgba(18, 18, 18, 0.24));
}

.logo-intro.is-docking .logo-intro__stage {
  animation: intro-dock 0.92s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-intro.is-docking .logo-intro__stage::before {
  animation: intro-glow-dock 0.72s ease forwards;
}

.logo-intro__part,
.logo-intro__part span {
  position: absolute;
  inset: 0;
  display: block;
}

.logo-intro__part {
  overflow: hidden;
  opacity: 0;
  transform: translateY(0);
  animation: intro-part 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-intro__part span {
  background: url("assets/logos/qubir-logo-wordmark-white-transparent.png") center / 100% 100% no-repeat;
  transform: translate(var(--intro-x, 0), var(--intro-y, 0));
  animation: intro-part-image 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.logo-intro__part--first {
  clip-path: inset(0 80% 0 0);
  animation-delay: 0.12s;
  --intro-y: 58%;
}

.logo-intro__part--first span {
  animation-delay: 0.12s;
}

.logo-intro__part--second {
  clip-path: inset(0 60% 0 18%);
  animation-delay: 0.72s;
  --intro-y: 18%;
  --intro-x: -2.5%;
}

.logo-intro__part--second span {
  animation-delay: 0.72s;
}

.logo-intro__part--third {
  clip-path: inset(0 46% 0 37%);
  animation-delay: 1.08s;
  --intro-y: -18%;
}

.logo-intro__part--third span {
  animation-delay: 1.08s;
}

.logo-intro__part--fourth {
  clip-path: inset(0 34% 0 50%);
  animation-delay: 1.4s;
  --intro-y: -20%;
}

.logo-intro__part--fourth span {
  animation-delay: 1.4s;
}

.logo-intro__part--fifth {
  clip-path: inset(0 24% 0 62%);
  animation-delay: 1.7s;
  --intro-y: 24%;
}

.logo-intro__part--fifth span {
  animation-delay: 1.7s;
}

.logo-intro__part--sixth {
  clip-path: inset(0 10% 0 70%);
  animation-delay: 1.98s;
  --intro-y: 22%;
  --intro-x: -2%;
}

.logo-intro__part--sixth span {
  animation-delay: 1.98s;
}

.logo-intro__part--last {
  clip-path: inset(0 0 0 82%);
  animation-delay: 2.28s;
  --intro-x: 6%;
}

.logo-intro__part--last span {
  animation-delay: 2.28s;
}

@keyframes intro-glow {
  0% {
    opacity: 0;
    transform: scaleX(0.72);
  }

  45% {
    opacity: 1;
  }

  100% {
    opacity: 0.64;
    transform: scaleX(1);
  }
}

@keyframes intro-part {
  0% {
    opacity: 0;
  }

  18%,
  100% {
    opacity: 1;
  }
}

@keyframes intro-part-image {
  0% {
    transform: translate(var(--intro-x, 0), var(--intro-y, 0));
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes intro-dock {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(var(--dock-x), var(--dock-y)) scale(var(--dock-scale));
  }
}

@keyframes intro-glow-dock {
  0% {
    opacity: 0.64;
    transform: scaleX(1);
  }

  100% {
    opacity: 0;
    transform: scaleX(0.24);
  }
}

@keyframes intro-overlay {
  0%,
  88% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    pointer-events: none;
  }
}

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

  .js .logo-intro {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    animation: none;
  }

  .js .logo-intro::before,
  .logo-intro__stage::before,
  .logo-intro__part,
  .logo-intro__part span {
    animation: none;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.reveal {
  --reveal-delay: 0ms;
}

.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(calc(100% - 28px), 1240px);
  min-height: 72px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 12px 16px;
  background: var(--glass);
  border: 1px solid rgba(20, 20, 20, 0.11);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(20, 20, 20, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}

.brand {
  width: 148px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
  filter: brightness(0) saturate(100%) invert(12%) sepia(48%) saturate(1217%) hue-rotate(177deg) brightness(93%) contrast(94%);
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--graphite-deep);
  font-size: 13px;
  font-weight: 650;
}

.nav a,
.footer a {
  text-decoration: none;
}

.nav a:hover,
.footer a:hover {
  color: var(--graphite);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch,
.menu-button {
  font: inherit;
}

.lang-switch {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 8px;
  background: var(--mist);
  color: var(--graphite-deep);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--graphite-deep);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(20, 20, 20, 0.16);
  border-radius: 8px;
  background: var(--mist);
}

.menu-button span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--graphite-deep);
}

.hero {
  position: relative;
  min-height: auto;
  display: block;
  padding: 194px var(--pad) 36px;
  overflow: visible;
  color: var(--white);
  background: url("assets/photos/legacy-production-base.webp") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(26, 26, 26, 0.64) 50%, rgba(250, 250, 250, 0.05) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.02) 0%, rgba(10, 10, 10, 0.44) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--signal);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(214, 216, 219, 0.86);
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(80px, 11vw, 156px);
  line-height: 0.9;
  font-weight: 780;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 820px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.hero-subtitle-main,
.hero-subtitle-detail {
  display: block;
}

.hero-subtitle-main {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(24px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 720;
}

.hero-subtitle-detail {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.6;
  font-weight: 500;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--signal);
  color: #101113;
}

.button-primary:hover {
  background: #c6c9cc;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-directions {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), var(--max));
  margin: 48px auto 0;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: 26px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 10, 0.7);
  box-shadow: 0 20px 54px rgba(14, 14, 14, 0.24);
  -webkit-backdrop-filter: blur(22px) saturate(125%);
  backdrop-filter: blur(22px) saturate(125%);
}

.hero-directions__head {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-directions__head span {
  display: block;
  margin-bottom: 10px;
  color: #c6c9cc;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-directions__head strong {
  display: block;
  max-width: 640px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(26px, 2.2vw, 35px);
  line-height: 1.08;
  font-weight: 760;
}

.hero-directions__head p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

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

.hero-directions article {
  min-height: 68px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-directions article span {
  display: block;
  margin: 2px 0 0;
  color: #c6c9cc;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.hero-directions article strong {
  display: block;
  max-width: none;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.24;
  font-weight: 720;
  overflow-wrap: break-word;
  hyphens: manual;
}

.section {
  padding: 96px var(--pad);
  scroll-margin-top: 132px;
}

.section-grid,
.section-head,
.service-showcase,
.advantage-grid,
.experts-grid,
.strategy-layout,
.partners-section,
.contact-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 68px;
  align-items: start;
}

h2 {
  margin-bottom: 0;
  font-size: 50px;
  line-height: 1.12;
  font-weight: 740;
}

h3 {
  font-size: 22px;
  line-height: 1.28;
  font-weight: 730;
}

.text-column p {
  margin-bottom: 18px;
  color: var(--graphite-soft);
  font-size: 16px;
}

.text-column p:last-child {
  margin-bottom: 0;
}

.about-section,
.advantage-section,
.experts-section,
.partners-section {
  background: var(--white);
}

.section-head {
  margin-bottom: 42px;
}

.section-head h2 {
  max-width: 820px;
  margin-bottom: 18px;
}

.section-head p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--graphite-soft);
  font-size: 16px;
}

.services-section {
  background: var(--graphite-deep);
  color: var(--white);
}

.services-section .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.service-feature {
  position: relative;
  min-width: 0;
  min-height: 540px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--graphite-ink);
  transition:
    transform 0.42s ease,
    box-shadow 0.42s ease;
}

.service-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.04) 0%, rgba(10, 10, 10, 0.86) 100%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.28), rgba(10, 10, 10, 0.02));
}

.service-feature > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.95);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
}

.service-feature__content {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 42px;
  z-index: 2;
  max-width: 560px;
}

.service-feature span,
.service-row span,
.process-step strong {
  display: inline-flex;
  color: var(--signal);
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
}

.service-feature span {
  margin-bottom: 18px;
}

.service-feature h3 {
  max-width: 520px;
  margin-bottom: 14px;
  color: var(--white);
  font-size: clamp(38px, 3.4vw, 54px);
  line-height: 1.02;
  font-weight: 780;
  overflow-wrap: break-word;
}

.service-feature p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.service-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-row {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 112px;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.service-row div {
  min-width: 0;
}

.service-row img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.88) contrast(0.96);
}

.service-row h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: 24px;
  line-height: 1.14;
  overflow-wrap: break-word;
}

.service-row p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.42;
}

@media (hover: hover) and (pointer: fine) {
  .service-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(18, 18, 18, 0.22);
  }

  .service-feature:hover > img {
    transform: scale(1.045);
    filter: saturate(1) contrast(1);
  }
}

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

.advantage-grid article {
  min-width: 0;
  min-height: 184px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.advantage-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--graphite-ink);
  font-size: 26px;
  line-height: 1.18;
  font-weight: 760;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.advantage-grid p {
  margin-bottom: 0;
  color: var(--graphite-soft);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.experts-section {
  padding-top: 78px;
}

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

.experts-grid article {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  min-height: 154px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.experts-grid strong {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--graphite-deep);
  color: var(--white);
  font-size: 17px;
  line-height: 1;
  font-weight: 760;
}

.experts-grid h3 {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.experts-grid p {
  margin-bottom: 0;
  color: var(--graphite-soft);
  overflow-wrap: anywhere;
  hyphens: auto;
}

.process-section {
  background:
    linear-gradient(180deg, rgba(240, 240, 240, 0.92), rgba(250, 250, 250, 1)),
    var(--mist);
}

.process-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 42px;
}

.process-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.82fr);
  gap: 72px;
  align-items: end;
}

.process-head p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--graphite-soft);
  font-size: 16px;
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  list-style: none;
}

.process-step {
  min-width: 0;
  min-height: 236px;
  padding: 26px 18px;
  border-left: 1px solid var(--line);
}

.process-step:first-child {
  border-left: 0;
}

.process-step.is-active {
  background: var(--graphite-deep);
  color: var(--white);
}

.process-step strong {
  margin-bottom: 22px;
}

.process-step h3 {
  margin-bottom: 14px;
  color: inherit;
  font-size: clamp(20px, 1.4vw, 23px);
  line-height: 1.16;
  overflow-wrap: break-word;
}

.process-step p {
  margin-bottom: 0;
  color: var(--graphite-soft);
  font-size: 13px;
  line-height: 1.52;
}

.process-step.is-active p {
  color: rgba(255, 255, 255, 0.72);
}

.process-step.is-active strong {
  color: #c6c9cc;
}

.process-step::after {
  display: block;
  width: 34px;
  height: 2px;
  margin-top: 22px;
  content: "";
  background: var(--line);
}

.process-step.is-active::after {
  background: var(--signal);
}

.strategy-section {
  background:
    radial-gradient(circle at 76% 8%, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #101113 0%, var(--graphite-deep) 100%);
  color: var(--white);
}

.strategy-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  gap: 52px;
}

.strategy-head {
  max-width: 760px;
}

.strategy-head h2 {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--white);
}

.strategy-head p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
}

.strategy-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 34px;
  align-items: start;
}

.strategy-layout .eyebrow,
.strategy-head .eyebrow {
  color: var(--signal);
}

.strategy-roadmap h2 {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 0.95;
}

.strategy-history,
.strategy-roadmap {
  min-width: 0;
}

.strategy-history {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.history-list {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 34px;
}

.history-list::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.history-list article {
  position: relative;
}

.history-list article::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
}

.history-list article.muted {
  opacity: 0.46;
}

.history-list article.muted::before {
  background: var(--graphite-soft);
}

.history-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--signal);
  font-size: 16px;
  line-height: 1.1;
  font-weight: 760;
}

.history-list h3,
.roadmap-list h3 {
  margin-bottom: 12px;
  color: var(--white);
}

.history-list p,
.roadmap-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.roadmap-list article {
  position: relative;
  min-width: 0;
  min-height: 244px;
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0.62;
}

.roadmap-list article:nth-child(2n + 1) {
  border-left: 0;
}

.roadmap-list article:nth-child(-n + 2) {
  border-top: 0;
}

.roadmap-list article.active {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.045);
  opacity: 1;
}

.roadmap-list article::after {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.12);
}

.roadmap-list article.active::after {
  background: var(--signal);
}

.roadmap-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--signal);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 760;
  text-transform: uppercase;
}

.roadmap-list h3 {
  font-size: clamp(22px, 1.8vw, 31px);
  line-height: 1.12;
  overflow-wrap: normal;
  hyphens: none;
}

.roadmap-list p {
  font-size: 14px;
  line-height: 1.56;
}

.partners-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.partners-intro {
  max-width: 780px;
  margin-bottom: 42px;
}

.partners-intro h2 {
  max-width: 690px;
  margin-bottom: 18px;
}

.partners-intro p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--graphite-soft);
  font-size: 16px;
}

.partners-content {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.partners-media {
  position: relative;
  min-width: 0;
}

.partners-media img {
  width: 100%;
  height: 100%;
  min-height: 610px;
  object-fit: cover;
  border-radius: 8px;
}

.partners-media-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(10, 10, 10, 0.66);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
  color: var(--white);
}

.partners-media-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--signal);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 780;
  text-transform: uppercase;
}

.partners-media-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 0.98;
  font-weight: 760;
}

.partners-media-card p {
  max-width: 440px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.partners-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.partner-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.partner-capabilities article {
  min-width: 0;
  min-height: 250px;
  padding: 28px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(240, 240, 240, 0.72), rgba(255, 255, 255, 0.92));
}

.partner-capabilities article:nth-child(2n + 1) {
  border-left: 0;
}

.partner-capabilities article:nth-child(-n + 2) {
  border-top: 0;
}

.partner-capabilities span {
  display: block;
  margin-bottom: 34px;
  color: var(--signal);
  font-size: 12px;
  line-height: 1;
  font-weight: 820;
}

.partner-capabilities h3 {
  margin-bottom: 12px;
  color: var(--graphite-deep);
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.12;
}

.partner-capabilities p {
  margin-bottom: 0;
  color: var(--graphite-soft);
  font-size: 14px;
  line-height: 1.58;
}

.partner-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.partner-tags span {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--white);
  color: var(--graphite-deep);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 760;
  text-align: center;
  text-transform: uppercase;
}

.contact-section {
  padding: 96px var(--pad);
  scroll-margin-top: 132px;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(26, 26, 26, 0.72)),
    url("assets/photos/legacy-pipe-yard.webp") center / cover no-repeat;
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.72fr);
  gap: 56px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.contact-card {
  min-width: 0;
  min-height: 148px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
  backdrop-filter: blur(18px) saturate(128%);
}

.contact-card--primary {
  min-height: 116px;
}

.contact-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--signal);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 780;
  text-transform: uppercase;
}

.contact-card a,
.contact-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.contact-card a {
  display: block;
  color: var(--white);
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 760;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
}

.spam-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-head h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 31px;
}

.form-head p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 720;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--graphite-ink);
  font: inherit;
  font-size: 15px;
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 42px;
  align-items: center;
  padding: 40px var(--pad);
  background: var(--graphite-ink);
  color: rgba(255, 255, 255, 0.72);
}

.footer img {
  width: 150px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.footer p,
.footer span {
  margin-bottom: 0;
  font-size: 13px;
}

.footer span {
  justify-self: end;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    width: 138px;
  }

  .menu-button {
    display: flex;
    justify-self: end;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .nav.open {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid rgba(218, 218, 218, 0.82);
    border-radius: 8px;
    background: var(--glass);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(22px) saturate(130%);
    backdrop-filter: blur(22px) saturate(130%);
  }

  .nav.open a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 8px;
  }

  h1 {
    max-width: 760px;
    font-size: 54px;
  }

  h2 {
    font-size: 42px;
  }

  .hero {
    min-height: auto;
    padding-top: 168px;
  }

  .hero-directions {
    gap: 20px;
  }

  .hero-directions__head {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-bottom: 1px solid rgba(218, 218, 218, 0.18);
  }

  .hero-directions__head strong {
    max-width: 560px;
    text-align: left;
  }

  .hero-directions__head p {
    max-width: 680px;
  }

  .hero-directions__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 26px;
  }

  .advantage-grid,
  .experts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-showcase {
    grid-template-columns: 1fr;
  }

  .service-feature {
    min-height: 520px;
  }

  .process-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .process-head p:not(.eyebrow) {
    max-width: 680px;
  }

  .process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-step {
    min-height: 218px;
  }

  .process-step:nth-child(3n + 1) {
    border-left: 0;
  }

  .process-step:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .strategy-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .strategy-head p:not(.eyebrow) {
    max-width: 720px;
  }

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

  .roadmap-list article:nth-child(2n + 1) {
    border-left: 0;
  }

  .roadmap-list article:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .partners-intro,
  .partners-content,
  .section-grid,
  .strategy-layout,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .partners-media img {
    min-height: 420px;
  }

  .partner-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  :root {
    --pad: 18px;
  }

  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), 1240px);
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand {
    width: 126px;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
    padding-bottom: 28px;
    background-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(20, 20, 20, 0.84) 68%, rgba(26, 26, 26, 0.5) 100%),
      linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.72) 100%);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(60px, 17vw, 84px);
    line-height: 0.92;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 34px;
    line-height: 1.16;
  }

  h3 {
    font-size: 19px;
  }

  .hero-lead,
  .section-head p:not(.eyebrow),
  .text-column p,
  .history-list p,
  .roadmap-list p,
  .partners-copy p:not(.eyebrow),
  .contact-copy p {
    font-size: 15px;
  }

  .hero-subtitle-main {
    max-width: 100%;
    font-size: clamp(23px, 7vw, 32px);
    line-height: 1.12;
  }

  .hero-subtitle-detail {
    max-width: 100%;
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.55;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .hero-directions {
    width: 100%;
    margin-top: 34px;
    padding: 18px;
    display: grid;
    gap: 18px;
    border-radius: 14px;
    overflow: hidden;
  }

  .hero-directions__head {
    display: block;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(218, 218, 218, 0.14);
  }

  .hero-directions__head span {
    margin-bottom: 9px;
  }

  .hero-directions__head strong {
    max-width: none;
    text-align: left;
    font-size: 23px;
  }

  .hero-directions__head p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-directions__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 0;
  }

  .hero-directions article {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    padding-top: 16px;
  }

  .hero-directions article span {
    margin-top: 2px;
    font-size: 11px;
  }

  .hero-directions article strong {
    max-width: none;
    font-size: 18px;
  }

  .section,
  .contact-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .advantage-grid,
  .experts-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 0;
    padding: 18px;
  }

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

  .process-step,
  .process-step:nth-child(3n + 1) {
    min-height: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-step:first-child {
    border-top: 0;
  }

  .process-step {
    padding: 22px;
  }

  .service-showcase {
    gap: 22px;
  }

  .service-feature {
    min-height: 430px;
  }

  .service-feature__content {
    left: 24px;
    right: 24px;
    bottom: 26px;
  }

  .service-feature h3 {
    font-size: 34px;
  }

  .service-feature p {
    font-size: 15px;
  }

  .service-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px 0;
  }

  .service-row img {
    display: none;
  }

  .service-row h3 {
    margin-bottom: 8px;
    font-size: 22px;
  }

  .advantage-grid article,
  .experts-grid article,
  .roadmap-list article {
    min-height: auto;
  }

  .strategy-shell {
    gap: 34px;
  }

  .strategy-head,
  .strategy-layout {
    gap: 28px;
  }

  .strategy-head p:not(.eyebrow) {
    font-size: 15px;
  }

  .strategy-history {
    padding: 22px;
  }

  .roadmap-list {
    grid-template-columns: 1fr;
  }

  .roadmap-list article,
  .roadmap-list article:nth-child(2n + 1) {
    min-height: 0;
    padding: 24px 22px 54px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .roadmap-list article:first-child {
    border-top: 0;
  }

  .roadmap-list span {
    margin-bottom: 14px;
  }

  .experts-grid article {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
  }

  .experts-grid strong {
    width: 46px;
    height: 46px;
  }

  .history-list {
    gap: 34px;
    padding-left: 34px;
  }

  .history-list article::before {
    left: -31px;
  }

  .partners-media img {
    min-height: 300px;
  }

  .partners-media-card {
    right: 14px;
    bottom: 14px;
    left: 14px;
    padding: 17px;
  }

  .partner-capabilities {
    grid-template-columns: 1fr;
  }

  .partner-capabilities article,
  .partner-capabilities article:nth-child(2n + 1) {
    min-height: 0;
    padding: 24px 22px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .partner-capabilities article:first-child {
    border-top: 0;
  }

  .partner-capabilities span {
    margin-bottom: 18px;
  }

  .partner-tags {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 16px;
  }

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

  .footer nav {
    justify-content: flex-start;
  }

  .footer span {
    justify-self: start;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 31px;
  }

  .hero-directions article strong {
    font-size: 17px;
  }
}
