/* /about only: the founder card (photo tilts toward the cursor) and the
   connector spheres on their stage. about.js adds the motion; without it both
   still read well. */

.fd { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 40px; align-items: center; }
.fd-photo {
  position: relative; margin: 0; aspect-ratio: 640 / 752; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, #ecebe6 55%, #d9d7cf 100%);
  border: 1px solid var(--line); box-shadow: 0 24px 48px -28px rgba(17, 17, 17, .45);
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d; will-change: transform;
}
.fd-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fd-initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 clamp(56px, 9vw, 96px)/1 var(--sans); letter-spacing: -.04em; color: var(--ink);
}
.fd-sheen {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--sheen, 0);
  background: radial-gradient(60% 60% at var(--sx, 30%) var(--sy, 20%), rgba(255, 255, 255, .55), transparent 70%);
  mix-blend-mode: soft-light; transition: opacity .3s;
}
.fd-text h3 { margin: 0; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -.02em; }
.fd-role { margin: 6px 0 14px; font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--signal-text); }
.fd-text p { max-width: 58ch; color: var(--ink-2); }
.fd-links { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.fd-links a {
  display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 14px; background: var(--paper);
}
.fd-links a:hover, .fd-links a:focus-visible { border-color: var(--ink); }

/* The stage. Until about.js has a WebGL canvas drawing, this is a list of names and a link. */
.balls { position: relative; }
.balls canvas { display: none; width: 100%; height: 540px; touch-action: pan-y; }
.balls-foot { margin: 16px 0 0; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.balls-foot a { color: var(--ink); text-underline-offset: 3px; }
.balls-name { display: none; }

.balls.live {
  border-radius: 28px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(70% 55% at 50% 46%, rgba(255, 91, 31, .10), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #1d1d21 0%, #111113 55%, #0b0b0c 100%);
  box-shadow: 0 40px 80px -48px rgba(17, 17, 17, .7), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.balls.live canvas { display: block; cursor: crosshair; }
/* The names stay for screen readers once the canvas is drawing. */
.balls.live .balls-list {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.balls.live .balls-foot {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  color: rgba(255, 255, 255, .62); pointer-events: none;
}
.balls.live .balls-name { display: inline; }
.balls.live .balls-name::before { content: "● "; color: var(--signal); font-size: 9px; vertical-align: 2px; }
.balls.live .balls-foot a { color: rgba(255, 255, 255, .86); pointer-events: auto; }
.balls.live .balls-foot a:hover, .balls.live .balls-foot a:focus-visible { color: #fff; }

@media (max-width: 760px) {
  .fd { grid-template-columns: 1fr; gap: 24px; }
  .fd-photo { max-width: 260px; }
  .balls canvas { height: 400px; }
  .balls.live { border-radius: 20px; }
  .balls.live .balls-foot { padding: 14px 16px; font-size: 11px; }
}
