:root {
  --ink: #071f4d;
  --text: #1d2f4f;
  --muted: #687388;
  --paper: #f7f9fd;
  --white: #ffffff;
  --line: #dce4f1;
  --mk-navy: #071f4d;
  --mk-navy-soft: #11366f;
  --mk-orange: #f59a00;
  --mk-orange-soft: #fff0cf;
  --mk-red: #e84232;
  --mk-red-dark: #aa261d;
  --mk-sky: #eef5ff;
  --stone: #edf2f8;
  --shadow: 0 22px 60px rgba(7, 31, 77, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 242, 234, 0.94);
  color: var(--ink);
  border-bottom: 1px solid rgba(16, 20, 23, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 196px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(7, 31, 77, 0.12);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
}

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

.hero {
  position: relative;
  min-height: 94svh;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-monitor,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image,
.hero-monitor {
  object-fit: cover;
}

.hero-monitor {
  pointer-events: none;
  opacity: 0.9;
}

.hero-motion-toggle {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 8px;
  border: 1px solid rgba(212, 237, 228, 0.4);
  border-radius: 4px;
  background: rgba(7, 20, 28, 0.65);
  color: #e1f3ea;
  cursor: pointer;
}

.hero-motion-toggle svg { width: 16px; height: 16px; }
.hero-motion-toggle .hero-motion-play,
.hero-motion-toggle[aria-pressed="true"] .hero-motion-pause { display: none; }
.hero-motion-toggle[aria-pressed="true"] .hero-motion-play { display: block; }
.hero-motion-toggle:hover { border-color: var(--mk-orange); }
.hero-motion-toggle:focus-visible { outline: 2px solid var(--mk-orange); outline-offset: 4px; }
.hero-motion-toggle:disabled { display: none; }

@media (max-width: 700px) {
  .hero-image,
  .hero-monitor { object-position: 65% center; }
  .hero-motion-toggle { top: 96px; right: 18px; bottom: auto; }
  .hero-monitor { opacity: 0.7; }
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 20, 54, 0.94) 0%, rgba(7, 31, 77, 0.78) 38%, rgba(7, 31, 77, 0.1) 82%),
    linear-gradient(0deg, rgba(7, 31, 77, 0.74) 0%, rgba(7, 31, 77, 0) 42%),
    radial-gradient(circle at 70% 30%, rgba(245, 154, 0, 0.24), transparent 30%),
    radial-gradient(circle at 84% 50%, rgba(232, 66, 50, 0.18), transparent 24%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 176px 0 42px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--mk-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero-logo-shell {
  width: min(520px, 94vw);
  margin: 0 0 26px;
  padding: 18px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.hero-logo {
  width: 100%;
  height: auto;
  overflow: visible;
}

.logo-draw {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: logo-draw 900ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.logo-draw-2 {
  animation-delay: 130ms;
}

.logo-draw-3,
.logo-draw-4 {
  animation-delay: 300ms;
}

.logo-draw-5 {
  animation-delay: 540ms;
}

.logo-points,
.hero-logo-type {
  opacity: 0;
  animation: logo-fade 520ms ease forwards;
}

.logo-points {
  animation-delay: 820ms;
}

.hero-logo-type {
  animation-delay: 650ms;
}

@keyframes logo-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes logo-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2.4vw, 24px);
}

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

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

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

.button.primary {
  background: var(--mk-orange);
  color: var(--mk-navy);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 86px 0 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
}

.hero-stats div {
  padding: 18px;
  background: rgba(8, 13, 14, 0.64);
}

.hero-stats dt {
  color: var(--mk-orange);
  font-weight: 800;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

section:not(.hero) {
  padding: clamp(70px, 10vw, 118px) 0;
}

.intro {
  background: var(--white);
  border-bottom: 8px solid transparent;
  border-image: linear-gradient(90deg, var(--mk-navy), var(--mk-orange), var(--mk-red)) 1;
}

.brand-system {
  background: var(--mk-sky);
}

.brand-grid {
  display: grid;
  gap: 14px;
}

.brand-card {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(280px, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(36px, 7vw, 90px);
  align-items: center;
  min-height: 190px;
  padding: 28px 32px;
  overflow: hidden;
  border: 1px solid rgba(7, 31, 77, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 31, 77, 0.06);
}

.brand-card span {
  grid-column: 1 / -1;
  display: inline-block;
  margin-bottom: 14px;
  color: var(--mk-red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-card-logo {
  grid-column: 1;
  grid-row: 2;
  width: auto;
  max-width: 100%;
  height: 108px;
  object-fit: contain;
  object-position: left center;
}

.brand-card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.main-brand {
  background: var(--white);
}

.main-brand span {
  color: var(--mk-orange);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: clamp(28px, 7vw, 90px);
}

h2 {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.15;
}

.intro p:last-child,
.section-heading p,
.contact p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: 40px;
  align-items: end;
}

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

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.service-card {
  position: relative;
  min-width: 0;
  min-height: 270px;
  padding: 24px;
  border: 1px solid rgba(16, 20, 23, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(16, 20, 23, 0.06);
  transition: transform 280ms ease, box-shadow 280ms ease, opacity 420ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(7, 31, 77, 0.12);
}

.js .service-card[data-reveal] {
  opacity: 0.55;
  transform: translateY(16px);
}

.js .service-card[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .service-card[data-reveal].is-visible:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  max-width: 100%;
  font-size: 20px;
  line-height: 1.18;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.service-number {
  display: block;
  margin-bottom: 52px;
  color: var(--mk-orange);
  font-weight: 800;
}

.service-card:nth-child(1) {
  border-top: 5px solid var(--mk-navy);
}

.service-card:nth-child(2) {
  border-top: 5px solid var(--mk-orange);
}

.service-card:nth-child(3) {
  border-top: 5px solid var(--mk-red);
}

.service-card:nth-child(4) {
  border-top: 5px solid var(--mk-navy-soft);
}

.service-card:nth-child(5) {
  border-top: 5px solid var(--mk-orange);
}

.service-card:nth-child(6) {
  border-top: 5px solid var(--mk-red-dark);
}

.service-card:nth-child(7) {
  border-top: 5px solid var(--mk-navy);
}

.service-card:nth-child(8) {
  border-top: 5px solid var(--mk-orange);
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.service-motion {
  position: absolute;
  top: 52px;
  right: 20px;
  width: 58px;
  height: 40px;
  pointer-events: none;
}

.service-motion i {
  position: absolute;
  display: block;
}

.service-motion--web {
  overflow: hidden;
  border: 2px solid var(--mk-navy);
  border-radius: 4px;
}

.service-motion--web::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 9px;
  background: var(--mk-sky);
  border-bottom: 1px solid var(--line);
}

.service-motion--web i {
  left: 7px;
  height: 4px;
  border-radius: 2px;
  background: var(--mk-orange);
  transform-origin: left;
  transform: scaleX(0);
}

.service-motion--web i:nth-child(1) {
  top: 15px;
  width: 37px;
}

.service-motion--web i:nth-child(2) {
  top: 23px;
  width: 28px;
  background: var(--mk-navy-soft);
}

.service-motion--web i:nth-child(3) {
  top: 31px;
  width: 42px;
  background: var(--mk-red);
}

.service-card.is-visible .service-motion--web i {
  animation: service-line 620ms ease forwards;
}

.service-card.is-visible .service-motion--web i:nth-child(2) {
  animation-delay: 110ms;
}

.service-card.is-visible .service-motion--web i:nth-child(3) {
  animation-delay: 220ms;
}

.service-motion--seo {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 5px;
  padding: 4px 5px;
  border-bottom: 2px solid var(--mk-navy);
}

.service-motion--seo i {
  position: static;
  flex: 1;
  height: 9px;
  background: var(--mk-orange);
  transform: scaleY(0);
  transform-origin: bottom;
}

.service-motion--seo i:nth-child(2) {
  height: 20px;
  background: var(--mk-red);
}

.service-motion--seo i:nth-child(3) {
  height: 33px;
  background: var(--mk-navy-soft);
}

.service-card.is-visible .service-motion--seo i {
  animation: service-rise 540ms ease forwards;
}

.service-card.is-visible .service-motion--seo i:nth-child(2) {
  animation-delay: 120ms;
}

.service-card.is-visible .service-motion--seo i:nth-child(3) {
  animation-delay: 240ms;
}

.service-motion--ads i {
  inset: 50% auto auto 50%;
  width: 28px;
  height: 28px;
  border: 3px solid var(--mk-red);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  opacity: 0;
}

.service-motion--ads i:nth-child(2) {
  width: 10px;
  height: 10px;
  border: 0;
  background: var(--mk-orange);
}

.service-card.is-visible .service-motion--ads i {
  animation: service-target 700ms ease forwards;
}

.service-card.is-visible .service-motion--ads i:nth-child(2) {
  animation-delay: 190ms;
}

.service-motion--shop {
  display: grid;
  gap: 5px;
}

.service-motion--shop i {
  position: relative;
  width: 100%;
  height: 9px;
  border-radius: 2px;
  background: var(--mk-sky);
  border-left: 10px solid var(--mk-navy-soft);
  transform: translateX(12px);
  opacity: 0;
}

.service-motion--shop i:nth-child(2) {
  border-left-color: var(--mk-orange);
}

.service-motion--shop i:nth-child(3) {
  border-left-color: var(--mk-red);
}

.service-card.is-visible .service-motion--shop i {
  animation: service-row 480ms ease forwards;
}

.service-card.is-visible .service-motion--shop i:nth-child(2) {
  animation-delay: 130ms;
}

.service-card.is-visible .service-motion--shop i:nth-child(3) {
  animation-delay: 260ms;
}

@keyframes service-line {
  to {
    transform: scaleX(1);
  }
}

@keyframes service-rise {
  to {
    transform: scaleY(1);
  }
}

@keyframes service-target {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes service-row {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.certification-patch {
  position: absolute;
  top: 17px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 148px;
  padding: 6px 8px;
  border: 1px solid rgba(7, 31, 77, 0.2);
  border-radius: 6px;
  background: var(--mk-sky);
  color: var(--mk-navy);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.certification-patch span {
  display: grid;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--mk-orange);
  color: var(--white);
  font-size: 10px;
}

.certification-patch:hover,
.certification-patch:focus-visible {
  background: var(--mk-navy);
  color: var(--white);
}

.work {
  background:
    linear-gradient(135deg, var(--mk-navy-soft), var(--ink) 56%),
    var(--ink);
  color: var(--white);
}

.work h2 {
  color: var(--white);
}

.work .section-heading p {
  color: rgba(255, 255, 255, 0.66);
}

.reference-project {
  display: grid;
  grid-template-columns: minmax(360px, 1.1fr) minmax(300px, 0.8fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  margin-bottom: 64px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.device-showcase {
  min-width: 0;
  width: 100%;
}

.device-controls {
  display: inline-flex;
  gap: 3px;
  margin-bottom: 14px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(2, 14, 38, 0.34);
}

.device-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.device-button.is-active {
  background: var(--white);
  color: var(--mk-navy);
}

.device-icon {
  position: relative;
  display: inline-block;
  width: 17px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.device-icon--desktop::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -4px;
  border-bottom: 1.5px solid currentColor;
}

.device-icon--tablet {
  width: 11px;
  height: 15px;
}

.device-icon--mobile {
  width: 8px;
  height: 15px;
  border-radius: 3px;
}

.device-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.device-frame {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: #111827;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1), border-radius 420ms ease;
}

.device-frame.is-desktop {
  aspect-ratio: 16 / 10;
}

.device-frame.is-tablet {
  width: 50%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
}

.device-frame.is-mobile {
  width: 35.15625%;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  background: #eef2f7;
}

.browser-chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mk-red);
}

.browser-chrome span:nth-child(2) {
  background: var(--mk-orange);
}

.browser-chrome span:nth-child(3) {
  background: #2f8b57;
}

.browser-chrome strong {
  min-width: 0;
  margin-left: 7px;
  overflow: hidden;
  color: var(--mk-navy);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.device-viewport {
  height: calc(100% - 30px);
  overflow: hidden;
  background: var(--white);
}

.device-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 180ms ease, transform 260ms ease;
}

.device-viewport img.is-switching {
  opacity: 0.25;
  transform: scale(0.985);
}

.device-caption {
  min-height: 3em;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.5;
}

.reference-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--white);
}

.reference-media img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.reference-copy h3 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 50px);
}

.reference-copy > p:not(.reference-label) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.reference-label {
  margin: 0 0 14px;
  color: var(--mk-orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.reference-tags span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--mk-red);
}

.reference-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 30px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 4px;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.reference-link:hover {
  border-color: var(--mk-orange);
  color: var(--mk-orange);
}

.work-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.work-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.work-row span {
  color: var(--mk-orange);
  font-weight: 800;
}

.work-row strong {
  color: var(--white);
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.08;
}

.process {
  background: var(--stone);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) 1fr;
  gap: clamp(34px, 8vw, 100px);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 116px;
}

.build-preview {
  margin-top: 34px;
}

.build-browser {
  overflow: hidden;
  border: 1px solid rgba(7, 31, 77, 0.15);
  border-radius: 7px;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 31, 77, 0.12);
}

.build-browser-bar {
  display: flex;
  gap: 5px;
  height: 25px;
  align-items: center;
  padding: 0 10px;
  background: #e8edf5;
}

.build-browser-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mk-red);
}

.build-browser-bar span:nth-child(2) {
  background: var(--mk-orange);
}

.build-browser-bar span:nth-child(3) {
  background: #2f8b57;
}

.build-canvas {
  display: grid;
  gap: 10px;
  min-height: 228px;
  padding: 15px;
  background: #fbfcfe;
}

.build-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 20px;
  padding: 0 7px;
  border: 1px dashed #9dabbe;
  transition: border-color 300ms ease, background 300ms ease;
}

