:root {
  color-scheme: dark;
  --black: #030403;
  --black-2: #070b08;
  --panel: rgba(20, 27, 25, 0.86);
  --panel-strong: #111816;
  --panel-line: rgba(255, 255, 255, 0.17);
  --green: #35ff16;
  --green-2: #20d80e;
  --green-3: #0d8c05;
  --white: #ffffff;
  --muted: #a8afab;
  --dark-text: #111512;
  --light-text: #5d645f;
  --light-bg: #f5f7f5;
  --light-line: #dce4de;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  --container: 1672px;
  --side-gutter: clamp(40px, 11.48vw, 166px);
  --header-height: 92px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--green);
  color: #041004;
  font-weight: 800;
  transition: transform 180ms ease;
}

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

.container {
  width: min(100% - var(--side-gutter), var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: linear-gradient(180deg, rgba(1, 2, 1, 0.96), rgba(1, 2, 1, 0.42), rgba(1, 2, 1, 0));
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-height);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 154px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(53, 255, 22, 0.24));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  margin-left: clamp(42px, calc(18.8vw - 135px), 220px);
  color: #e8ede9;
  font-size: 10px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 35px 0 30px;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 25px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
  box-shadow: 0 0 12px rgba(53, 255, 22, 0.85);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--green);
}

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

.header-cta {
  flex: 0 0 auto;
  margin-left: auto;
  width: clamp(158px, 11.3vw, 213px);
  min-width: 0;
  padding-inline: 12px;
  gap: 8px;
  font-size: clamp(9px, 0.58vw, 11px);
}

.header-cta svg {
  width: clamp(14px, 0.95vw, 18px);
  height: clamp(14px, 0.95vw, 18px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(53, 255, 22, 0.5);
  border-radius: 6px;
  background: rgba(7, 16, 10, 0.9);
  color: var(--green);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #51ff1b, #23df0d);
  color: #031003;
  box-shadow: 0 0 26px rgba(53, 255, 22, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-primary:hover {
  box-shadow: 0 0 34px rgba(53, 255, 22, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-secondary {
  background: rgba(3, 5, 4, 0.5);
  color: #f7fbf8;
  border-color: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 22px rgba(53, 255, 22, 0.16);
}

.button-outline-dark {
  min-height: 44px;
  color: var(--dark-text);
  border-color: rgba(6, 89, 8, 0.75);
  background: rgba(255, 255, 255, 0.68);
}

.button-outline-dark:hover {
  color: #052004;
  border-color: var(--green-2);
  box-shadow: 0 14px 30px rgba(13, 140, 5, 0.15);
}

.button-icon,
.button svg {
  width: 18px;
  height: 18px;
}

.hero {
  position: relative;
  min-height: 440px;
  isolation: isolate;
  overflow: hidden;
  background: #010201;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #010201 0%, #010201 37%, rgba(1, 2, 1, 0.42) 50%, rgba(1, 2, 1, 0.02) 72%),
    linear-gradient(180deg, rgba(1, 2, 1, 0.7), rgba(1, 2, 1, 0.02) 50%, rgba(1, 2, 1, 0.52));
}

.hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 34%;
  right: 0;
  z-index: -2;
  width: auto;
  background-image: image-set(
    url("assets/hero-city-dashboard.webp") type("image/webp"),
    url("assets/hero-city-dashboard.png") type("image/png")
  );
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  opacity: 1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 2, 1, 0.55), rgba(1, 2, 1, 0.03) 42%, rgba(1, 2, 1, 0.04) 100%);
}

.hero-grid {
  min-height: 440px;
  display: grid;
  align-items: start;
  padding: 127px 0 26px;
}

.hero-copy {
  width: 420px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 12px;
  max-width: 390px;
  color: #fff;
  font-size: 42px;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span,
.section-dark .section-heading h2 span {
  color: var(--green);
}

h1 span {
  display: block;
}

.hero-lede {
  max-width: 344px;
  margin-bottom: 18px;
  color: #d1d7d3;
  font-size: 12px;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 23px;
}

.hero-actions .button {
  min-height: 36px;
  padding: 0 12px;
  gap: 8px;
  font-size: 9px;
}

.hero-actions .button svg {
  width: 14px;
  height: 14px;
}

.assurance-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 420px;
  max-width: none;
}

.assurance-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #f2f7f3;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
}

.mini-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  box-shadow: 0 0 14px rgba(53, 255, 22, 0.2);
}

.mini-icon svg {
  width: 16px;
  height: 16px;
}

.trusted-strip {
  position: relative;
  overflow: hidden;
  padding: 15px 0 16px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.96)),
    image-set(
      url("assets/light-circuit-bg.webp") type("image/webp"),
      url("assets/light-circuit-bg.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #6e7470;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.trusted-strip h2 {
  margin: 0 0 18px;
  color: #4f5651;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 24px;
}

.text-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 24px;
  color: #808681;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.text-logo small {
  display: block;
  margin-top: 3px;
  font-size: 6px;
  font-weight: 800;
}

