:root {
  --background: #030812;
  --background-soft: #050b16;
  --panel: rgba(7, 17, 32, .91);
  --panel-light: rgba(10, 21, 40, .86);
  --text: #f5f7fb;
  --muted: #98a1b4;
  --muted-dark: #667086;
  --blue: #087bff;
  --blue-bright: #00b8ff;
  --cyan: #00d7ff;
  --purple: #8d36ff;
  --purple-light: #b144ff;
  --green: #3dffb5;
  --line: rgba(45, 102, 177, .24);
  --container: 1040px;
  --font: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 75px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 45% 8%, rgba(7, 65, 145, .12), transparent 30%),
    var(--background);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

.container {
  width: min(calc(100% - 84px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  color: white;
  background: #075dd9;
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 62px;
  background: rgba(2, 7, 16, .96);
  border-bottom: 1px solid rgba(34, 78, 139, .2);
}

.header-inner {
  min-height: 62px;
  display: grid;
  grid-template-columns: 225px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
}

.brand-mark {
  width: 38px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 7px rgba(34, 108, 255, .35));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 13px;
  letter-spacing: .055em;
}

.brand-copy small {
  margin-top: 4px;
  color: #81899b;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: .36em;
}

.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 47px);
  height: 100%;
}

.primary-navigation a {
  position: relative;
  padding: 21px 0 18px;
  color: #9ba3b5;
  font-size: 11px;
  transition: color .2s ease;
}

.primary-navigation a:hover,
.primary-navigation a.active {
  color: #20a8ff;
}

.primary-navigation a.active::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: #20a8ff;
  box-shadow: 0 0 10px #20a8ff;
}

.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 9px 20px;
  color: white;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.2;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

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