.build-nav i {
  width: 24px;
  height: 3px;
  background: #b7c1cf;
}

.build-nav i:first-child {
  width: 38px;
  margin-right: auto;
}

.build-hero-block {
  position: relative;
  display: grid;
  align-content: center;
  gap: 7px;
  height: 78px;
  padding: 13px;
  border: 1px dashed #9dabbe;
  transition: background 340ms ease, border-color 340ms ease, transform 340ms ease, opacity 340ms ease;
}

.build-hero-block i {
  display: block;
  width: 62%;
  height: 6px;
  background: #c5ccd7;
}

.build-hero-block i:nth-child(2) {
  width: 43%;
  height: 4px;
}

.build-hero-block b {
  width: 50px;
  height: 13px;
  margin-top: 2px;
  background: #c5ccd7;
  transition: background 340ms ease;
}

.build-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.build-card-row i {
  height: 48px;
  border: 1px dashed #9dabbe;
  background: transparent;
  transition: background 340ms ease, border-color 340ms ease, transform 340ms ease, opacity 340ms ease;
}

.build-quality {
  display: flex;
  gap: 7px;
  opacity: 0.12;
  transform: translateY(7px);
  transition: opacity 340ms ease, transform 340ms ease;
}

.build-quality i {
  position: relative;
  flex: 1;
  height: 18px;
  border: 1px solid #b8c2d0;
  border-radius: 2px;
}