.text-logo svg {
  width: 24px;
  height: 24px;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 32px 0;
}

.services {
  padding: 18px 0 22px;
}

.about {
  padding: 9px 0 11px;
}

.case-study {
  padding: 12px 0;
}

.section-dark {
  background-image:
    linear-gradient(90deg, rgba(3, 5, 4, 0.94), rgba(3, 5, 4, 0.86)),
    image-set(
      url("assets/dark-circuit-bg.webp") type("image/webp"),
      url("assets/dark-circuit-bg.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.section-light {
  background-image:
    linear-gradient(90deg, rgba(249, 250, 249, 0.94), rgba(255, 255, 255, 0.96)),
    image-set(
      url("assets/light-circuit-bg.webp") type("image/webp"),
      url("assets/light-circuit-bg.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--dark-text);
}

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

.section-heading h2,
.about-copy h2,
.process-intro h2,
.case-copy h2,
.cta-band h2 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  height: 179px;
  min-height: 0;
  padding: 12px 11px 12px;
  border: 1px solid var(--panel-line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(31, 39, 37, 0.92), rgba(15, 21, 19, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.service-card h3 {
  min-height: 27px;
  margin: 9px 0 6px;
  color: #fff;
  font-size: 11px;
  line-height: 1.22;
  letter-spacing: 0;
}

.service-card p {
  margin-bottom: 9px;
  color: #c3cac6;
  font-size: 9px;
  line-height: 1.36;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: #eaf1ed;
  font-size: 9px;
  font-weight: 800;
}

.service-card a svg {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.hex-icon,
.process-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--green);
}

.hex-icon::before,
.process-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 255, 13, 0.05);
  clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%);
  border: 1px solid var(--green);
  box-shadow: 0 0 15px rgba(53, 255, 22, 0.14);
}

.hex-icon svg,
.process-icon svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(42px, 4.8vw, 92px);
  align-items: center;
  justify-content: start;
}

.stats-grid {
  width: 100%;
  max-width: none;
}

.about-copy p {
  max-width: 265px;
  color: var(--light-text);
  font-size: 9px;
  line-height: 1.35;
}

.check-list {
  display: grid;
  gap: 5px;
  margin: 10px 0 12px;
  padding: 0;
  list-style: none;
  color: #59615b;
  font-size: 8px;
  font-weight: 650;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-list svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--green-2);
}

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

.stat-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 15px;
  align-items: start;
  min-height: 92px;
  padding: 13px 16px;
  border: 1px solid rgba(5, 20, 8, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 40px rgba(10, 22, 14, 0.08);
}

.stat-card .hex-icon {
  color: var(--green-2);
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-2);
  font-size: 23px;
  line-height: 1;
}

.stat-card h3 {
  margin-bottom: 6px;
  color: #151915;
  font-size: 10px;
  line-height: 1.2;
}

.stat-card p {
  margin: 0;
  color: #626964;
  font-size: 8px;
  line-height: 1.42;
}

.process {
  padding: 15px 0 16px;
}

.process-grid {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 30px;
  align-items: center;
}

.process-intro h2 {
  max-width: 240px;
  font-size: 22px;
}

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

.process-steps li {
  position: relative;
}

.process-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: calc(50% + 27px);
  width: calc(100% - 21px);
  border-top: 1px dashed rgba(53, 255, 22, 0.64);
}

.process-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 2px;
}

.process-icon svg {
  width: 23px;
  height: 23px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin: -1px auto 5px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background: #111713;
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

.process-steps h3 {
  margin-bottom: 6px;
  font-size: 11px;
}

.process-steps p {
  margin: 0;
  color: #b8c0bb;
  font-size: 8px;
  line-height: 1.34;
}

.case-grid {
  display: grid;
  grid-template-columns: 242px 306px 220px;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}

.case-copy p {
  max-width: 240px;
  color: #626964;
  font-size: 8px;
  line-height: 1.42;
}

.case-copy h2 {
  font-size: 19px;
  line-height: 1.05;
  margin-bottom: 7px;
}

.case-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1.77;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.case-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.case-image picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-mark {
  position: absolute;
  left: 19px;
  bottom: 14px;
  width: 51px;
  height: 51px;
}

.outcome-card {
  padding: 12px 15px;
  border: 1px solid rgba(5, 20, 8, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(10, 22, 14, 0.08);
}

.outcome-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #626964;
  font-size: 9px;
  line-height: 1.25;
}

.outcome-card svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--green-2);
}

