/* JPKP homepage-only styles — hero ecosystem visual + home responsive tweaks.
   Shared design system + all reusable section blocks live in site.css. */

/* hero */
.hero {
  min-height: 100svh;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 150px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}
.hero:after {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -18vw;
  top: 4vw;
  background: radial-gradient(circle, rgba(242, 124, 10, .13), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #fff;
}
.hero-kicker .eyebrow {
  color: #fff;
  opacity: .72;
}
.hero h1 {
  font-size: clamp(58px, 8vw, 125px);
  line-height: .83;
  letter-spacing: -.075em;
  font-weight: 900;
  text-transform: uppercase;
  max-width: 850px;
}
.hero h1 .accent {
  color: var(--red);
}
.hero-copy {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  max-width: 610px;
  margin: 32px 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 17px;
}
.hero-services span {
  font: 500 10px "DM Mono", monospace;
  padding: 0 14px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  margin: 4px 0;
}
.hero-services span:first-child {
  padding-left: 0;
}

.hero-visual {
  min-height: 570px;
  position: relative;
  display: grid;
  place-items: center;
}
.ecosystem {
  width: min(570px, 100%);
  aspect-ratio: 1 / 1;
  position: relative;
}
.eco-ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  inset: 9%;
}
.eco-ring.r2 {
  inset: 22%;
  border-style: dashed;
  animation: spin 26s linear infinite;
}
.eco-ring.r3 {
  inset: 35%;
  border-color: rgba(242, 124, 10, .45);
}
.eco-center {
  position: absolute;
  inset: 36%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  background: #000;
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .025);
}
.eco-center strong {
  font-size: clamp(23px, 3vw, 36px);
  letter-spacing: -.06em;
}
.eco-center small {
  font: 400 9px "DM Mono", monospace;
  color: var(--orange);
  letter-spacing: .14em;
}
.node {
  position: absolute;
  padding: 10px 12px;
  background: #fff;
  color: var(--blue);
  font: 700 10px "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .18);
}
.node:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, .25);
  top: 50%;
}
.n1 { left: 4%; top: 18%; }
.n1:after { right: -80px; }
.n2 { right: 2%; top: 28%; }
.n2:after { left: -80px; }
.n3 { right: 0; bottom: 24%; }
.n3:after { left: -80px; }
.n4 { left: 5%; bottom: 17%; }
.n4:after { right: -80px; }
.n5 { left: 42%; top: 2%; background: var(--red); color: #fff; }
.n5:after { top: auto; bottom: -52px; left: 50%; width: 1px; height: 52px; }
.n6 { left: 39%; bottom: 0; background: var(--orange); color: #000; }
.n6:after { top: -52px; bottom: auto; left: 50%; width: 1px; height: 52px; }
.eco-signal {
  position: absolute;
  right: 5%;
  bottom: 4%;
  font: 400 9px "DM Mono", monospace;
  color: rgba(255, 255, 255, .5);
  text-align: right;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 500px; }
}

@media (max-width: 760px) {
  .hero { padding: 120px 0 50px; }
  .hero h1 { font-size: clamp(51px, 16vw, 90px); }
  .hero-copy { font-size: 15px; }
  .hero-visual { min-height: 390px; }
  .ecosystem { width: 100%; }
  .node { font-size: 8px; padding: 8px; }
  .n1:after, .n2:after, .n3:after, .n4:after { width: 40px; }
  .n1:after, .n4:after { right: -40px; }
  .n2:after, .n3:after { left: -40px; }
  .hero-services span { padding: 0 9px; }
}