.build-quality i::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #2f8b57;
  border-bottom: 2px solid #2f8b57;
  transform: rotate(-45deg);
}

.build-preview > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.build-preview > p span {
  color: var(--mk-red);
  font-weight: 800;
  text-transform: uppercase;
}

.build-preview > p strong {
  color: var(--mk-navy);
  text-align: right;
}

.build-preview[data-stage="2"] .build-nav,
.build-preview[data-stage="2"] .build-hero-block,
.build-preview[data-stage="2"] .build-card-row i,
.build-preview[data-stage="3"] .build-nav,
.build-preview[data-stage="3"] .build-hero-block,
.build-preview[data-stage="3"] .build-card-row i,
.build-preview[data-stage="4"] .build-nav,
.build-preview[data-stage="4"] .build-hero-block,
.build-preview[data-stage="4"] .build-card-row i {
  border-style: solid;
  border-color: var(--line);
}

.build-preview[data-stage="2"] .build-card-row i,
.build-preview[data-stage="3"] .build-card-row i,
.build-preview[data-stage="4"] .build-card-row i {
  background: var(--mk-sky);
  transform: translateY(-2px);
}

.build-preview[data-stage="3"] .build-nav,
.build-preview[data-stage="4"] .build-nav {
  background: var(--white);
  border-bottom: 3px solid var(--mk-orange);
}