.outcome-card strong {
  display: block;
  color: #151915;
  font-size: 13px;
  line-height: 1.05;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 11px 0;
  background-image:
    linear-gradient(90deg, rgba(2, 29, 4, 0.96), rgba(3, 99, 16, 0.9), rgba(3, 26, 4, 0.96)),
    image-set(
      url("assets/dark-circuit-bg.webp") type("image/webp"),
      url("assets/dark-circuit-bg.png") type("image/png")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: center;
}

.cta-mark {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 0 22px rgba(53, 255, 22, 0.42));
}

.cta-band h2 {
  max-width: 330px;
  margin-bottom: 4px;
  font-size: 20px;
}

.cta-band p {
  max-width: 360px;
  font-size: 9px;
  margin: 0;
  color: #d8e2da;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 5px 0 7px;
  background: #010201;
  color: #c2cac4;
}

.site-footer::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 14px;
  width: 50px;
  height: 50px;
  background: url("assets/blaq-code-bc-icon-green.png") center/contain no-repeat;
  opacity: 0.75;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.78fr 0.82fr 0.78fr 1fr;
  gap: 18px;
  align-items: start;
}

.footer-brand img {
  width: 88px;
  height: auto;
  margin-bottom: 8px;
}

.footer-brand p {
  max-width: 135px;
  margin-bottom: 8px;
  color: #aab4ad;
  font-size: 7px;
  line-height: 1.25;
}

.copyright {
  color: #7d857f;
}

.site-footer h2 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-footer nav,
.contact-list {
  display: grid;
  gap: 2px;
  margin: 0;
  font-style: normal;
}

