/* Homepage architecture: highlight-only animation + complete details section — 2026-08-03 */

/* The animated stage is intentionally concise: active node title + a direct route to the full technical copy. */
.arch-section .arch-detail.arch-detail--highlight{
  grid-template-columns:180px minmax(0,1fr)!important;
  align-items:center!important;
  min-height:118px!important;
  max-height:none!important;
  padding:17px 22px!important;
  margin-bottom:16px!important;
  overflow:hidden!important;
}
.arch-detail--highlight .arch-highlight-content{
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:12px;
}
.arch-detail--highlight .step-copy,
.arch-detail--highlight .step-copy.active{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  flex:none!important;
}
.arch-detail--highlight .step-copy h3{
  margin:0!important;
  font-size:clamp(1.45rem,2vw,2.1rem)!important;
  line-height:1.08!important;
  text-wrap:balance;
}
.arch-detail--highlight .step-copy p{display:none!important}
.architecture-details-cta{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:38px;
  padding:9px 15px;
  border:1px solid rgba(52,211,153,.48);
  border-radius:999px;
  color:#D1FAE5;
  background:linear-gradient(135deg,rgba(16,185,129,.14),rgba(59,130,246,.08));
  box-shadow:0 10px 28px -20px rgba(52,211,153,.9),inset 0 1px 0 rgba(255,255,255,.05);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.architecture-details-cta:hover,
.architecture-details-cta:focus-visible{
  transform:translateY(-1px);
  border-color:#34D399;
  background:linear-gradient(135deg,rgba(16,185,129,.23),rgba(59,130,246,.13));
}
.architecture-details-cta span{font-size:1rem;line-height:1}

/* Full word-for-word technical descriptions live directly after the animation. */
.home-node-details{
  position:relative;
  padding:clamp(82px,9vw,136px) 0;
  background:
    radial-gradient(circle at 14% 10%,rgba(16,185,129,.09),transparent 32%),
    radial-gradient(circle at 88% 24%,rgba(59,130,246,.08),transparent 34%),
    #0D1423;
  overflow:hidden;
  scroll-margin-top:calc(var(--header) + 24px);
}
.home-node-details::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:linear-gradient(rgba(96,165,250,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(52,211,153,.03) 1px,transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(to bottom,transparent,black 15%,black 85%,transparent);
}
.home-node-details .container{position:relative;z-index:1}
.home-node-details .section-head{max-width:980px;margin-inline:auto;text-align:center}
.home-node-details .section-head .lede{max-width:760px;margin-inline:auto}
.home-node-details-grid{
  display:grid;
  gap:18px;
  max-width:1180px;
  margin:46px auto 0;
}
.home-node-detail{
  display:grid;
  grid-template-columns:104px minmax(0,1fr);
  gap:28px;
  padding:28px 30px;
  border:1px solid rgba(96,165,250,.18);
  border-radius:22px;
  background:linear-gradient(135deg,rgba(15,27,46,.88),rgba(9,15,25,.88));
  box-shadow:0 26px 60px -48px #000,inset 0 1px 0 rgba(255,255,255,.035);
}
.home-node-detail-index{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:5px;
  color:#34D399;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.home-node-detail h3{
  margin:0 0 12px;
  color:#F8FAFC;
  font-size:clamp(1.35rem,2vw,1.9rem);
  line-height:1.15;
}
.home-node-detail p{
  margin:0;
  color:#A9B7CC;
  font-size:clamp(.92rem,1.08vw,1.03rem);
  line-height:1.72;
}
.home-node-details-jump{
  display:flex;
  justify-content:center;
  margin-top:34px;
}
.home-node-details-jump a{
  color:#93C5FD;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
}
.home-node-details-jump a:hover{color:#D1FAE5}

@media (max-width:760px){
  .arch-section .arch-detail.arch-detail--highlight{
    display:block!important;
    width:100%!important;
    height:132px!important;
    min-height:132px!important;
    max-height:132px!important;
    margin:0 0 10px!important;
    padding:16px 15px!important;
    border-radius:16px!important;
  }
  .arch-detail--highlight .arch-highlight-content{
    width:100%!important;
    height:100%!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:12px!important;
    overflow:hidden!important;
  }
  .arch-detail--highlight .step-copy,
  .arch-detail--highlight .step-copy.active{
    display:block!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
  }
  .arch-detail--highlight .step-copy h3{
    max-width:100%;
    font-size:clamp(1.18rem,6vw,1.55rem)!important;
    line-height:1.08!important;
    overflow-wrap:anywhere;
  }
  .architecture-details-cta{
    min-height:34px;
    padding:8px 12px;
    font-size:.62rem;
  }
  .arch-section .flow-zone{
    height:clamp(330px,47svh,410px)!important;
    min-height:330px!important;
    max-height:410px!important;
  }
  .home-node-details{padding:72px 0}
  .home-node-details .section-head{text-align:left;margin-bottom:0}
  .home-node-details .section-head .lede{margin-left:0}
  .home-node-details-grid{margin-top:30px;gap:14px}
  .home-node-detail{
    grid-template-columns:1fr;
    gap:9px;
    padding:23px 20px;
    border-radius:18px;
  }
  .home-node-detail-index{justify-content:flex-start;padding:0}
  .home-node-detail h3{font-size:1.28rem;margin-bottom:10px}
  .home-node-detail p{font-size:.9rem;line-height:1.65}
}

@media (max-width:430px){
  .arch-section .arch-detail.arch-detail--highlight{
    height:126px!important;
    min-height:126px!important;
    max-height:126px!important;
    padding:14px 13px!important;
  }
  .arch-detail--highlight .step-copy h3{font-size:clamp(1.08rem,5.8vw,1.38rem)!important}
  .architecture-details-cta{font-size:.58rem;letter-spacing:.065em}
  .arch-section .flow-zone{
    height:clamp(320px,46svh,390px)!important;
    min-height:320px!important;
    max-height:390px!important;
  }
}


/* Final sign-off placement fixes — 2026-08-03 */
.home-architecture-footnote{
  margin:30px 0 18px;
  padding:20px 24px;
  border:1px solid rgba(148,163,184,.12);
  border-radius:18px;
  background:rgba(7,13,23,.48);
}
.home-architecture-footnote .architecture-footnote{
  width:auto;
  margin:0;
  color:#718198;
  font-size:.72rem;
  line-height:1.7;
  letter-spacing:.01em;
}
@media(max-width:760px){
  .home-architecture-footnote{margin:24px 0 16px;padding:17px 16px;border-radius:15px}
  .home-architecture-footnote .architecture-footnote{font-size:.69rem;line-height:1.65}
}