.build-preview[data-stage="3"] .build-hero-block,
.build-preview[data-stage="4"] .build-hero-block {
  border-color: var(--mk-navy-soft);
  background: var(--mk-navy);
  transform: translateY(-2px);
}

.build-preview[data-stage="3"] .build-hero-block i,
.build-preview[data-stage="4"] .build-hero-block i {
  background: rgba(255, 255, 255, 0.84);
}

.build-preview[data-stage="3"] .build-hero-block b,
.build-preview[data-stage="4"] .build-hero-block b {
  background: var(--mk-orange);
}

.build-preview[data-stage="3"] .build-card-row i:nth-child(2),
.build-preview[data-stage="4"] .build-card-row i:nth-child(2) {
  background: var(--mk-orange-soft);
}

.build-preview[data-stage="3"] .build-card-row i:nth-child(3),
.build-preview[data-stage="4"] .build-card-row i:nth-child(3) {
  background: #fff0ee;
}

.build-preview[data-stage="4"] .build-quality {
  opacity: 1;
  transform: translateY(0);
}

.steps {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps::before {
  content: "";
  position: absolute;
  left: 37px;
  top: 42px;
  bottom: 42px;
  width: 2px;
  background: var(--line);
}

.steps li {
  position: relative;
  padding: 22px 22px 22px 72px;
  border: 1px solid rgba(16, 20, 23, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.steps li.is-active {
  z-index: 1;
  transform: translateX(-5px);
  border-color: rgba(7, 31, 77, 0.28);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(7, 31, 77, 0.1);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 22px;
  top: 23px;
  color: var(--mk-red);
  font-weight: 800;
}

.steps span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 800;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 0.7fr);
  gap: clamp(36px, 8vw, 96px);
  align-items: start;
}

.contact-assurance {
  margin-top: 30px;
  color: var(--mk-navy);
  font-size: 16px;
  font-weight: 800;
}

.project-request-title {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(16, 20, 23, 0.12);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 20, 23, 0.18);
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(245, 154, 0, 0.22);
  border-color: var(--mk-orange);
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form-privacy {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--mk-navy);
  font-size: 14px;
  font-weight: 700;
}