.site-footer a {
  color: #c2cac4;
  font-size: 7px;
  line-height: 1.28;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--green);
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-list svg {
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  color: var(--green);
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.socials a,
.socials span {
  color: var(--green);
  font-size: 10px;
  font-weight: 900;
}

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

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

.not-found {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  background:
    linear-gradient(90deg, rgba(3, 5, 4, 0.94), rgba(3, 5, 4, 0.86)),
    image-set(
      url("assets/dark-circuit-bg.webp") type("image/webp"),
      url("assets/dark-circuit-bg.png") type("image/png")
    ) center/cover no-repeat;
  text-align: center;
}

.not-found img {
  width: 180px;
  height: auto;
  margin-bottom: 20px;
}

.not-found h1 {
  margin-bottom: 12px;
  font-size: 44px;
}

.not-found p {
  max-width: 440px;
  color: #d1d7d3;
}

@media (min-width: 1200px) {
  .site-nav {
    font-size: 12px;
    gap: 26px;
  }

  .button {
    min-height: 50px;
    padding-inline: 22px;
    font-size: 13px;
  }

  .button-icon,
  .button svg {
    width: 21px;
    height: 21px;
  }

  .header-cta {
    width: 255px;
    font-size: 13px;
  }

  .hero {
    min-height: 540px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, #010201 0%, #010201 34%, rgba(1, 2, 1, 0.48) 48%, rgba(1, 2, 1, 0.03) 72%),
      linear-gradient(180deg, rgba(1, 2, 1, 0.66), rgba(1, 2, 1, 0.02) 50%, rgba(1, 2, 1, 0.48));
  }

  .hero-grid {
    min-height: 540px;
    padding: 145px 0 42px;
  }

  .hero-copy {
    width: 540px;
  }

  .eyebrow {
    font-size: 13px;
  }

  h1 {
    max-width: 520px;
    font-size: 51px;
  }

  .hero-lede {
    max-width: 440px;
    font-size: 15px;
    line-height: 1.45;
  }

  .hero-actions {
    margin-bottom: 30px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-inline: 16px;
    font-size: 11px;
  }

  .assurance-row {
    width: 540px;
  }

  .assurance-item {
    font-size: 11px;
  }

  .mini-icon {
    width: 34px;
    height: 34px;
  }

  .mini-icon svg {
    width: 19px;
    height: 19px;
  }

  .trusted-strip h2 {
    font-size: 11px;
  }

  .text-logo {
    font-size: 15px;
  }

  .text-logo small {
    font-size: 7px;
  }

  .section-heading h2,
  .about-copy h2,
  .process-intro h2,
  .case-copy h2,
  .cta-band h2 {
    font-size: 29px;
  }

  .services {
    padding: 26px 0 30px;
  }

  .service-card {
    height: 218px;
    padding: 17px 15px 15px;
  }

  .service-card h3 {
    font-size: 13px;
  }

  .service-card p,
  .service-card a {
    font-size: 11px;
  }

  .hex-icon {
    width: 54px;
    height: 54px;
  }

  .hex-icon svg {
    width: 26px;
    height: 26px;
  }

  .about {
    padding: 18px 0 22px;
  }

  .about-copy p {
    font-size: 11px;
    line-height: 1.4;
  }

  .check-list {
    font-size: 10px;
  }

  .stat-card {
    min-height: 112px;
    padding: 16px 20px;
  }

  .stat-card strong {
    font-size: 28px;
  }

  .stat-card h3 {
    font-size: 12px;
  }

  .stat-card p {
    font-size: 10px;
  }

  .process {
    padding: 22px 0 24px;
  }

  .process-intro h2 {
    font-size: 26px;
  }

  .process-icon {
    width: 60px;
    height: 60px;
  }

  .process-icon svg {
    width: 28px;
    height: 28px;
  }

  .process-steps h3 {
    font-size: 13px;
  }

  .process-steps p {
    font-size: 10px;
  }

  .case-copy h2 {
    font-size: 23px;
  }

  .case-copy p,
  .outcome-card li {
    font-size: 10px;
  }

  .outcome-card strong {
    font-size: 15px;
  }

  .case-grid {
    grid-template-columns: 330px minmax(520px, 620px) minmax(280px, 320px);
    gap: 40px;
    justify-content: start;
  }

  .case-image {
    width: 100%;
  }

  .outcome-card {
    align-self: center;
    width: 100%;
  }

  .cta-band h2 {
    font-size: 24px;
  }

  .cta-band p {
    font-size: 11px;
  }

  .site-footer h2,
  .site-footer a,
  .footer-brand p {
    font-size: 12px;
  }

  .site-footer {
    padding: 22px 0 24px;
  }

  .footer-brand img {
    width: 118px;
  }

  .footer-brand p {
    max-width: 220px;
    line-height: 1.42;
  }

  .site-footer h2 {
    margin-bottom: 9px;
  }

  .site-footer nav,
  .contact-list {
    gap: 5px;
  }

  .contact-list svg {
    width: 15px;
    height: 15px;
  }

  .socials span {
    font-size: 14px;
  }
}

@media (min-width: 1600px) {
  .case-grid {
    grid-template-columns: 330px minmax(640px, 1fr) 320px;
    gap: 40px;
  }

  .case-image {
    height: 320px;
    aspect-ratio: auto;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 78px;
    --side-gutter: 36px;
  }

  .container {
    width: min(100% - var(--side-gutter), var(--container));
  }

  .header-inner {
    gap: 16px;
  }

  .brand img {
    width: 122px;
  }

  .site-nav {
    gap: 17px;
    font-size: 12px;
  }

  .header-cta {
    padding-inline: 14px;
  }

  .hero-copy {
    width: min(500px, 52%);
  }

  h1 {
    font-size: 42px;
  }

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

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

  .process-intro h2 {
    max-width: 620px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  body.nav-open {
    overflow: hidden;
  }

  .site-header {
    position: sticky;
    background: rgba(3, 4, 3, 0.94);
    backdrop-filter: blur(14px);
  }

  .header-inner {
    justify-content: space-between;
  }

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

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    justify-content: stretch;
    padding: 12px;
    border: 1px solid rgba(53, 255, 22, 0.28);
    border-radius: 8px;
    background: rgba(5, 8, 6, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .site-nav a {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    bottom: 8px;
    left: 12px;
    right: auto;
    width: 42px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 420px;
    opacity: 1;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(1, 2, 1, 0.04), #010201 55%);
  }

  .hero-grid {
    min-height: 0;
    padding: 42px 0 56px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: 48px;
  }

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

  .assurance-row,
  .logo-row,
  .stats-grid,
  .case-grid,
  .cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .process-steps li:not(:last-child)::after {
    display: none;
  }

  .case-grid {
    align-items: stretch;
  }

  .case-image {
    order: 3;
    grid-column: 1 / -1;
  }

  .cta-grid {
    gap: 18px;
  }

  .cta-grid .button {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (max-width: 640px) {
  :root {
    --side-gutter: 28px;
  }

  .container {
    width: min(100% - var(--side-gutter), var(--container));
  }

  .site-header {
    min-height: 72px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 116px;
  }

  .site-nav {
    top: 72px;
  }

  .hero-media {
    height: 330px;
    background-position: 62% center;
  }

  h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .about-copy h2,
  .process-intro h2,
  .case-copy h2,
  .cta-band h2 {
    font-size: 30px;
  }

  .hero-actions,
  .assurance-row,
  .logo-row,
  .service-grid,
  .stats-grid,
  .process-steps,
  .case-grid,
  .cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .assurance-row {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 50px;
    white-space: normal;
    text-align: center;
  }

  .assurance-row {
    gap: 14px;
  }

  .assurance-item {
    min-height: 42px;
  }

  .section {
    padding: 58px 0;
  }

  .service-card {
    min-height: 210px;
  }

  .stat-card {
    grid-template-columns: 62px 1fr;
    padding: 24px 22px;
  }

  .cta-mark {
    width: 86px;
    height: 86px;
  }

  .site-footer::after {
    opacity: 0.3;
  }
}

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

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