.button-header {
  min-width: 112px;
  padding: 8px 15px;
  color: #cbd2de;
  border-color: rgba(135, 47, 255, .7);
  background: rgba(7, 11, 23, .86);
  font-size: 10px;
}

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-header svg {
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  width: 42px;
  min-height: 38px;
  padding: 9px;
  border: 1px solid rgba(74, 115, 178, .42);
  border-radius: 7px;
  color: white;
  background: #07101f;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: #e4ebf7;
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  padding: 27px 0 0;
  background:
    radial-gradient(circle at 67% 40%, rgba(0, 93, 255, .27), transparent 24%),
    radial-gradient(circle at 91% 34%, rgba(111, 28, 255, .12), transparent 24%),
    linear-gradient(180deg, #030915 0%, #041020 55%, #030a15 100%);
  border-bottom: 1px solid rgba(28, 82, 148, .25);
}

.hero::before,
.section-shell::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .2;
  background-image:
    linear-gradient(rgba(20, 94, 175, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 94, 175, .13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.hero-circuit {
  position: absolute;
  width: 32%;
  height: 65%;
  pointer-events: none;
  opacity: .2;
  background:
    linear-gradient(90deg, transparent 0 15%, #1672df 15% 15.5%, transparent 15.5% 100%),
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(22, 114, 223, .85) 22px, transparent 23px 43px);
  mask-image: linear-gradient(90deg, transparent, #000 25%, #000 70%, transparent);
}

.hero-circuit-left {
  top: 26px;
  left: -8%;
}

.hero-circuit-right {
  top: 40px;
  right: -8%;
  transform: scaleX(-1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 39% 61%;
  align-items: center;
  min-height: 348px;
}

.hero-content {
  position: relative;
  z-index: 6;
  padding: 10px 0 44px;
}

.availability {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 5px 11px;
  color: #aeb7c8;
  border: 1px solid rgba(91, 128, 179, .58);
  border-radius: 30px;
  background: rgba(5, 14, 27, .82);
  box-shadow: inset 0 0 15px rgba(14, 84, 170, .1);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .04em;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.hero h1 {
  max-width: 430px;
  margin-bottom: 8px;
  color: #f6f7f9;
  font-size: clamp(45px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .94;
}

.hero h1 span {
  display: block;
  color: #087bff;
  background: linear-gradient(90deg, #168aff 0%, #0057ff 60%, #7050ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(0, 87, 255, .12);
}

.hero-kicker {
  margin-bottom: 8px;
  color: #929bad;
  font-size: 19px;
  letter-spacing: .025em;
}

.hero-kicker b {
  color: #705ce3;
  font-size: 13px;
}

.hero-description {
  max-width: 370px;
  margin-bottom: 20px;
  color: #9da5b5;
  font-size: 11px;
  line-height: 1.65;
}

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

.hero-actions .button {
  min-width: 173px;
  font-size: 11px;
}

.button-primary {
  background: linear-gradient(100deg, #006cf4, #124eff 55%, #701cf3);
  box-shadow: 0 0 18px rgba(27, 84, 255, .3), inset 0 0 0 1px rgba(106, 184, 255, .2);
}

.button-primary:hover {
  box-shadow: 0 0 24px rgba(51, 101, 255, .55);
}

.button-secondary {
  color: #aeb6c5;
  border-color: rgba(99, 124, 163, .55);
  background: rgba(6, 13, 25, .84);
  box-shadow: inset 0 0 15px rgba(23, 70, 133, .12);
}

.hero-visual {
  position: relative;
  min-height: 350px;
  align-self: end;
}

.halo {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 47%;
  width: 322px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px solid rgba(72, 71, 255, .62);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(1, 92, 255, .16) 0 38%, transparent 39%),
    repeating-radial-gradient(circle, transparent 0 42px, rgba(0, 115, 255, .28) 43px, transparent 45px);
  box-shadow:
    0 0 20px rgba(1, 99, 255, .55),
    inset 0 0 34px rgba(0, 100, 255, .22);
}

.halo::before,
.halo::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.halo::before {
  inset: 20px;
  border: 3px solid rgba(0, 127, 255, .38);
  border-right-color: rgba(133, 50, 255, .75);
  box-shadow: 0 0 17px rgba(0, 125, 255, .7);
}

.halo::after {
  inset: 43px;
  border: 1px dashed rgba(97, 158, 255, .48);
}

.halo i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39baff;
  box-shadow: 0 0 10px #39baff;
}

.halo i:nth-child(1) { top: 15%; left: 13%; }
.halo i:nth-child(2) { top: 31%; right: 4%; }
.halo i:nth-child(3) { bottom: 13%; left: 20%; }
.halo i:nth-child(4) { right: 16%; bottom: 8%; background: #9a42ff; }

.hero-person {
  position: absolute;
  z-index: 4;
  right: 8%;
  bottom: 0;
  width: 70%;
  max-height: 365px;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 15px rgba(0, 79, 199, .35));
}

.dashboard {
  position: absolute;
  z-index: 2;
  color: #bac4d7;
  border: 1px solid rgba(27, 113, 226, .55);
  background: linear-gradient(145deg, rgba(5, 16, 35, .93), rgba(5, 10, 24, .8));
  box-shadow: 0 0 19px rgba(0, 83, 224, .13), inset 0 0 22px rgba(0, 82, 198, .07);
  font-size: 8px;
  backdrop-filter: blur(2px);
}

.dashboard-main {
  top: 23px;
  left: 1%;
  width: 153px;
  min-height: 235px;
  padding: 14px 13px 10px;
  border-radius: 9px;
}

.dashboard-bot {
  top: 17px;
  right: -1%;
  width: 145px;
  min-height: 264px;
  padding: 13px 11px;
  border-color: rgba(130, 52, 255, .58);
  border-radius: 10px;
  transform: rotate(1.5deg);
}

.dashboard-top,
.dashboard-title,
.dashboard-bot header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-top strong,
.dashboard-top small {
  display: block;
}

.dashboard-top strong {
  color: white;
  font-size: 9px;
}

.dashboard-top small {
  color: #79869c;
  font-size: 6px;
}

.dashboard-dots {
  color: #337cff;
}

.dashboard-title {
  margin: 12px 0 8px;
}

.dashboard-title b {
  color: #f3f5fb;
  font-size: 8px;
}

.dashboard-title span {
  padding: 2px 4px;
  color: #68a8ff;
  border: 1px solid rgba(38, 105, 210, .45);
  border-radius: 3px;
  font-size: 5px;
}

.dashboard dl {
  margin-bottom: 0;
}

.dashboard dl div {
  padding: 5px 0;
}

.dashboard dt {
  color: #6f7e95;
}

.dashboard dd {
  color: #c8d1df;
  font-size: 8px;
}

.dashboard em {
  float: right;
  color: #25d69a;
  font-size: 6px;
  font-style: normal;
}

.line-chart {
  width: 100%;
  margin-top: 2px;
}

.dashboard-bot header {
  justify-content: flex-start;
  gap: 7px;
  margin-bottom: 10px;
  color: var(--purple-light);
}

.dashboard-bot header svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.dashboard-bot header small,
.dashboard-bot header strong {
  display: block;
  line-height: 1.25;
}

.dashboard-bot header strong {
  font-size: 10px;
}

.dashboard-bot dl div {
  margin-bottom: 4px;
  padding: 6px;
  border: 1px solid rgba(67, 74, 150, .19);
  border-radius: 5px;
  background: rgba(11, 16, 39, .55);
}

.bar-chart {
  height: 26px;
  display: flex;
  align-items: end;
  gap: 3px;
  margin-top: 4px;
  padding: 5px 6px;
  border: 1px solid rgba(69, 75, 160, .16);
}

.bar-chart i {
  width: 7px;
  height: 30%;
  background: #087bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, .5);
}

.bar-chart i:nth-child(2) { height: 52%; }
.bar-chart i:nth-child(3) { height: 42%; }
.bar-chart i:nth-child(4) { height: 67%; }
.bar-chart i:nth-child(5) { height: 77%; }
.bar-chart i:nth-child(6) { height: 51%; }
.bar-chart i:nth-child(7) { height: 88%; }
.bar-chart i:nth-child(8) { height: 68%; }
.bar-chart i:nth-child(9) { height: 96%; }

.expertise-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-top: -7px;
  padding-left: 170px;
  padding-bottom: 15px;
}

.expertise-strip article {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 8px 13px;
  border: 1px solid rgba(53, 111, 186, .55);
  border-radius: 9px;
  background: linear-gradient(130deg, rgba(7, 20, 38, .97), rgba(6, 11, 25, .97));
  box-shadow: 0 0 16px rgba(0, 59, 156, .11), inset 0 0 15px rgba(29, 89, 171, .07);
}

.expertise-strip p {
  margin: 0;
  color: #b2bac7;
  font-size: 11px;
  line-height: 1.22;
}

.expertise-icon {
  min-width: 34px;
  font-size: 29px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 0 10px currentColor;
}

.expertise-icon.purple { color: #9a45ff; }
.expertise-icon.blue { color: #00a8ff; font-size: 22px; }

/* Shared section styling */
.section-shell {
  position: relative;
  overflow: clip;
  background: #030914;
}

.section-shell::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(20, 79, 145, .38), transparent);
}

.eyebrow {
  margin-bottom: 4px;
  color: #a94aff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .16em;
}

.section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 13px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  color: #bbc2cd;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}

/* About */
.about {
  padding: 21px 0 17px;
  background:
    radial-gradient(circle at 16% 46%, rgba(19, 78, 180, .12), transparent 23%),
    linear-gradient(180deg, #030a15, #030914);
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 275px 1fr;
  align-items: center;
  gap: 43px;
}

.about-photo-frame {
  position: relative;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(27, 130, 255, .8);
  border-right-color: rgba(159, 52, 255, .75);
  border-radius: 11px;
  background: linear-gradient(140deg, rgba(0, 112, 255, .38), rgba(110, 26, 255, .28));
  box-shadow: 0 0 18px rgba(0, 91, 255, .2);
  clip-path: polygon(8% 0, 92% 0, 100% 9%, 100% 91%, 92% 100%, 8% 100%, 0 91%, 0 9%);
}

.about-photo-frame::before {
  position: absolute;
  inset: 10px;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(70, 120, 255, .23);
}

.about-photo-frame img {
  width: 100%;
  aspect-ratio: 4 / 3.65;
  object-fit: cover;
  object-position: center 29%;
  border-radius: 7px;
}

.about-content h2 {
  margin-bottom: 8px;
  color: #f1f3f7;
  font-size: 21px;
  line-height: 1.12;
}

.about-content > p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 7px;
  color: #9ca5b6;
  font-size: 10px;
  line-height: 1.65;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 13px;
}

.metrics article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 3px 15px;
  border-left: 1px solid rgba(67, 90, 128, .25);
}

.metrics article:first-child {
  padding-left: 0;
  border-left: 0;
}

.metrics article > span {
  color: #008dff;
  font-size: 28px;
  text-shadow: 0 0 10px rgba(0, 130, 255, .5);
}

.metrics strong,
.metrics small {
  display: block;
}

.metrics strong {
  color: #f0f2f6;
  font-size: 14px;
  font-weight: 500;
}

.metrics small {
  color: #7c8597;
  font-size: 7px;
  line-height: 1.4;
}

/* Specialties */
.specialties {
  padding: 9px 0 15px;
  background:
    radial-gradient(circle at 4% 55%, rgba(0, 86, 196, .13), transparent 16%),
    radial-gradient(circle at 96% 55%, rgba(111, 35, 211, .12), transparent 16%),
    #030914;
}

.specialty-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.specialty-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 10px 13px;
  text-align: center;
  border: 1px solid;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 0, rgba(27, 87, 187, .16), transparent 54%),
    rgba(5, 14, 27, .9);
  clip-path: polygon(8% 0, 92% 0, 100% 9%, 100% 91%, 92% 100%, 8% 100%, 0 91%, 0 9%);
}

.specialty-card.blue-card {
  border-color: rgba(0, 151, 255, .77);
  box-shadow: inset 0 0 18px rgba(0, 124, 255, .11), 0 0 9px rgba(0, 112, 255, .1);
}

.specialty-card.purple-card {
  border-color: rgba(155, 57, 255, .74);
  box-shadow: inset 0 0 18px rgba(123, 44, 255, .1), 0 0 9px rgba(126, 36, 255, .1);
}

.service-icon {
  height: 37px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  color: #0bb5ff;
  font-size: 31px;
  line-height: 1;
  text-shadow: 0 0 9px currentColor;
}

.purple-card .service-icon {
  color: #b04cff;
}

.specialty-card h3 {
  margin-bottom: 6px;
  color: #c4cad4;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.17;
}

.specialty-card p {
  margin: auto 0 0;
  color: #7d8799;
  font-size: 7.4px;
  line-height: 1.45;
}

/* Projects */
.projects {
  padding: 8px 0 15px;
  background: #030914;
}

.projects-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 13px 18px 11px;
  border: 1px solid;
  border-radius: 10px;
  background: rgba(5, 15, 29, .93);
  clip-path: polygon(5% 0, 95% 0, 100% 8%, 100% 92%, 95% 100%, 5% 100%, 0 92%, 0 8%);
}

.blue-project {
  border-color: rgba(0, 125, 255, .78);
  box-shadow: inset 0 0 22px rgba(0, 92, 255, .12);
}

.purple-project {
  border-color: rgba(139, 45, 255, .75);
  box-shadow: inset 0 0 22px rgba(109, 33, 215, .12);
}

.project-card header {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 49px;
}

.project-logo {
  width: 46px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #c067ff;
  border: 2px solid currentColor;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 0 11px rgba(169, 65, 255, .27);
}

.pool-logo {
  color: #28baff;
  border-radius: 50%;
}

.bot-logo {
  border-radius: 45% 45% 38% 38%;
}

.project-card h3 {
  margin: 0;
  color: #d9dde5;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.14;
}

.project-card h3 b {
  color: #12afff;
  font-weight: 600;
}

.purple-project h3 b {
  color: #bd52ff;
}

.project-category {
  width: max-content;
  margin: 7px 0 5px;
  padding: 2px 5px;
  color: #2daeff;
  border-radius: 3px;
  background: rgba(0, 99, 211, .17);
  font-size: 7px;
}

.purple-project .project-category {
  color: #c464ff;
  background: rgba(121, 34, 208, .17);
}

.project-card p {
  margin-bottom: 7px;
  color: #929bad;
  font-size: 9px;
  line-height: 1.55;
}

.project-card a {
  width: max-content;
  margin-top: auto;
  color: #179fff;
  font-size: 9px;
}

.purple-project a {
  color: #a64cff;
}

/* Technology */
.technology-stack {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(30, 79, 139, .22);
  border-bottom: 1px solid rgba(30, 79, 139, .22);
  background: #030812;
}

.technology-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}

.technology-list > div {
  min-width: max-content;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #abb2c1;
  font-size: 9px;
}

.tech-symbol {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 1px 3px;
  color: white;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
}

.tech-symbol.cyan { color: #00cfff; font-size: 15px; }
.tech-symbol.dark { border: 1px solid #737b8d; background: #111720; }
.tech-symbol.blue { background: #2588de; }
.tech-symbol.green { background: #68a848; }
.tech-symbol.yellow { color: #ffce3e; font-size: 11px; }
.tech-symbol.orange { color: #ffb83e; font-size: 10px; }

/* Social proof and contact */
.social-contact {
  padding: 11px 0 15px;
  background:
    radial-gradient(circle at 73% 70%, rgba(82, 26, 190, .1), transparent 24%),
    #030812;
}

.social-contact h2 {
  position: relative;
  z-index: 2;
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 500;
}

.social-contact h2 span {
  color: #087bff;
}

.social-contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .95fr 1.06fr;
  gap: 64px;
}

.testimonial-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 69px 1fr;
  align-items: center;
  gap: 17px;
  padding: 12px 17px;
  border: 1px solid rgba(37, 72, 122, .38);
  border-radius: 10px;
  background: rgba(6, 15, 28, .82);
}

.testimonial-avatar {
  width: 57px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: #e8edf6;
  border: 1px solid rgba(22, 109, 220, .5);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #253248, #090f19 65%);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 13px rgba(0, 99, 255, .15);
}

.testimonial-card blockquote {
  margin-bottom: 4px;
  color: #98a1b1;
  font-size: 9px;
  line-height: 1.55;
}

.testimonial-card strong,
.testimonial-card small {
  display: block;
}

.testimonial-card strong {
  color: #d7dce5;
  font-size: 9px;
}

.testimonial-card small {
  color: #717b8e;
  font-size: 7px;
}

.contact-banner {
  position: relative;
  min-height: 118px;
  display: grid;
  grid-template-columns: 1fr 185px;
  align-items: center;
  overflow: hidden;
  padding: 10px 12px 10px 27px;
  border: 1px solid rgba(122, 46, 255, .78);
  border-radius: 10px;
  background:
    radial-gradient(circle at 75% 50%, rgba(43, 76, 226, .17), transparent 35%),
    rgba(7, 12, 27, .91);
  box-shadow: inset 0 0 22px rgba(73, 31, 172, .11);
}

.contact-copy {
  position: relative;
  z-index: 2;
}

.contact-banner h3 {
  margin-bottom: 4px;
  color: #f1f3f7;
  font-size: 20px;
  line-height: 1.02;
}

.contact-banner p {
  margin-bottom: 7px;
  color: #9098aa;
  font-size: 9px;
  line-height: 1.35;
}

.contact-banner .button {
  min-height: 31px;
  padding: 7px 20px;
  font-size: 9px;
}

.contact-banner img {
  width: 155px;
  aspect-ratio: 1;
  justify-self: end;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(82, 65, 255, .3));
}

/* Footer */
.site-footer {
  position: relative;
  padding: 12px 0 15px;
  color: #848d9f;
  border-top: 1px solid rgba(34, 73, 127, .3);
  background: #030711;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-brand .brand-mark {
  width: 32px;
}

.footer-brand .brand-copy strong {
  font-size: 10px;
}

.footer-brand .brand-copy small {
  font-size: 5px;
}

.footer-inner > p {
  margin: 0;
  font-size: 8px;
}

.footer-inner > p:last-child {
  justify-self: end;
}

/* Tablet */
@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .header-inner {
    grid-template-columns: 200px 1fr auto;
    gap: 12px;
  }

  .primary-navigation {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 43% 57%;
  }

  .hero-person {
    right: 2%;
    width: 75%;
  }

  .dashboard-bot {
    right: -4%;
  }

  .expertise-strip {
    padding-left: 80px;
  }

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

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

  .technology-list {
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: thin;
  }

  .social-contact-grid {
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 40px);
  }

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

  .header-inner {
    min-height: 66px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-block: 10px;
  }

  .brand-mark {
    width: 35px;
  }

  .brand-copy strong {
    font-size: 11px;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  .button-header {
    display: none;
  }

  .primary-navigation {
    width: 100%;
    max-height: 0;
    order: 3;
    display: grid;
    gap: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
  }

  .primary-navigation.open {
    max-height: 340px;
    opacity: 1;
  }

  .primary-navigation a {
    padding: 12px 2px;
    border-top: 1px solid rgba(51, 83, 128, .22);
    font-size: 13px;
  }

  .primary-navigation a.active::after {
    display: none;
  }

  .hero {
    padding-top: 31px;
  }

  .hero-grid {
    display: block;
    min-height: 0;
  }

  .hero-content {
    padding: 0;
  }

  .hero h1 {
    max-width: 100%;
    margin-bottom: 15px;
    font-size: clamp(42px, 13vw, 50px);
    line-height: .99;
  }

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

  .hero-description {
    max-width: 560px;
    font-size: 14px;
    line-height: 1.6;
  }

  .availability {
    font-size: 7px;
  }

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

  .hero-actions .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 10px;
  }

  .hero-visual {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 27px;
    padding-top: 0;
  }

  .halo {
    top: 0;
    left: 50%;
    width: min(92vw, 400px);
    transform: translateX(-50%);
  }

  .hero-person {
    position: relative;
    z-index: 4;
    right: auto;
    bottom: auto;
    width: min(100%, 450px);
    max-height: none;
    grid-column: 1 / -1;
    justify-self: center;
    object-fit: contain;
  }

  .dashboard {
    position: relative;
    inset: auto;
    width: auto;
    min-height: 0;
    transform: none;
  }

  .dashboard-main {
    padding: 13px;
  }

  .dashboard-bot {
    padding: 13px;
  }

  .expertise-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 17px;
    padding: 0 0 22px;
  }

  .expertise-strip article {
    min-height: 78px;
    justify-content: flex-start;
  }

  .about,
  .specialties,
  .projects,
  .social-contact {
    padding-block: 42px;
  }

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

  .about-photo-frame {
    width: min(100%, 430px);
    justify-self: center;
  }

  .about-photo-frame img {
    aspect-ratio: 4 / 5;
    object-position: center;
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content h2 br {
    display: none;
  }

  .about-content > p:not(.eyebrow) {
    max-width: none;
    font-size: 14px;
    line-height: 1.65;
  }

  .eyebrow {
    font-size: 10px;
  }

  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 24px;
    background: rgba(44, 79, 126, .22);
  }

  .metrics article,
  .metrics article:first-child {
    min-height: 86px;
    padding: 13px;
    border: 0;
    background: #040b16;
  }

  .metrics strong {
    font-size: 16px;
  }

  .metrics small {
    font-size: 9px;
  }

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

  .section-heading h2 {
    font-size: 27px;
  }

  .specialty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .specialty-card {
    min-height: 190px;
    padding: 21px 15px;
  }

  .specialty-card h3 {
    font-size: 16px;
  }

  .specialty-card p {
    font-size: 11px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-card {
    min-height: 245px;
    padding: 22px;
  }

  .project-card header {
    min-height: 60px;
  }

  .project-logo {
    width: 55px;
  }

  .project-card h3 {
    font-size: 18px;
  }

  .project-category {
    margin-block: 13px 8px;
    font-size: 10px;
  }

  .project-card p {
    font-size: 13px;
  }

  .project-card a {
    font-size: 12px;
  }

  .technology-list {
    width: 100%;
    padding: 15px 20px;
    scroll-snap-type: x proximity;
  }

  .technology-list > div {
    min-width: 112px;
    scroll-snap-align: start;
    font-size: 11px;
  }

  .social-contact h2 {
    margin-bottom: 22px;
    font-size: 27px;
  }

  .social-contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .testimonial-card {
    min-height: 160px;
  }

  .testimonial-card blockquote {
    font-size: 12px;
  }

  .testimonial-card strong {
    font-size: 11px;
  }

  .testimonial-card small {
    font-size: 9px;
  }

  .contact-banner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 24px;
  }

  .contact-banner h3 {
    font-size: 27px;
  }

  .contact-banner p {
    font-size: 13px;
  }

  .contact-banner img {
    width: min(65%, 220px);
    justify-self: center;
  }

  .site-footer {
    padding-block: 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-inner > p,
  .footer-inner > p:last-child {
    justify-self: center;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 44px;
  }

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

  .dashboard-main,
  .dashboard-bot {
    width: 100%;
  }

  .expertise-strip,
  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .expertise-strip article {
    min-height: 68px;
  }

  .specialty-card {
    min-height: 180px;
  }

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

  .testimonial-card {
    grid-template-columns: 1fr;
  }
}

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

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

/* Site Fácil IA: proteção de integridade visual */
html,body{max-width:100%;overflow-x:clip}main>section{position:relative;isolation:isolate;clear:both}img{max-width:100%;height:auto}img[src*="assets/"]{object-fit:contain}