.form-note.is-success {
  color: #176b3a;
}

.form-note.is-error {
  color: #a52a2a;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 14px;
}

.site-footer span {
  color: var(--white);
  font-weight: 800;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.legal-back {
  color: var(--mk-navy);
  font-size: 14px;
  font-weight: 700;
}

.legal-back:hover,
.legal-details a:hover,
.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-main {
  flex: 1;
  padding: clamp(56px, 8vw, 110px) 0;
  background: var(--paper);
}

.legal-main h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.1;
}

.legal-details {
  display: grid;
  gap: 36px;
  max-width: 680px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 4px solid var(--mk-orange);
}

.legal-details h2 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.25;
}

.legal-details address,
.legal-details p {
  margin: 0;
  font-size: 17px;
  font-style: normal;
  line-height: 1.8;
}

.legal-details a {
  color: var(--mk-navy-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Automatic process demo */
.process-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.process-heading h2 {
  margin-bottom: 12px;
}

.process-lead {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.process-demo-controls {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.process-live,
.process-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid rgba(7, 31, 77, 0.15);
  border-radius: 4px;
  background: var(--white);
  color: var(--mk-navy);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.process-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2f8b57;
  box-shadow: 0 0 0 5px rgba(47, 139, 87, 0.12);
  animation: livePulse 1.5s ease-in-out infinite;
}

.process-toggle {
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
}

.process-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--mk-orange);
}

.process-toggle-icon {
  position: relative;
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.process-toggle[aria-pressed="true"] .process-toggle-icon {
  width: 0;
  height: 0;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.process-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.build-preview {
  position: relative;
  margin-top: 0;
}

.build-progress {
  height: 4px;
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(7, 31, 77, 0.1);
}

.build-progress i {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--mk-orange), var(--mk-red));
  transition: width 500ms ease;
}

.build-preview[data-stage="2"] .build-progress i { width: 50%; }
.build-preview[data-stage="3"] .build-progress i { width: 75%; }
.build-preview[data-stage="4"] .build-progress i { width: 100%; }

.build-canvas {
  position: relative;
  min-height: 310px;
  padding: 22px;
}

.build-scan-line {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: 20%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, var(--mk-orange), transparent);
  box-shadow: 0 0 14px rgba(245, 154, 0, 0.65);
}

