:root {
  --bg: #06100b;
  --bg-2: #09150e;
  --panel: #0a1810;
  --panel-2: #0c1c12;
  --text: #f5f8f5;
  --muted: #9daa9f;
  --muted-2: #718076;
  --green: #59ec69;
  --green-2: #9bff79;
  --line: rgba(255,255,255,.075);
  --line-green: rgba(89,236,105,.28);
  --shadow: 0 30px 80px rgba(0,0,0,.34);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 5%, rgba(60, 178, 77, .11), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(80, 235, 96, .06), transparent 24%),
    linear-gradient(180deg, #050d08 0%, #07100b 45%, #050d08 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .032;
  z-index: 100;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.7) 0 1px, transparent 1.2px),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.5) 0 1px, transparent 1.2px);
  background-size: 28px 28px, 34px 34px;
  mix-blend-mode: overlay;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 13, 8, .76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.055);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 255px;
  max-height: 46px;
  object-fit: contain;
  object-position: left center;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c4cec6;
  font-size: 14px;
}

nav a {
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

nav a:hover { color: var(--green); }

.nav-contact {
  border: 1px solid var(--line-green);
  border-radius: 999px;
  padding: 11px 16px;
  background: rgba(89,236,105,.035);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: white;
  margin: 5px auto;
}

.hero {
  position: relative;
  padding: 92px 0 86px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(100px);
  pointer-events: none;
}

.glow-a {
  width: 420px;
  height: 420px;
  background: rgba(74, 231, 93, .10);
  right: 5%;
  top: 10%;
}

.glow-b {
  width: 280px;
  height: 280px;
  background: rgba(38, 124, 56, .13);
  left: -100px;
  bottom: -30px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 62px;
  align-items: center;
}

.kicker,
.section-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-2);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 16px rgba(89,236,105,.65);
}

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

h1 {
  margin: 22px 0 26px;
  font-size: clamp(54px, 6.9vw, 92px);
  line-height: .91;
  letter-spacing: -.064em;
  max-width: 740px;
}

h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(164, 255, 175, .55);
  text-shadow: 0 0 26px rgba(89,236,105,.06);
}

.hero-text {
  max-width: 630px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--muted);
}

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

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #8dff75, #46d85e);
  color: #06100b;
  box-shadow: 0 14px 40px rgba(68, 224, 89, .14);
}

.btn-secondary {
  color: white;
  border-color: rgba(255,255,255,.11);
  background: rgba(255,255,255,.025);
}

.hero-meta {
  margin-top: 46px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero-meta > div {
  min-width: 0;
}

.meta-label {
  display: block;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9px;
  margin-bottom: 7px;
}

.hero-meta strong {
  font-size: 13px;
  color: #dce4de;
}

.lab-shell {
  position: relative;
  border: 1px solid rgba(100, 255, 116, .24);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 28, 17, .90), rgba(6, 17, 10, .95));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}

.lab-toolbar,
.lab-footer {
  min-height: 62px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: 0 20px;
}

.lab-toolbar {
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.lab-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: #bfcbc2;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

.lab-readout {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.lab-readout span {
  font-size: 8px;
  color: var(--muted-2);
  letter-spacing: .12em;
}

.lab-readout strong {
  font-size: 12px;
  color: var(--green-2);
}

.lab-stage {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  perspective: 900px;
}

.lab-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(89,236,105,.027) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,236,105,.027) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.pcb-art {
  position: absolute;
  width: 116%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%)
             rotateX(var(--scrollTilt, 0deg))
             rotateZ(var(--scrollSpin, 0deg))
             scale(calc(1 + var(--scrollScale, 0)));
  transform-origin: center;
  transition: transform .12s linear;
  overflow: visible;
}

.grid-lines path {
  fill: none;
  stroke: rgba(89,236,105,.035);
  stroke-width: 1;
}

.halo {
  transform-origin: center;
  animation: haloPulse 4s ease-in-out infinite;
}

.traces .trace {
  stroke: rgba(89,236,105,.31);
  stroke-width: 2;
  stroke-dasharray: 11 11;
  animation: traceMove 3.2s linear infinite;
}

.trace-2,
.trace-4,
.trace-6 { animation-direction: reverse !important; }

