@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --ink: #071a3b;
  --ink-soft: #18345f;
  --blue: #0867e8;
  --cyan: #08c7ef;
  --aqua: #74e9ff;
  --lime: #b9f227;
  --paper: #f5f8fd;
  --white: #ffffff;
  --line: rgba(7, 26, 59, 0.12);
  --muted: #65738b;
  --shadow: 0 24px 70px rgba(10, 38, 82, 0.13);
  --radius: 28px;
  --max: 1760px;
  --page-gutter: clamp(1rem, 3.5vw, 5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 2% 5%, rgba(8, 199, 239, 0.1), transparent 28rem),
    var(--paper);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.04;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

body.menu-open {
  overflow: hidden;
}

body.splash-active {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.4rem, 7.8vw, 7.8rem);
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.container {
  width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), var(--max));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.section--dark {
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(8, 199, 239, 0.22), transparent 30rem),
    linear-gradient(145deg, #051329, #082552 80%);
}

.section--dark .eyebrow,
.section--dark .lead,
.section--dark .muted {
  color: #b7c7df;
}

.section--cyan {
  background: linear-gradient(135deg, #dffaff, #edf5ff 58%, #faffdd);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: currentColor;
}

.lead {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
}

.muted {
  color: var(--muted);
}

.text-gradient {
  color: transparent;
  background: linear-gradient(105deg, var(--blue), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  gap: 0.7rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn--primary {
  color: var(--white);
  background: linear-gradient(105deg, var(--blue), #009edc);
  box-shadow: 0 12px 28px rgba(8, 103, 232, 0.27);
}

.btn--primary:hover {
  box-shadow: 0 18px 34px rgba(8, 103, 232, 0.36);
}

.btn--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.btn--light {
  color: var(--ink);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--blue);
  font-weight: 800;
}

.text-link::after {
  content: "\2197";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 160, 230, 0.24), transparent 30rem),
    linear-gradient(145deg, #020a18, #041b3c 62%, #052c59);
  place-items: center;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.splash-screen.is-finished {
  opacity: 0;
  visibility: hidden;
}

.splash-grid {
  position: absolute;
  inset: -20%;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(116, 233, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 233, 255, 0.2) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle, #000 5%, transparent 62%);
  transform: perspective(560px) rotateX(62deg) translateY(18%);
  animation: splash-grid-shift 2.2s linear both;
}

.splash-content {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(84vw, 480px);
  justify-items: center;
}

.splash-kicker {
  margin-bottom: 1rem;
  color: var(--aqua);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0;
  animation: splash-rise 500ms 100ms ease forwards;
}

.splash-logo-frame {
  position: relative;
  display: grid;
  width: min(68vw, 350px);
  aspect-ratio: 1;
  padding: clamp(0.5rem, 1.5vw, 0.8rem);
  border: 1px solid rgba(116, 233, 255, 0.45);
  border-radius: clamp(32px, 6vw, 56px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0 0 10px rgba(8, 199, 239, 0.05), 0 36px 90px rgba(0, 0, 0, 0.38), 0 0 65px rgba(8, 199, 239, 0.2);
  place-items: center;
  opacity: 0;
  transform: scale(0.86);
  animation: splash-logo-in 750ms 220ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.splash-logo-frame::before,
.splash-logo-frame::after {
  position: absolute;
  width: 38px;
  height: 38px;
  border-color: var(--cyan);
  content: "";
}

.splash-logo-frame::before {
  top: -8px;
  left: -8px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: 12px 0 0;
}

.splash-logo-frame::after {
  right: -8px;
  bottom: -8px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-radius: 0 0 12px;
}

.splash-logo-frame img {
  width: 100%;
  height: 100%;
  border-radius: calc(clamp(32px, 6vw, 56px) - 8px);
  object-fit: cover;
}

.splash-pulse {
  position: absolute;
  inset: -2px;
  border: 1px solid rgba(116, 233, 255, 0.7);
  border-radius: inherit;
  animation: splash-pulse 1.6s 800ms ease-out infinite;
}

.splash-status {
  display: grid;
  width: min(68vw, 350px);
  margin-top: 1.5rem;
  gap: 0.85rem;
  text-align: center;
}

.splash-status span {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.splash-status span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--lime));
  transform: translateX(-100%);
  animation: splash-progress 1.5s 450ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash-status strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.78rem, 2vw, 0.96rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: splash-rise 500ms 650ms ease forwards;
}

.splash-orbit {
  position: absolute;
  border: 1px solid rgba(116, 233, 255, 0.12);
  border-radius: 50%;
}

.splash-orbit::after {
  position: absolute;
  top: 50%;
  left: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}

.splash-orbit--outer {
  width: min(90vw, 720px);
  height: min(90vw, 720px);
  animation: spin 18s linear infinite;
}

.splash-orbit--inner {
  width: min(72vw, 560px);
  height: min(72vw, 560px);
  animation: spin 12s linear infinite reverse;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  padding: 0.6rem 0;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 250, 255, 0.9);
  box-shadow: 0 10px 30px rgba(7, 26, 59, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 2rem;
  padding: 0.42rem 0.55rem 0.42rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(7, 26, 59, 0.08);
  backdrop-filter: blur(18px);
}

.nav-shell::before {
  position: absolute;
  right: 1.1rem;
  bottom: -1px;
  left: 1.1rem;
  height: 2px;
  content: "";
  opacity: 0.75;
  background: linear-gradient(90deg, transparent 0%, transparent 35%, var(--cyan) 48%, var(--blue) 52%, transparent 65%, transparent 100%);
  background-size: 260px 100%;
  animation: header-signal 6s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.85rem;
}

.brand-mark {
  display: grid;
  width: 64px;
  height: 64px;
  padding: 3px;
  border: 1px solid rgba(8, 199, 239, 0.28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(4, 55, 126, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  place-items: center;
}

.brand img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.14rem;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 0.36rem;
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.7rem);
}

.nav-links > a,
.mega-trigger > a {
  position: relative;
  color: #324663;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links > a::after,
.mega-trigger > a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links > a:hover::after,
.nav-links > a[aria-current="page"]::after,
.mega-trigger > a:hover::after,
.mega-trigger > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-item {
  position: relative;
}

.nav-item--mega::after {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 125px;
  height: 34px;
  content: "";
}

.mega-trigger {
  display: flex;
  align-items: center;
  gap: 0.22rem;
}

.mega-toggle {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
  place-items: center;
  font-size: 0.8rem;
  transition: transform 180ms ease, background 180ms ease;
}

.nav-item--mega:hover .mega-toggle,
.nav-item--mega:focus-within .mega-toggle,
.nav-item--mega.is-open .mega-toggle {
  background: #e7f5ff;
  transform: rotate(180deg);
}

.mega-panel {
  position: fixed;
  top: 92px;
  left: 50%;
  display: grid;
  width: min(calc(100vw - 2rem), 880px);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  opacity: 0;
  visibility: hidden;
  background: rgba(250, 252, 255, 0.97);
  box-shadow: 0 26px 80px rgba(7, 26, 59, 0.18);
  backdrop-filter: blur(24px);
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 0.8rem;
  transform: translate(-50%, -10px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-item--mega:hover .mega-panel,
.nav-item--mega:focus-within .mega-panel,
.nav-item--mega.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.mega-intro {
  padding: 1.35rem;
  border-radius: 19px;
  color: var(--white);
  background: linear-gradient(145deg, #071a3b, #07519f);
}

.mega-intro .eyebrow {
  margin-bottom: 0.65rem;
  color: var(--aqua);
  font-size: 0.64rem;
}

.mega-intro strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}

.mega-intro p {
  margin: 0.65rem 0 1rem;
  color: #bfd0e6;
  font-size: 0.78rem;
  line-height: 1.5;
}

.mega-intro .text-link {
  color: var(--aqua);
  font-size: 0.78rem;
}

.mega-column {
  display: grid;
  padding: 0.65rem;
  align-content: start;
  gap: 0.25rem;
}

.mega-column a {
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.mega-column a:hover {
  color: var(--blue);
  background: #eaf6ff;
}

.mega-heading {
  padding: 0.35rem 0.65rem 0.7rem;
  color: var(--blue);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-cta {
  min-height: 46px;
  padding-inline: 1.15rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: #edf5ff;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span {
  opacity: 0;
}

.menu-toggle.is-open::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  --pcb-x: 0px;
  --pcb-y: 0px;
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  padding: 9.5rem 0 5rem;
  align-items: center;
}

.pcb-backdrop {
  position: absolute;
  inset: -2%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.28;
  transform: translate(var(--pcb-x, 0), var(--pcb-y, 0)) scale(1.02);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pcb-backdrop svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pcb-trace {
  fill: none;
  stroke: rgba(116, 233, 255, 0.5);
  stroke-width: 1.25;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  animation: pcb-trace-draw 2.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pcb-trace--b { animation-delay: 180ms; }
.pcb-trace--c { animation-delay: 340ms; }
.pcb-trace--d { animation-delay: 520ms; }

.pcb-nodes circle {
  fill: #061a3c;
  stroke: var(--cyan);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  animation: pcb-node-pulse 3.2s ease-in-out infinite;
}

.pcb-nodes circle:nth-child(3n + 2) { animation-delay: -1.1s; }
.pcb-nodes circle:nth-child(3n) { animation-delay: -2.2s; }

.pcb-signals circle {
  fill: var(--aqua);
  filter: drop-shadow(0 0 8px var(--cyan)) drop-shadow(0 0 16px rgba(8, 199, 239, 0.65));
}

.hero--photo .pcb-backdrop {
  opacity: 0.3;
  mix-blend-mode: screen;
}

.hero--photo {
  min-height: max(760px, 100svh);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(2, 10, 24, 0.98) 0%, rgba(3, 18, 41, 0.92) 38%, rgba(3, 23, 49, 0.48) 62%, rgba(2, 12, 26, 0.25) 100%),
    url("../images/bapa-hero-team.webp") 56% center / cover no-repeat;
}

.hero--photo::after {
  top: auto;
  right: -8%;
  bottom: -38%;
  width: 52vw;
  height: 52vw;
  border-color: rgba(116, 233, 255, 0.16);
  box-shadow: 0 0 0 90px rgba(8, 199, 239, 0.025), 0 0 0 180px rgba(8, 103, 232, 0.025);
}

.hero--photo .eyebrow,
.hero--photo .lead,
.hero--photo .hero-note {
  color: #c5d8ed;
}

.hero--photo .hero-copy {
  padding-block: 2rem;
}

.hero--photo .hero-copy h1 {
  color: var(--white);
  font-size: clamp(3.6rem, 7vw, 7.1rem);
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.24);
}

.hero--photo .btn--secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(3, 17, 38, 0.54);
}

.hero-brand-panel {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(100%, 430px);
  margin: auto 0 0 auto;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(3, 17, 38, 0.72);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(16px);
  grid-template-columns: 76px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.hero-brand-panel img {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
}

.hero-brand-panel span,
.hero-brand-panel strong {
  display: block;
}

.hero-brand-panel span {
  margin-bottom: 0.25rem;
  color: var(--aqua);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-brand-panel strong {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.hero-brand-panel i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(185, 242, 39, 0.12), 0 0 18px rgba(185, 242, 39, 0.65);
}

.hero::after {
  position: absolute;
  top: 8%;
  right: -12%;
  width: 52vw;
  height: 52vw;
  border: 1px solid rgba(8, 103, 232, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 90px rgba(8, 199, 239, 0.03), 0 0 0 180px rgba(8, 103, 232, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(500px, 0.98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy h1 {
  max-width: 940px;
}

.hero-copy .lead {
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 2.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-note span::before {
  margin-right: 0.5rem;
  color: var(--blue);
  content: "\25CF";
}

.tech-visual {
  position: relative;
  min-height: clamp(570px, 43vw, 690px);
}

.tech-core {
  position: absolute;
  inset: 15% 8% 10% 8%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 46px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.9)) padding-box,
    linear-gradient(145deg, rgba(8, 199, 239, 0.6), rgba(8, 103, 232, 0.05)) border-box;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.tech-core::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(8, 103, 232, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 103, 232, 0.08) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.tech-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 74%;
  border-radius: 24px;
  transform: translate(-50%, -50%) rotate(-2deg);
  filter: drop-shadow(0 18px 28px rgba(4, 50, 115, 0.12));
}

.orbit {
  position: absolute;
  border: 1px solid rgba(8, 103, 232, 0.19);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}

.orbit::after {
  position: absolute;
  top: 20%;
  left: -6px;
  width: 12px;
  height: 12px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 20px var(--cyan);
}

.orbit--one {
  inset: 2% -2% 0 0;
}

.orbit--two {
  inset: 10% 8% 8% -7%;
  animation-direction: reverse;
  animation-duration: 22s;
}

.floating-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 30px rgba(7, 26, 59, 0.12);
  font-size: 0.83rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
  animation: float 5s ease-in-out infinite;
}

.floating-chip::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(185, 242, 39, 0.18);
}

.floating-chip--a {
  top: 9%;
  right: 0;
}

.floating-chip--b {
  bottom: 8%;
  left: 0;
  animation-delay: -2s;
}

.capability-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.capability-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.capability-track span {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.capability-track span::after {
  color: var(--cyan);
  content: "+";
  font-size: 1.3rem;
}

.section-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: end;
}

.section-head::after {
  position: absolute;
  bottom: -1.35rem;
  left: 0;
  width: min(18vw, 210px);
  height: 2px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--cyan) 62%, transparent);
  transform-origin: left;
  animation: circuit-line-breathe 3.8s ease-in-out infinite;
}

.section-head::before {
  position: absolute;
  bottom: calc(-1.35rem - 4px);
  left: min(18vw, 210px);
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  content: "";
  background: var(--paper);
  box-shadow: 0 0 15px rgba(8, 199, 239, 0.55);
  animation: pcb-node-pulse 3.8s ease-in-out infinite;
}

.section--dark .section-head::before {
  background: #061a3c;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head p {
  margin-bottom: 0.4rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(7, 26, 59, 0.07);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  border-color: rgba(8, 199, 239, 0.35);
  box-shadow: 0 24px 50px rgba(7, 26, 59, 0.12);
  transform: translateY(-7px);
}

.service-card {
  display: flex;
  min-height: 350px;
  flex-direction: column;
}

.card-icon {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(8, 103, 232, 0.12);
  border-radius: 18px;
  color: var(--blue);
  background: linear-gradient(145deg, #f1fbff, #e4f1ff);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  place-items: center;
}

.card-icon::before {
  position: absolute;
  top: 50%;
  right: -21px;
  width: 20px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.card-icon::after {
  position: absolute;
  top: calc(50% - 3px);
  right: -22px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(8, 199, 239, 0.65);
  animation: pcb-node-pulse 2.6s ease-in-out infinite;
}

.card:hover .card-icon svg,
.card:hover .icon-box--svg svg {
  animation: icon-signal 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.card-icon svg,
.icon-box--svg svg {
  width: 27px;
  height: 27px;
}

.service-card .card-index {
  margin-bottom: 1.7rem;
}

.service-card::after {
  position: absolute;
  right: -70px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(8, 103, 232, 0.13);
  border-radius: 50%;
  content: "";
  transition: transform 300ms ease;
}

.service-card:hover::after {
  transform: scale(1.22);
}

.card-index {
  margin-bottom: 3rem;
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card p {
  color: var(--muted);
}

.service-card .text-link {
  margin-top: auto;
}

.bento {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.bento-stack {
  display: grid;
  gap: 1.25rem;
}

.feature-panel {
  min-height: 520px;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 38px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(8, 199, 239, 0.42), transparent 20rem),
    linear-gradient(145deg, #061b3e, #073f88);
  box-shadow: var(--shadow);
}

.feature-panel h2 {
  max-width: 700px;
}

.feature-panel .lead {
  color: #c4d4e9;
}

.signal-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-top: 3rem;
  align-items: center;
}

.signal-line span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 6px rgba(185, 242, 39, 0.14), 0 0 28px rgba(185, 242, 39, 0.7);
}

.signal-line div {
  height: 1px;
  background: linear-gradient(to right, var(--lime), transparent);
}

.metric-card {
  min-height: 160px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.metric-card:hover {
  border-color: rgba(8, 199, 239, 0.38);
  box-shadow: none;
}

.metric-value {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--aqua);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.metric-label {
  color: #b9c9df;
  font-size: 0.88rem;
}

.process-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 110px 1fr 1fr;
  gap: 2rem;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.process-number {
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.process-item h3 {
  margin-bottom: 0;
}

.process-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.industry-card {
  min-height: 240px;
}

.industry-card .icon-box,
.value-card .icon-box {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 2rem;
  border-radius: 14px;
  color: var(--blue);
  background: #e9f6ff;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
}

.industry-card .icon-box--svg,
.value-card .icon-box--svg {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(8, 103, 232, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, #effbff, #e3f0ff);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 6rem);
  border-radius: 42px;
  color: var(--white);
  background: linear-gradient(135deg, #0553bf, #08a9d8);
  box-shadow: 0 30px 80px rgba(8, 103, 232, 0.28);
}

.cta-panel::before {
  position: absolute;
  top: -55%;
  right: -12%;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.04), 0 0 0 140px rgba(255, 255, 255, 0.025);
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 850px;
}

.cta-panel p {
  max-width: 660px;
  color: #dbf5ff;
}

.page-hero {
  --pcb-x: 0px;
  --pcb-y: 0px;
  position: relative;
  overflow: hidden;
  min-height: 720px;
  padding: 9.5rem 0 4.5rem;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(5, 17, 40, 0.97), rgba(4, 53, 112, 0.9)),
    linear-gradient(135deg, #06152e, #087cad);
}

.page-hero .pcb-backdrop {
  opacity: 0.34;
  mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.25) 54%, #000);
}

.page-hero::after {
  position: absolute;
  top: -40%;
  right: -8%;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 100px rgba(8, 199, 239, 0.04), 0 0 0 200px rgba(8, 103, 232, 0.04);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-media {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(116, 233, 255, 0.035);
}

.page-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(2, 12, 30, 0.76), transparent 48%);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page-hero-media:hover img {
  transform: scale(1.035);
}

.page-hero-media figcaption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 2;
  display: flex;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  color: #bed2e9;
  background: rgba(3, 18, 41, 0.68);
  backdrop-filter: blur(14px);
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-hero-media figcaption i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(185, 242, 39, 0.8);
}

.page-hero-media figcaption strong {
  color: var(--white);
  font-size: 0.78rem;
}

.page-hero h1 {
  max-width: 1050px;
  font-size: clamp(3rem, 6.7vw, 6.5rem);
}

.page-hero .lead {
  color: #c6d8ed;
}

.breadcrumbs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  color: #a9c0dc;
  font-size: 0.82rem;
  font-weight: 700;
}

.breadcrumbs a:hover {
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.sticky-copy {
  position: sticky;
  top: 120px;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
}

.check-list li::before {
  position: absolute;
  top: 0.32rem;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--white);
  content: "\2713";
  background: var(--blue);
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
}

.detail-block {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.detail-block:first-child {
  padding-top: 0;
}

.detail-block p:last-child {
  margin-bottom: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  padding: 0.48rem 0.78rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 750;
}

.quote {
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 5px solid var(--cyan);
  border-radius: 0 28px 28px 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote p {
  margin-bottom: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.3;
}

.insight-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
}

.insight-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2.4rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.insight-card .text-link {
  margin-top: auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.5rem;
}

.contact-card {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(8, 199, 239, 0.3), transparent 18rem),
    var(--ink);
}

.contact-card a {
  display: block;
  margin: 0.55rem 0 1.4rem;
  color: var(--aqua);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
}

.contact-card address {
  color: #d2deef;
  font-style: normal;
}

.contact-card .muted {
  color: #b7c7df;
}

.form-card {
  background: var(--white);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  color: var(--ink);
  background: #f8fbff;
}

.field input,
.field select {
  min-height: 52px;
  padding: 0 0.95rem;
}

.field textarea {
  min-height: 145px;
  padding: 0.9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 199, 239, 0.12);
}

.form-trap {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.field--consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
  line-height: 1.55;
}

.field--consent input {
  width: 1.05rem;
  min-height: 1.05rem;
  margin-top: 0.15rem;
  accent-color: var(--blue);
}

.field--consent a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.form-card button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: #e8faff;
  color: var(--ink-soft);
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  border: 1px solid rgba(180, 35, 24, 0.22);
  background: #fff0ee;
  color: #7a271a;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.faq-question {
  display: flex;
  width: 100%;
  padding: 1.25rem 1.4rem;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.faq-question::after {
  color: var(--blue);
  content: "+";
  font-size: 1.5rem;
}

.faq-question[aria-expanded="true"]::after {
  content: "\2212";
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 1.4rem 1.35rem;
  margin: 0;
  color: var(--muted);
}

.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}

.legal-copy {
  max-width: 850px;
}

.legal-copy h2 {
  margin-top: 3rem;
  font-size: 2rem;
}

.legal-copy h3 {
  margin-top: 2rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 1.2rem 0 1.5rem;
  color: #c8d5e8;
  background:
    radial-gradient(circle at 10% 62%, rgba(8, 103, 232, 0.2), transparent 34rem),
    radial-gradient(circle at 92% 12%, rgba(8, 199, 239, 0.18), transparent 28rem),
    #020b1a;
}

.footer-wrap {
  position: relative;
  z-index: 2;
}

.footer-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(116, 233, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(8, 199, 239, 0.018), 0 0 0 200px rgba(8, 103, 232, 0.018);
  transform: translateX(-50%);
}

.footer-circuit {
  position: absolute;
  top: 44%;
  left: 0;
  width: 20vw;
  height: 180px;
  border-top: 1px solid rgba(116, 233, 255, 0.18);
  border-right: 1px solid rgba(116, 233, 255, 0.18);
  border-radius: 0 36px 0 0;
}

.footer-circuit::before,
.footer-circuit::after,
.footer-circuit span,
.footer-circuit i,
.footer-circuit b {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 16px rgba(8, 199, 239, 0.6);
}

.footer-circuit::before { top: -5px; left: 18%; }
.footer-circuit::after { top: -5px; right: -5px; }
.footer-circuit span { top: 36%; right: -5px; }
.footer-circuit i { right: -5px; bottom: -5px; }
.footer-circuit b { right: 36%; bottom: -5px; }

.footer-circuit::before,
.footer-circuit::after,
.footer-circuit span,
.footer-circuit i,
.footer-circuit b {
  animation: pcb-node-pulse 3s ease-in-out infinite;
}

.footer-circuit::after { animation-delay: -0.6s; }
.footer-circuit span { animation-delay: -1.2s; }
.footer-circuit i { animation-delay: -1.8s; }
.footer-circuit b { animation-delay: -2.4s; }

.footer-cta {
  display: grid;
  padding: clamp(2.2rem, 5vw, 4.8rem);
  border: 1px solid rgba(116, 233, 255, 0.22);
  border-radius: 36px;
  background:
    linear-gradient(120deg, rgba(7, 82, 179, 0.85), rgba(5, 35, 78, 0.92) 58%, rgba(5, 87, 120, 0.78)),
    #052651;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.footer-kicker {
  display: block;
  margin-bottom: 1rem;
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-cta h2 {
  max-width: 900px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.6rem, 5.3vw, 5.8rem);
}

.footer-cta-actions p {
  margin-bottom: 1.5rem;
  color: #c8dcef;
}

.footer-main {
  display: grid;
  padding: clamp(4rem, 7vw, 7rem) 0 4rem;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 9rem);
}

.footer-identity {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(180px, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: center;
}

.footer-logo {
  display: block;
  padding: 0.65rem;
  border: 1px solid rgba(116, 233, 255, 0.24);
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), 0 0 40px rgba(8, 199, 239, 0.08);
}

.footer-logo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 26px;
  object-fit: cover;
}

.footer-identity-copy strong {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  line-height: 1.1;
}

.footer-identity-copy p {
  margin: 0;
  color: #91a8c5;
  font-size: 0.92rem;
}

.footer-directory {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 1fr;
  gap: clamp(1.6rem, 4vw, 4.5rem);
  align-items: start;
}

.footer-title {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.78rem;
  color: #9fb2ca;
  font-size: 0.86rem;
}

.footer-links a:hover {
  color: var(--aqua);
}

.footer-phone {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  gap: 1rem;
  justify-content: space-between;
  color: #7d93b0;
  font-size: 0.75rem;
}

.footer-signal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-signal i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 14px rgba(185, 242, 39, 0.7);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes splash-logo-in {
  to { opacity: 1; transform: scale(1); }
}

@keyframes splash-rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-progress {
  to { transform: translateX(0); }
}

@keyframes splash-pulse {
  70%, 100% { opacity: 0; transform: scale(1.12); }
}

@keyframes splash-grid-shift {
  to { transform: perspective(560px) rotateX(62deg) translateY(13%); }
}

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

@keyframes pcb-node-pulse {
  0%, 100% { opacity: 0.48; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.22); }
}

@keyframes header-signal {
  to { background-position: calc(100vw + 260px) 0; }
}

@keyframes circuit-line-breathe {
  0%, 100% { opacity: 0.45; transform: scaleX(0.82); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes icon-signal {
  0% { transform: scale(1); }
  42% { color: var(--cyan); transform: scale(1.16) rotate(-3deg); filter: drop-shadow(0 0 8px rgba(8, 199, 239, 0.6)); }
  100% { transform: scale(1); }
}

/* Keep the cinematic scale on wide displays while making common laptops easier to scan. */
@media (min-width: 1121px) and (max-width: 1536px) {
  :root {
    --max: 1380px;
    --page-gutter: clamp(1.5rem, 3vw, 3.25rem);
  }

  h1 {
    font-size: clamp(3.25rem, 5.3vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.15rem, 3.6vw, 3.65rem);
  }

  .section {
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
  }

  .site-header {
    padding-block: 0.45rem;
  }

  .nav-shell {
    min-height: 68px;
    gap: 1.3rem;
    border-radius: 19px;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .brand img {
    width: 50px;
    height: 50px;
    border-radius: 11px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.5rem;
  }

  .nav-links {
    gap: clamp(0.7rem, 1.25vw, 1.2rem);
  }

  .nav-links > a,
  .mega-trigger > a {
    font-size: 0.82rem;
  }

  .nav-cta {
    padding: 0.82rem 1rem;
    font-size: 0.78rem;
  }

  .hero {
    padding: 7.25rem 0 3.25rem;
  }

  .hero--photo {
    min-height: max(680px, 100svh);
  }

  .hero--photo .hero-copy {
    max-width: 760px;
    padding-block: 1rem;
  }

  .hero--photo .hero-copy h1 {
    max-width: 760px;
    margin-bottom: 1.1rem;
    font-size: clamp(3.35rem, 5.25vw, 5.15rem);
  }

  .hero-copy .lead {
    max-width: 600px;
    font-size: 1.02rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.72fr);
    gap: clamp(2rem, 4vw, 4rem);
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-note {
    margin-top: 1.5rem;
  }

  .hero-brand-panel {
    width: min(100%, 380px);
    grid-template-columns: 64px 1fr auto;
  }

  .hero-brand-panel img {
    width: 64px;
    height: 64px;
  }

  .page-hero {
    min-height: 610px;
    padding: 7.25rem 0 3.4rem;
  }

  .page-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.68fr);
    gap: clamp(2.25rem, 4.5vw, 4.5rem);
  }

  .page-hero h1 {
    margin-bottom: 1.1rem;
    font-size: clamp(3rem, 4.8vw, 4.75rem);
  }

  .page-hero-media,
  .page-hero-media img {
    min-height: 390px;
  }

  .section-head {
    margin-bottom: 2.5rem;
  }

  .card {
    padding: clamp(1.45rem, 2.2vw, 1.95rem);
  }

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

  .feature-panel {
    min-height: 450px;
    padding: clamp(2rem, 3.5vw, 3.25rem);
  }

  .footer-cta {
    padding: clamp(2.2rem, 3.5vw, 3.6rem);
    gap: clamp(2rem, 4.5vw, 4.5rem);
  }

  .footer-cta h2 {
    font-size: clamp(2.6rem, 4.1vw, 4.25rem);
  }

  .footer-main {
    padding: 4.5rem 0 3rem;
    gap: clamp(2.5rem, 4.5vw, 5rem);
  }

  .footer-identity {
    grid-template-columns: minmax(150px, 205px) minmax(170px, 1fr);
  }

  .footer-directory {
    gap: clamp(1.25rem, 2.5vw, 2.75rem);
  }
}

@media (max-width: 1120px) {
  .nav-links,
  .nav-shell > .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.is-open {
    position: fixed;
    top: 88px;
    right: 1rem;
    left: 1rem;
    display: flex;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.is-open a {
    padding: 0.65rem;
    font-size: 1rem;
  }

  .nav-links.is-open .nav-item,
  .nav-links.is-open .mega-trigger {
    width: 100%;
  }

  .nav-links.is-open .mega-trigger {
    justify-content: space-between;
  }

  .nav-links.is-open .mega-trigger > a {
    flex: 1;
  }

  .nav-links.is-open .mega-panel {
    position: static;
    display: none;
    width: 100%;
    max-height: 48vh;
    margin-top: 0.5rem;
    padding: 0.65rem;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    grid-template-columns: 1fr 1fr;
    transform: none;
  }

  .nav-links.is-open .nav-item--mega.is-open .mega-panel {
    display: grid;
  }

  .nav-links.is-open .mega-intro {
    grid-column: 1 / -1;
  }

  .hero-grid,
  .page-hero-grid,
  .section-head,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .tech-visual {
    min-height: 500px;
  }

  .hero--photo {
    background-position: 62% center;
  }

  .hero--photo .hero-grid {
    min-height: 680px;
    align-content: end;
  }

  .hero--photo .hero-copy {
    max-width: 760px;
  }

  .hero-brand-panel {
    margin: 0;
  }

  .page-hero {
    min-height: auto;
  }

  .page-hero-media,
  .page-hero-media img {
    min-height: 360px;
  }

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

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

  .sticky-copy {
    position: static;
  }

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

  .footer-main {
    gap: 4rem;
  }

  .footer-identity {
    grid-template-columns: 240px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(3rem, 17vw, 5.1rem);
  }

  .section {
    padding: 4.5rem 0;
  }

  .container {
    --page-gutter: 0.7rem;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }

  .brand-copy strong {
    font-size: 0.93rem;
  }

  .brand-copy small {
    font-size: 0.45rem;
  }

  .nav-shell {
    min-height: 60px;
    border-radius: 18px;
  }

  .nav-shell::before {
    right: 4.2rem;
    left: 4.2rem;
    opacity: 0.5;
  }

  .pcb-backdrop {
    inset: 0;
    opacity: 0.18;
  }

  .hero {
    min-height: auto;
    padding-top: 8.2rem;
  }

  .hero--photo {
    min-height: 820px;
    padding-top: 7.4rem;
    background:
      linear-gradient(180deg, rgba(2, 10, 24, 0.82), rgba(2, 12, 28, 0.93) 68%, rgba(2, 10, 24, 0.98)),
      url("../images/bapa-hero-team.webp") 67% center / cover no-repeat;
  }

  .hero--photo .hero-grid {
    min-height: 690px;
  }

  .hero--photo .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-brand-panel {
    grid-template-columns: 58px 1fr auto;
    border-radius: 19px;
  }

  .hero-brand-panel img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  .hero-grid {
    gap: 1rem;
  }

  .hero-note {
    display: grid;
    gap: 0.55rem;
  }

  .tech-visual {
    min-height: 380px;
  }

  .tech-core {
    inset: 13% 2% 8% 2%;
    border-radius: 30px;
  }

  .floating-chip--a {
    right: 1%;
  }

  .floating-chip--b {
    left: 1%;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 58px 1fr;
    gap: 1rem;
  }

  .process-item p {
    grid-column: 2;
  }

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

  .feature-panel,
  .cta-panel {
    border-radius: 28px;
  }

  .page-hero {
    padding: 8.3rem 0 3rem;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .page-hero-grid {
    gap: 2rem;
  }

  .page-hero-media,
  .page-hero-media img {
    min-height: 260px;
  }

  .page-hero-media {
    border-radius: 24px;
  }

  .site-footer {
    padding-top: 0.7rem;
  }

  .footer-cta {
    padding: 2rem 1.4rem;
    border-radius: 26px;
  }

  .footer-cta h2 {
    font-size: clamp(2.35rem, 13vw, 4rem);
  }

  .footer-cta-actions .btn {
    width: 100%;
  }

  .footer-main {
    padding: 4rem 0 3rem;
  }

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

  .footer-logo {
    width: min(76vw, 280px);
  }

  .footer-directory {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 1.5rem;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

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

  .nav-links.is-open .mega-panel {
    grid-template-columns: 1fr;
  }

  .nav-links.is-open .mega-intro {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .pcb-signals { display: none; }
  .pcb-backdrop { transform: none; }
}