.build-preview[data-stage="3"] .build-scan-line {
  opacity: 1;
  animation: buildScan 1.7s ease-in-out infinite;
}

.build-cursor {
  position: absolute;
  z-index: 5;
  left: 67%;
  top: 58%;
  width: 16px;
  height: 22px;
  opacity: 0;
  background: var(--white);
  clip-path: polygon(0 0, 0 100%, 28% 72%, 48% 100%, 62% 92%, 43% 64%, 100% 62%);
  filter: drop-shadow(0 2px 3px rgba(7, 31, 77, 0.35));
}

.build-preview[data-stage="3"] .build-cursor {
  opacity: 1;
  animation: cursorWork 1.7s ease-in-out infinite;
}

.build-launch-badge {
  position: absolute;
  z-index: 6;
  inset: 50% auto auto 50%;
  display: flex;
  min-width: 154px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 4px;
  opacity: 0;
  background: var(--white);
  color: var(--mk-navy);
  box-shadow: 0 18px 50px rgba(7, 31, 77, 0.28);
  font-size: 14px;
  font-weight: 900;
  transform: translate(-50%, -42%) scale(0.8);
  transition: opacity 320ms ease, transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1.25);
}

.build-launch-badge i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2f8b57;
  box-shadow: 0 0 0 6px rgba(47, 139, 87, 0.14);
}

.build-preview[data-stage="4"] .build-launch-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.build-caption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  margin-top: 15px;
  align-items: start;
}

.build-caption > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.build-caption > span b {
  color: var(--mk-red);
  font-size: 24px;
}

.build-caption p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.build-caption strong {
  color: var(--mk-navy);
  font-size: 17px;
}

.build-caption small {
  color: var(--muted);
  font-size: 13px;
}

.steps {
  gap: 9px;
}

.steps::before {
  left: 28px;
  top: 35px;
  bottom: 35px;
}

.steps li {
  padding: 0;
  overflow: hidden;
}

.steps li::before {
  z-index: 2;
  left: 17px;
  top: 20px;
  pointer-events: none;
}

.steps li button {
  display: block;
  width: 100%;
  padding: 17px 18px 17px 60px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.steps li button small {
  display: block;
  font-size: 13px;
  line-height: 1.5;
}

.steps li button:focus-visible {
  outline: 3px solid rgba(245, 154, 0, 0.32);
  outline-offset: -3px;
}

.process-highlight {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
  margin-top: 54px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  background: var(--mk-navy);
  color: var(--white);
}

.process-highlight-mark {
  display: flex;
  width: 82px;
  height: 82px;
  align-items: baseline;
  justify-content: center;
  padding-top: 21px;
  border: 2px solid var(--mk-orange);
  border-radius: 50%;
  font-weight: 900;
}

.process-highlight-mark strong {
  color: var(--mk-orange);
  font-size: 24px;
}

.process-highlight p {
  display: grid;
  gap: 7px;
  margin: 0;
}

.process-highlight p span {
  color: var(--mk-orange);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-highlight p strong {
  max-width: 700px;
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.2;
}

.process-highlight-points {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 700;
}

.process-highlight-points span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--mk-orange);
}

/* A quiet code monitor expands into the actual homepage. */
html {
  scrollbar-gutter: stable;
}

html.desk-is-playing,
html.desk-is-playing body {
  overflow: hidden;
  scroll-behavior: auto;
}

.desk-intro[hidden] {
  display: none;
}

.desk-intro {
  position: fixed;
  z-index: 1000;
  inset: 0;
  overflow: hidden;
  background: #f0f2f4;
  color: #fff;
  isolation: isolate;
}

.desk-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-bottom: 56px;
  pointer-events: none;
}

.desk-monitor {
  position: relative;
  width: min(960px, calc(100% - 56px), calc((100svh - 180px) * 1.6));
  aspect-ratio: 16 / 10;
  padding: 12px 12px 22px;
  border: 1px solid #494e57;
  border-radius: 8px;
  background: #272b33;
  box-shadow: 0 24px 48px rgba(20, 29, 42, 0.13);
}

.desk-monitor::before,
.desk-monitor::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #bec5cd;
}

.desk-monitor::before {
  width: 11%;
  height: 42px;
  top: 100%;
}

.desk-monitor::after {
  width: 28%;
  height: 8px;
  top: calc(100% + 40px);
  border-radius: 4px 4px 2px 2px;
}