.pads circle {
  fill: #09170e;
  stroke: #66f474;
  stroke-width: 2;
  filter: url(#softGlow);
}

.chip-body {
  fill: #0b1f13;
  stroke: rgba(104,255,119,.44);
  stroke-width: 2;
  filter: url(#softGlow);
}

.chip-inner {
  fill: #0a160e;
  stroke: rgba(255,255,255,.07);
}

.chip-kicker {
  fill: #65f674;
  font: 800 13px Inter, sans-serif;
  letter-spacing: .14em;
}

.chip-main {
  fill: white;
  font: 900 28px Inter, sans-serif;
  letter-spacing: -.04em;
}

.chip-sub {
  fill: #7e9082;
  font: 700 8px ui-monospace, monospace;
  letter-spacing: .16em;
}

.chip-pins path {
  stroke: rgba(148,255,158,.30);
  stroke-width: 4;
  stroke-linecap: round;
}

.scan-line {
  stroke: url(#traceGlow);
  stroke-width: 2;
  opacity: .9;
  filter: url(#softGlow);
}

.scan-dot {
  fill: #8bff91;
  filter: url(#softGlow);
}

.scan-group {
  animation: scanVertical 4.8s ease-in-out infinite;
}

.micro-components rect {
  fill: #0b1c12;
  stroke: rgba(255,255,255,.08);
}

.lab-float {
  position: absolute;
  z-index: 4;
  min-width: 118px;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(5, 14, 9, .72);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}

.lab-float span {
  display: block;
  color: var(--muted-2);
  font: 700 8px ui-monospace, monospace;
  letter-spacing: .14em;
  margin-bottom: 4px;
}

.lab-float strong {
  display: block;
  color: #dce6de;
  font: 800 11px ui-monospace, monospace;
}

.status-one {
  left: 22px;
  top: 28px;
}

.status-two {
  right: 22px;
  bottom: 30px;
}

.status-two strong { color: var(--green-2); }

.lab-scroll-hint {
  position: absolute;
  left: 22px;
  bottom: 31px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #647268;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 8px;
  font-weight: 800;
}

.lab-scroll-hint span {
  width: 34px;
  height: 1px;
  background: rgba(89,236,105,.38);
  position: relative;
  overflow: hidden;
}

.lab-scroll-hint span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--green);
  transform: translateX(-100%);
  animation: hintSlide 2s ease-in-out infinite;
}

.lab-footer {
  border-top: 1px solid rgba(255,255,255,.06);
  justify-content: space-between;
  gap: 12px;
  color: #7e8f82;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.trust-bar {
  border-top: 1px solid rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.014);
}

.trust-items {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #819087;
  font-size: 10px;
}

.trust-items i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
}

.section {
  padding: 110px 0;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-intro h2,
.contact-copy h2 {
  margin: 15px 0 18px;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: .98;
  letter-spacing: -.052em;
}

.section-intro p,
.contact-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
  max-width: 650px;
}

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

.service-row {
  display: grid;
  grid-template-columns: 60px minmax(180px, .85fr) 1.2fr 42px;
  align-items: center;
  gap: 22px;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}

.service-row:hover {
  background: rgba(89,236,105,.027);
  padding-inline: 15px;
}

.service-number {
  color: var(--green);
  font: 700 10px ui-monospace, monospace;
}

.service-row h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.02em;
}

.service-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
  font-size: 14px;
}

.service-arrow {
  justify-self: end;
  color: #67776d;
  font-size: 21px;
}

.process-section {
  border-top: 1px solid rgba(255,255,255,.055);
  border-bottom: 1px solid rgba(255,255,255,.055);
  background:
    radial-gradient(circle at 80% 40%, rgba(89,236,105,.07), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.012), rgba(255,255,255,0));
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.process-card {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: rgba(8, 20, 12, .54);
}

.process-card:last-child { border-right: 0; }

.process-card span {
  display: block;
  color: var(--green);
  font: 700 10px ui-monospace, monospace;
  margin-bottom: 56px;
}

.process-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.row-intro {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.025);
  color: white;
  cursor: pointer;
}

.carousel-controls button:hover {
  color: var(--green);
  border-color: var(--line-green);
}

.work-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 38%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.work-carousel::-webkit-scrollbar { display: none; }

.work-card {
  position: relative;
  aspect-ratio: 4/3;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #0b1710;
}

.work-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(89,236,105,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,236,105,.035) 1px, transparent 1px);
  background-size: 26px 26px;
}

.work-grid::before,
.work-grid::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(89,236,105,.40), transparent);
  height: 1px;
}

.work-grid::before {
  width: 75%;
  top: 33%;
  left: 10%;
  transform: rotate(-15deg);
}

