/* Friendly typography with a photo-free neural sculpture. */
.hero-title{font-family:var(--font);font-size:clamp(3rem,6.6vw,5.8rem);font-weight:800;letter-spacing:-.035em;line-height:1.03;text-transform:none}
.hero-title .line{padding:.04em .04em .04em 0}.hero-title .line:last-child{margin-top:0;padding-bottom:.38em;margin-bottom:-.25em}.hero-highlight{background:none;padding:0;color:var(--accent);letter-spacing:inherit}.hero-title .hero-swoosh{display:block}.hero::after{display:none}.hero-context{letter-spacing:.1em}
.neural-scene{position:relative;min-width:0;align-self:center}.neural-canvas{display:block;width:100%;height:clamp(320px,42vw,560px);border-radius:50%;background:radial-gradient(ellipse at center,rgba(102,212,193,.08),transparent 67%)}.neural-caption{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1.2rem 0;border-top:1px solid rgba(102,212,193,.2);font-size:.75rem;color:var(--text-muted)}.motion-toggle{font:inherit;color:var(--accent);border:1px solid rgba(102,212,193,.35);border-radius:999px;background:transparent;padding:.45rem .8rem;cursor:pointer;white-space:nowrap}.motion-toggle:hover{background:rgba(102,212,193,.12)}.motion-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:900px){.hero-title{font-size:clamp(2.65rem,10vw,5.8rem)}.hero-inner{gap:2.5rem}.neural-scene{width:100%;max-width:600px;justify-self:center}.neural-canvas{height:330px}.hero{padding-top:2rem}}

/* Photo placeholders frame the neural sphere without covering its centre. */
.neural-stage{position:relative;isolation:isolate}
.neural-stage .neural-canvas{height:clamp(410px,46vw,620px)}
.floating-photo{position:absolute;z-index:1;width:27%;aspect-ratio:4/5;border-radius:16px;background:linear-gradient(145deg,#d5d9db,#969fa4);border:1px solid rgba(255,255,255,.3);box-shadow:0 20px 50px rgba(0,0,0,.16);display:flex;align-items:flex-end;padding:12px;animation:photo-float var(--float-time,8s) ease-in-out infinite alternate;transform:translateY(0) rotate(var(--tilt));}
.floating-photo span{font-size:.62rem;font-weight:700;line-height:1.4;color:#263e48;letter-spacing:.02em}
.photo-one{left:0;top:5%;--tilt:-8deg;--float-time:7s}
.photo-two{right:0;top:12%;--tilt:8deg;--float-time:9s;animation-delay:-3s}
.photo-three{right:7%;bottom:5%;--tilt:-5deg;--float-time:8s;animation-delay:-5s;width:30%;aspect-ratio:5/4}
@keyframes photo-float{to{transform:translateY(-18px) rotate(calc(var(--tilt) + 3deg))}}
.neural-scene.is-paused .floating-photo{animation-play-state:paused}
@media(max-width:900px){.neural-stage .neural-canvas{height:430px}.floating-photo{width:24%}.photo-three{width:28%}}
@media(max-width:480px){.neural-stage .neural-canvas{height:350px}.floating-photo{padding:9px;border-radius:12px}.floating-photo span{font-size:.55rem}}
@media(prefers-reduced-motion:reduce){.floating-photo{animation:none}}

/* Six quieter cards arranged around an open centre. */
.floating-photo{width:21%;border-radius:13px;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.photo-one{left:2%;top:8%}
.photo-two{right:2%;top:12%}
.photo-three{right:0;bottom:17%;width:23%}
.photo-four{left:37%;top:0;--tilt:4deg;--float-time:11s;animation-delay:-4s;width:21%;aspect-ratio:5/4;background:linear-gradient(145deg,#bcc6ca,#85959c)}
.photo-five{left:0;bottom:22%;--tilt:5deg;--float-time:10s;animation-delay:-6s;width:20%;aspect-ratio:5/4;background:linear-gradient(145deg,#bec8cc,#8f9ca2)}
.photo-six{left:31%;bottom:0;--tilt:-4deg;--float-time:9s;animation-delay:-2s;width:22%;aspect-ratio:5/4}
@media(max-width:900px){.floating-photo{width:20%}.photo-three{width:22%}.photo-four{width:20%}.photo-five{width:19%}.photo-six{width:21%}}
@media(max-width:480px){.floating-photo{padding:7px}.floating-photo span{font-size:.48rem}}

/* Cards are projected from fixed points on the sphere by the shared animation. */
.neural-stage .floating-photo{inset:auto;width:25%;aspect-ratio:4/5;animation:none;transform-origin:center;will-change:transform,opacity;pointer-events:none}
@media(max-width:480px){.neural-stage .floating-photo{width:25%;padding:7px}}

/* Varied surface positions; a hovered or focused card becomes an inspection view. */
.neural-stage .floating-photo{pointer-events:auto;cursor:zoom-in;transform:translate(-50%,-50%) perspective(700px) rotateY(var(--card-yaw,0deg)) rotateX(var(--card-pitch,0deg)) rotate(var(--card-tilt,0deg)) scale(var(--card-scale,1));transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s,opacity .35s;outline:none}
.neural-stage .floating-photo:hover,.neural-stage .floating-photo:focus-visible{transform:translate(-50%,-50%) perspective(700px) rotateY(0deg) rotateX(0deg) rotate(0deg) scale(1.35);box-shadow:0 24px 60px rgba(0,0,0,.4);border-color:var(--accent)}
.neural-stage .floating-photo:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(hover:none){.neural-stage .floating-photo:hover{transform:translate(-50%,-50%) rotate(var(--card-tilt,0deg)) scale(var(--card-scale,1))}}
@media(prefers-reduced-motion:reduce){.neural-stage .floating-photo{transition:none}}

/* Real photos in the floating cards (img/hero-1..6.jpg). The caption sits on a dark fade. */
.neural-stage .floating-photo{overflow:hidden;padding:10px;background:#0a3a50}
.neural-stage .floating-photo img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:inherit}
.neural-stage .floating-photo::after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(to top,rgba(1,34,51,.8),rgba(1,34,51,0) 50%);pointer-events:none}
.neural-stage .floating-photo span{position:relative;z-index:1;color:#fcf9f3;text-shadow:0 1px 6px rgba(0,0,0,.45)}
/* The group photo is landscape, so its card is too */
.neural-stage .floating-photo.is-wide{width:32%;aspect-ratio:5/4}