.desk-screen {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px 24px;
  overflow: hidden;
  border-radius: 2px;
  background: #101719;
  color: #e3e9e5;
  container-type: inline-size;
}

.desk-editor-bar,
.desk-editor-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 12px/1.3 Consolas, "Courier New", monospace;
  color: #98a5a7;
}

.desk-editor-bar {
  padding-bottom: 12px;
  border-bottom: 1px solid #293337;
}

.desk-editor-bar span:first-child {
  color: #e7b76f;
}

.desk-editor-bar i {
  flex: 1;
}

.desk-screen pre {
  position: absolute;
  top: 21%;
  left: 5.5%;
  right: 5.5%;
  bottom: 13%;
  margin: 0;
  overflow: hidden;
  white-space: pre-wrap;
  font: 12px/1.6 Consolas, "Courier New", monospace;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0;
  transform-origin: center;
}

.desk-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #f59a00;
  box-shadow: inset 0 0 24px rgba(245, 154, 0, 0.17);
  opacity: var(--desk-pulse, 0);
  pointer-events: none;
}

.desk-signal {
  position: absolute;
  top: 50%;
  left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, #f59a00, #ff6b00, #e84232);
  box-shadow: 0 0 14px rgba(255, 107, 0, 0.45);
  transform: scaleX(0);
  opacity: 0;
}

.desk-signature {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}

.desk-signature img {
  display: block;
  width: 56%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
}

.desk-screen code {
  font: inherit;
}

.desk-tag { color: #8fc8d5; }
.desk-attr { color: #edba72; }
.desk-value { color: #b6cdab; }

.desk-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: #f59a00;
}

.desk-enter {
  position: absolute;
  right: 5.5%;
  bottom: 6%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 90px;
  height: 38px;
  border: 1px solid #6c7780;
  border-radius: 5px;
  background: #273139;
  box-shadow: 0 4px 0 #090e10;
  color: #e3e9e5;
  font: 12px/1 Consolas, "Courier New", monospace;
  opacity: 0;
}

.desk-enter svg {
  width: 18px;
  height: 18px;
}

.desk-enter.is-pressed {
  transform: translateY(3px);
  background: #f59a00;
  color: #101719;
  border-color: #f59a00;
  box-shadow: 0 1px 0 #090e10;
}

.desk-editor-status {
  position: absolute;
  left: 5.5%;
  bottom: 8%;
  font-size: 9px;
}

.desk-editor-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8dc5a4;
}

.desk-intro-controls {
  position: absolute;
  z-index: 4;
  right: 28px;
  top: 24px;
  display: flex;
  gap: 8px;
}

.desk-intro-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px;
  background: rgba(16, 23, 25, 0.84);
  color: #fff;
  font: 600 12px/1 Inter, Arial, sans-serif;
  cursor: pointer;
}

.desk-intro-controls button:hover {
  background: #101719;
  border-color: #f59a00;
}

.desk-intro-controls button:focus-visible {
  outline: 3px solid #f59a00;
  outline-offset: 3px;
}

.desk-pause {
  width: 42px;
  padding: 11px;
}

.desk-pause svg {
  width: 17px;
  height: 17px;
}

.desk-pause .desk-play-icon,
.desk-pause[aria-pressed="true"] .desk-pause-icon {
  display: none;
}

.desk-pause[aria-pressed="true"] .desk-play-icon {
  display: block;
}

.desk-skip {
  gap: 15px;
  padding: 0 15px;
}

.desk-skip span {
  font-size: 18px;
}

.desk-portal {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 0;
  transform-origin: top left;
  background: var(--paper);
  pointer-events: none;
  will-change: transform, clip-path, opacity;
  contain: layout paint;
}

.desk-portal > .site-header {
  position: absolute;
}

.desk-portal .hero {
  min-height: 94svh;
}

.desk-portal .logo-draw {
  animation: none;
  stroke-dashoffset: 0;
}

.desk-portal .logo-points,
.desk-portal .hero-logo-type {
  animation: none;
  opacity: 1;
}

.desk-intro.is-paused *,
.desk-intro.is-paused *::before,
.desk-intro.is-paused *::after {
  animation-play-state: paused !important;
}