.work-grid::after {
  width: 55%;
  bottom: 27%;
  right: 8%;
  transform: rotate(19deg);
}

.work-a {
  background:
    radial-gradient(circle at 24% 28%, rgba(89,236,105,.14), transparent 28%),
    #0a1710;
}

.work-b {
  background:
    radial-gradient(circle at 75% 25%, rgba(89,236,105,.11), transparent 26%),
    #0c1b12;
}

.work-c {
  background:
    linear-gradient(135deg, rgba(89,236,105,.06), transparent 52%),
    #08130d;
}

.work-d {
  background:
    radial-gradient(circle at 50% 50%, rgba(89,236,105,.08), transparent 34%),
    #0a1710;
}

.work-info {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  gap: 5px;
}

.work-info span {
  color: var(--green);
  font: 700 10px ui-monospace, monospace;
}

.work-info strong { font-size: 20px; }
.work-info small { color: var(--muted); }

.contact-section {
  padding-top: 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: 64px;
}

.location-card {
  max-width: 480px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 17px;
  margin-top: 30px;
  border: 1px solid var(--line-green);
  border-radius: 17px;
  background: rgba(89,236,105,.035);
}

.location-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--green);
  color: #06100b;
  font-size: 21px;
}

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

.location-card span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 9px;
}

.location-card strong {
  margin: 4px 0 3px;
  font-size: 16px;
}

.location-card small { color: var(--muted); }

.location-card b {
  color: #75847a;
  font-weight: 500;
}

.business-note {
  margin-top: 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.business-note span {
  color: var(--green);
  font: 700 9px ui-monospace, monospace;
  letter-spacing: .14em;
}

.business-note p {
  margin: 0;
  font-size: 13px;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.014));
  padding: 28px;
}

.form-head {
  margin-bottom: 22px;
}

.form-head span {
  display: block;
  color: var(--green);
  font: 700 9px ui-monospace, monospace;
  letter-spacing: .14em;
  margin-bottom: 5px;
}

.form-head strong {
  font-size: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: #c6d0c8;
  font-size: 12px;
  font-weight: 700;
}

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 13px;
  background: rgba(0,0,0,.18);
  color: white;
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea {
  resize: vertical;
  min-height: 135px;
}

input::placeholder,
textarea::placeholder {
  color: #607066;
}

input:focus,
textarea:focus {
  border-color: rgba(89,236,105,.52);
  box-shadow: 0 0 0 3px rgba(89,236,105,.055);
}

.btn-full { width: 100%; }

.form-status {
  margin: 12px 3px 0;
  color: #6e7d73;
  font-size: 11px;
  line-height: 1.55;
}

.form-status.success { color: var(--green-2); }

.map-section {
  height: 360px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  filter: grayscale(.85) invert(.92) contrast(.92) hue-rotate(85deg);
  opacity: .82;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  padding: 34px 0 42px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  color: #75847a;
  font-size: 12px;
}

