/* ── Section 1 · Intro (the loop) ────────────────────────────── */
.s1 { text-align: center; }
.s1-watermark { position: absolute; z-index: 0; top: 50%; left: 50%; width: min(460px, 62vw); transform: translate(-50%, -62%); opacity: .05; pointer-events: none; user-select: none; }

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: center; }
.hero-center { min-width: 0; }
.hero-head { max-width: 760px; margin: 0 auto; }
.hero-head h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 800; margin-top: 18px; line-height: 1.02; letter-spacing: -0.035em; }
.hero-head p.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--text-2); margin: 20px auto 0; max-width: 640px; }

/* Capability rails (fill the side gutters) */
.rail { display: none; }
.railcard { text-align: left; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; box-shadow: 0 6px 22px rgba(0,0,0,.35); backdrop-filter: blur(6px); animation: floaty 6.5s ease-in-out infinite; }
.railcard .ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(22,153,214,.10); border: 1px solid rgba(22,153,214,.20); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.railcard .ic svg { width: 17px; height: 17px; }
.railcard h5 { font-size: 13.5px; font-weight: 600; margin-top: 11px; letter-spacing: -0.01em; }
.railcard p { font-size: 11.5px; color: var(--text-2); margin-top: 3px; line-height: 1.35; }

/* Continuous loop */
.loop { position: relative; width: min(480px, 88vw); aspect-ratio: 1; margin: 40px auto 0; }
.loop .halo { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(22,153,214,.18), transparent 62%); animation: breathe 5.5s ease-in-out infinite; }
.loop .track { position: absolute; inset: 10%; border-radius: 50%; border: 2px solid rgba(22,153,214,.20); box-shadow: inset 0 0 44px rgba(22,153,214,.05); }
.loop .sweep { position: absolute; inset: 10%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(22,153,214,.12) 72%, var(--accent) 90%, rgba(22,153,214,0) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  filter: drop-shadow(0 0 7px var(--glow)); animation: spin 4.6s linear infinite; }
.loop .orbit { position: absolute; inset: 10%; animation: spin 4.6s linear infinite; }
.loop .orbit .comet { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px 4px var(--glow); }
.loop .arw { position: absolute; color: rgba(22,153,214,.75); }
.loop .arw svg { width: 15px; height: 15px; display: block; filter: drop-shadow(0 0 3px var(--glow)); }
.loop .arw.a1 { top: 22%; left: 78%; transform: translate(-50%,-50%) rotate(45deg); }
.loop .arw.a2 { top: 78%; left: 78%; transform: translate(-50%,-50%) rotate(135deg); }
.loop .arw.a3 { top: 78%; left: 22%; transform: translate(-50%,-50%) rotate(225deg); }
.loop .arw.a4 { top: 22%; left: 22%; transform: translate(-50%,-50%) rotate(315deg); }
.loop .node { position: absolute; transform: translate(-50%,-50%); display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: rgba(12,23,35,.9); backdrop-filter: blur(6px); border: 1px solid rgba(55,182,236,.5); color: var(--text); font-weight: 600; font-size: 15px; white-space: nowrap; box-shadow: 0 6px 20px rgba(22,153,214,.14); animation: nodePulse 4.6s ease-in-out infinite; }
.loop .node .ic { display: inline-flex; color: var(--accent); }
.loop .node .ic svg { width: 17px; height: 17px; }
.loop .node.green { border-color: rgba(31,157,99,.55); animation-name: nodePulseGreen; }
.loop .node.green .ic { color: var(--green); }
.loop .n-top { top: 10%; left: 50%; animation-delay: 0s; }
.loop .n-right { top: 50%; left: 90%; animation-delay: 1.15s; }
.loop .n-bottom { top: 90%; left: 50%; animation-delay: 2.3s; }
.loop .n-left { top: 50%; left: 10%; animation-delay: 3.45s; }
.loop .core { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; padding: 16px 28px; border-radius: 16px; background: #0c1723; border: 1px solid var(--line-2); box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: coreGlow 5.5s ease-in-out infinite; }
.loop .core img { width: 30px; height: 30px; display: block; margin: 0 auto 7px; }
.loop .core .lbl { font-size: 10.5px; letter-spacing: 0.22em; color: var(--text-3); text-transform: uppercase; font-weight: 600; }
.loop .core .nm { font-size: 23px; font-weight: 800; color: var(--accent); margin-top: 3px; letter-spacing: -0.02em; }

.foundations { margin-top: 30px; }
.foundations .lbl { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.foundations .row { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.foundations .row span { color: var(--text-3); font-weight: 500; font-size: 14px; }

@media (min-width: 1120px) {
  .hero-grid { grid-template-columns: 214px minmax(0, 1fr) 214px; gap: 22px; }
  .rail { display: flex; flex-direction: column; gap: 16px; }
  .rail.left { transform: translateY(-8px); }
  .rail.right { transform: translateY(8px); }
  .rail .railcard:nth-child(2) { animation-delay: 1.3s; }
  .rail .railcard:nth-child(3) { animation-delay: 2.6s; }
}