@media (max-width: 700px) {
  .desk-monitor {
    width: min(calc(100% - 24px), calc((100svh - 180px) * 1.33));
    aspect-ratio: 4 / 3;
    padding: 8px 8px 17px;
  }

  .desk-screen {
    padding: 10px 12px;
  }

  .desk-editor-bar {
    padding-bottom: 5px;
    font-size: 10px;
  }

  .desk-screen pre {
    font-size: 12px;
    line-height: 1.6;
  }

  .desk-editor-status {
    font-size: 9px;
    bottom: 8%;
  }

  .desk-enter {
    width: 70px;
    height: 27px;
    gap: 7px;
    font-size: 10px;
  }

  .desk-enter svg {
    width: 15px;
    height: 15px;
  }

  .desk-intro-controls {
    right: 14px;
    top: max(14px, env(safe-area-inset-top));
  }

  .desk-portal .hero {
    min-height: 92svh;
  }
}

@media (max-height: 540px) and (min-width: 701px) {
  .desk-screen { padding: 8px 12px; }
  .desk-editor-bar { padding-bottom: 6px; font-size: 10px; }
  .desk-screen pre { font-size: 12px; line-height: 1.5; }
}

@keyframes livePulse {
  50% { box-shadow: 0 0 0 8px rgba(47, 139, 87, 0); }
}

@keyframes buildScan {
  0% { top: 17%; }
  50% { top: 82%; }
  100% { top: 17%; }
}

@keyframes cursorWork {
  0%, 100% { transform: translate(0, 0); }
  45% { transform: translate(-45px, -36px); }
  70% { transform: translate(24px, -72px); }
}

@keyframes caretBlink {
  50% { opacity: 0; }
}

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

  .site-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    display: none;
    width: min(320px, calc(100vw - 36px));
    padding: 14px;
    border: 1px solid rgba(16, 20, 23, 0.12);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 2px;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-content {
    padding-top: 138px;
  }

  .hero-stats,
  .intro-grid,
  .section-heading.split,
  .reference-project,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 18px;
  }

  .brand-card-logo,
  .brand-card p {
    grid-column: 1;
  }

  .brand-card-logo {
    grid-row: 2;
  }

  .brand-card p {
    grid-row: 3;
  }

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

  .process-intro {
    position: static;
  }

  .build-preview {
    max-width: none;
  }

  .process-heading {
    align-items: flex-start;
  }

  .process-grid {
    gap: 32px;
  }

  .device-showcase {
    max-width: 720px;
    margin: 0 auto;
  }

}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    width: 164px;
    padding: 7px 9px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 20, 54, 0.94) 0%, rgba(7, 31, 77, 0.66) 100%),
      linear-gradient(0deg, rgba(7, 31, 77, 0.78) 0%, rgba(7, 31, 77, 0) 46%),
      radial-gradient(circle at 78% 24%, rgba(245, 154, 0, 0.24), transparent 30%);
  }

  .hero-copy {
    max-width: 92%;
  }

  .hero-logo-shell {
    width: 100%;
    padding: 14px;
  }

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

  .button.secondary {
    background: rgba(255, 255, 255, 0.1);
  }

  .hero-stats,
  .service-grid,
  .work-row {
    grid-template-columns: 1fr;
  }

  .process-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .process-demo-controls {
    justify-content: space-between;
  }

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

  .process-highlight-mark {
    width: 66px;
    height: 66px;
    padding-top: 14px;
  }

  .process-highlight-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    font-size: 9px;
  }

  .process-highlight-points span::before {
    display: block;
    margin: 0 0 6px;
  }

  .build-canvas {
    min-height: 260px;
    padding: 15px;
  }

  .build-caption {
    gap: 12px;
  }

  .reference-project {
    padding: 18px;
  }

  .reference-media {
    min-height: 250px;
  }

  .hero-stats {
    margin-top: 52px;
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 44px;
  }

  .service-motion {
    top: 49px;
  }

  .device-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .device-button {
    justify-content: center;
    padding: 0 7px;
  }

  .device-caption {
    min-height: 4.5em;
  }

  .steps li {
    padding-left: 62px;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }

  .logo-draw {
    stroke-dashoffset: 0;
  }

  .logo-points,
  .hero-logo-type,
  .js .service-card[data-reveal] {
    opacity: 1;
    transform: none;
  }
}