.footer-grid img {
  width: 205px;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.footer-grid a { color: #a5b1a8; }
.footer-grid a:hover { color: var(--green); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

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

@keyframes traceMove {
  to { stroke-dashoffset: -44; }
}

@keyframes scanVertical {
  0%, 100% { transform: translateY(-92px); opacity: .4; }
  50% { transform: translateY(92px); opacity: 1; }
}

@keyframes haloPulse {
  0%, 100% { opacity: .58; transform: scale(.94); transform-origin: center; }
  50% { opacity: 1; transform: scale(1.06); transform-origin: center; }
}

@keyframes hintSlide {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-lab {
    max-width: 720px;
    width: 100%;
  }

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

  .process-card:nth-child(2) { border-right: 0; }
  .process-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .work-carousel {
    grid-auto-columns: minmax(290px, 55%);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav { min-height: 72px; }
  .brand img { width: 205px; }

  .menu-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 78px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(5, 14, 9, .97);
    box-shadow: var(--shadow);
  }

  nav.open { display: flex; }

  nav a {
    padding: 12px;
    border-radius: 10px;
  }

  nav a:hover {
    background: rgba(255,255,255,.025);
  }

  .hero {
    padding: 58px 0 62px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .hero-text { font-size: 16px; }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-meta > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
  }

  .meta-label { margin-bottom: 0; }

  .lab-stage { min-height: 380px; }
  .pcb-art { width: 132%; }

  .lab-float {
    min-width: 104px;
    padding: 9px 10px;
  }

  .lab-footer {
    flex-wrap: wrap;
    justify-content: center;
    padding-block: 12px;
  }

  .trust-items {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 16px 0;
    font-size: 8px;
  }

  .section {
    padding: 78px 0;
  }

  .service-row {
    grid-template-columns: 40px 1fr 34px;
    gap: 14px;
    padding: 18px 0;
  }

  .service-row h3 { font-size: 18px; }
  .service-row p {
    grid-column: 2 / 4;
    margin-top: -8px;
  }

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

  .process-card,
  .process-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-card:last-child { border-bottom: 0; }
  .process-card span { margin-bottom: 30px; }

  .row-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-carousel {
    grid-auto-columns: 88%;
  }

  .form-two {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-grid img { width: 190px; }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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


/* ===== KG TECH v4 additions ===== */

.focus-meta strong {
  display: block;
  max-width: 260px;
  line-height: 1.35;
}

.philosophy-section {
  padding-top: 92px;
  padding-bottom: 92px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 15% 50%, rgba(89,236,105,.055), transparent 26%),
    rgba(255,255,255,.008);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 80px;
  align-items: start;
}

.philosophy-title h2 {
  margin: 15px 0 0;
  font-size: clamp(46px, 5.4vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
}

.philosophy-title h2 span {
  color: var(--green);
}

.philosophy-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.78;
}

.philosophy-copy p + p {
  margin-top: 17px;
}

.philosophy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.philosophy-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(89,236,105,.18);
  border-radius: 999px;
  background: rgba(89,236,105,.025);
  color: #b8c5bb;
  font-size: 11px;
}

.service-row {
  cursor: pointer;
  position: relative;
  outline: none;
}

.service-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-left: 2px solid transparent;
  transition: border-color .2s ease;
}

.service-row:hover::after,
.service-row:focus-visible::after {
  border-left-color: var(--green);
}

.service-row:focus-visible {
  background: rgba(89,236,105,.035);
}

.instagram-card {
  max-width: 480px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 17px;
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 17px;
  background: rgba(255,255,255,.018);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.instagram-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-green);
  background: rgba(89,236,105,.025);
}

.instagram-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  border: 1px solid var(--line-green);
  color: var(--green);
  font-size: 24px;
}

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

.instagram-card span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 9px;
}

.instagram-card strong {
  margin: 4px 0 3px;
  font-size: 16px;
}

.instagram-card small {
  color: var(--muted);
}

.instagram-card b {
  color: #75847a;
  font-weight: 500;
}

select {
  width: 100%;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 13px;
  background: #07110b;
  color: white;
  padding: 15px 16px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

select:focus {
  border-color: rgba(89,236,105,.52);
  box-shadow: 0 0 0 3px rgba(89,236,105,.055);
}

.footer-copy a {
  color: #94a198;
}

.footer-copy a:hover {
  color: var(--green);
}

/* Service modal */
body.modal-open {
  overflow: hidden;
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}

.service-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 5, .79);
  backdrop-filter: blur(16px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(740px, calc(100vh - 48px));
  overflow: auto;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  border: 1px solid rgba(114,255,126,.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 13% 15%, rgba(89,236,105,.07), transparent 30%),
    linear-gradient(145deg, #08150d, #071009 68%);
  box-shadow: 0 40px 110px rgba(0,0,0,.56);
  transform: translateY(18px) scale(.985);
  transition: transform .22s ease;
}

.service-modal.open .modal-panel {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
  background: rgba(4,12,7,.76);
  color: #dce5df;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--green);
  border-color: var(--line-green);
}

.modal-visual {
  min-height: 510px;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(rgba(89,236,105,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,236,105,.028) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(89,236,105,.075), transparent 38%);
  background-size: 27px 27px, 27px 27px, auto;
}

.modal-visual::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(89,236,105,.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 26px rgba(89,236,105,.018),
    0 0 0 58px rgba(89,236,105,.010);
}

.service-illustration {
  position: absolute;
  width: 78%;
  max-height: 78%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 24px 34px rgba(0,0,0,.28));
}

.service-illustration .outline {
  fill: rgba(7, 18, 11, .90);
  stroke: rgba(130,255,140,.74);
  stroke-width: 2;
}

.service-illustration .soft {
  fill: rgba(89,236,105,.08);
  stroke: rgba(89,236,105,.26);
  stroke-width: 2;
}

.service-illustration .bright {
  fill: none;
  stroke: #63f375;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-illustration .muted-line {
  fill: none;
  stroke: rgba(208,227,213,.36);
  stroke-width: 2;
  stroke-linecap: round;
}

.service-illustration .chip {
  fill: #0a1d11;
  stroke: #66f477;
  stroke-width: 2;
}

.service-illustration .signal {
  fill: none;
  stroke: #6cff7d;
  stroke-width: 2;
  stroke-dasharray: 8 8;
  animation: serviceSignal 2.8s linear infinite;
}

.modal-content {
  padding: 60px 48px 44px;
}

.modal-kicker {
  color: var(--green);
  font: 700 9px ui-monospace, monospace;
  letter-spacing: .16em;
  margin-bottom: 13px;
}

.modal-content h3 {
  margin: 0 0 15px;
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1;
  letter-spacing: -.045em;
}

.modal-content > p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 24px;
}

.modal-details {
  display: grid;
  gap: 0;
  margin-bottom: 29px;
  border-top: 1px solid rgba(255,255,255,.055);
}

.modal-detail {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.055);
  color: #c2cec5;
  font-size: 13px;
  line-height: 1.45;
}

.modal-detail span {
  color: var(--green);
  font-weight: 900;
}

.modal-cta {
  width: 100%;
}

@keyframes serviceSignal {
  to { stroke-dashoffset: -32; }
}

@media (max-width: 900px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
  }

  .modal-visual {
    min-height: 285px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .service-illustration {
    width: 58%;
    max-height: 84%;
  }

  .modal-content {
    padding: 35px 28px 30px;
  }
}

@media (max-width: 600px) {
  .service-modal {
    padding: 10px;
  }

  .modal-panel {
    border-radius: 20px;
    max-height: calc(100vh - 20px);
  }

  .modal-visual {
    min-height: 220px;
  }

  .service-illustration {
    width: 70%;
  }

  .philosophy-section {
    padding-block: 72px;
  }

  .philosophy-title h2 {
    font-size: 46px;
  }
}


/* Clearer device drawings inside service popups */
.service-illustration .display-screen {
  fill: rgba(89,236,105,.075);
  stroke: rgba(112,255,125,.52);
  stroke-width: 2;
}

/* Slightly separate shipping/B2B from repair categories without changing V4 layout */
.service-row-support {
  margin-top: 18px;
  padding-inline: 14px;
  border-top: 1px solid rgba(89,236,105,.28);
  border-bottom: 1px solid rgba(89,236,105,.14);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(89,236,105,.04), transparent 75%);
}

.service-row-support:hover {
  padding-inline: 19px;
  background: linear-gradient(90deg, rgba(89,236,105,.065), transparent 75%);
}

.support-pill {
  display: inline-flex;
  margin-left: 8px;
  padding: 4px 7px;
  vertical-align: middle;
  border: 1px solid rgba(89,236,105,.22);
  border-radius: 999px;
  color: var(--green);
  font: 700 8px ui-monospace, monospace;
  letter-spacing: .12em;
}

@media (max-width: 760px) {
  .support-pill {
    display: table;
    margin: 7px 0 0;
  }
}


/* ===== Warranty notice ===== */
.warranty-strip {
  border-bottom: 1px solid rgba(255,255,255,.055);
  background:
    linear-gradient(90deg, rgba(89,236,105,.055), rgba(89,236,105,.015) 45%, transparent);
}

.warranty-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.warranty-badge {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(89,236,105,.28);
  background: rgba(89,236,105,.07);
  color: var(--green);
  font: 900 18px ui-monospace, monospace;
}

.warranty-inner span,
.warranty-inner strong {
  display: block;
}

.warranty-inner span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 9px;
  font-weight: 800;
  margin-bottom: 4px;
}

.warranty-inner strong {
  color: #d7e0d9;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

@media (max-width: 600px) {
  .warranty-inner {
    min-height: 92px;
    align-items: flex-start;
    padding-block: 18px;
  }
}


/* ===== Service / collaboration contact modes ===== */
.form-mode-hidden {
  display: none;
}

#serviceFields,
#collaborationFields {
  animation: formModeIn .22s ease;
}

.contact-form.is-collaboration {
  border-color: rgba(89,236,105,.18);
  background:
    radial-gradient(circle at 92% 10%, rgba(89,236,105,.045), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.016));
}

.contact-form.is-collaboration .form-head span {
  color: var(--green-2);
}

@keyframes formModeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
