/* Meet Connor: 3D hero and the intro film. Loaded on the Connor page only. */
.c3d { position: relative; overflow: hidden; isolation: isolate; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background: radial-gradient(ellipse 70% 60% at 72% 45%, rgba(22,166,240,.16), transparent 70%), linear-gradient(180deg, #08121e, var(--paper));
  border-bottom: 1px solid var(--line); }
.c3d-floor { position: absolute; left: -50%; right: -50%; bottom: -30%; height: 70%; z-index: -1; transform: perspective(900px) rotateX(74deg);
  transform-origin: 50% 0; background-image: linear-gradient(rgba(22,166,240,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(22,166,240,.22) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%); animation: c3d-floor 6s linear infinite; }
@keyframes c3d-floor { to { background-position: 0 64px; } }
.c3d-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.c3d-copy h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: .2em 0 .3em; letter-spacing: -.02em; }
.c3d-copy .lead { max-width: 58ch; }
.c3d-copy .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.c3d-scene { position: relative; aspect-ratio: 1; perspective: 1400px; }
.c3d-world { position: absolute; inset: 9%; transform-style: preserve-3d; transition: transform .25s var(--ease); }
.c3d-glow { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(22,166,240,.28), transparent 62%); }
.c3d-ring { position: absolute; border-radius: 50%; inset: 14%; }
.c3d-r1 { border: 2px solid rgba(22,166,240,.55); box-shadow: 0 0 40px rgba(22,166,240,.35), inset 0 0 40px rgba(22,166,240,.22); }
.c3d-r2 { inset: 20%; border: 10px solid; border-color: var(--signal) rgba(22,166,240,.22) var(--signal) rgba(22,166,240,.22); animation: c3d-spin 9s linear infinite; }
.c3d-r3 { inset: 6%; border: 2px dashed rgba(95,208,255,.45); animation: c3d-spin 28s linear infinite reverse; }
.c3d-r4 { inset: 30%; border: 2px solid rgba(95,208,255,.3); }
.c3d-tri { position: absolute; inset: 31%; width: 38%; height: 38%; overflow: visible; animation: c3d-spin 18s linear infinite; }
.c3d-core { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none;
  font-family: var(--font-mono); letter-spacing: .3em; }
.c3d-core b { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.3rem); color: var(--ink); text-shadow: 0 0 24px rgba(22,166,240,.9); }
.c3d-core span { font-size: 11px; color: #5fd0ff; margin-top: 6px; }
@keyframes c3d-spin { to { transform: rotate(360deg); } }
.c3d-orbit { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.c3d-bub { position: absolute; width: 44px; height: 44px; margin: -22px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 600 12px/1 var(--font-mono); color: #fff; background: radial-gradient(circle at 35% 30%, #7fdcff, #1683c9 45%, #06304f 82%);
  box-shadow: 0 0 18px rgba(22,166,240,.55), inset 0 -5px 10px rgba(0,0,0,.4); will-change: transform; }

.c3d-film { background: var(--mist); border-bottom: 1px solid var(--line); }
.c3d-film-inner { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.c3d-phone { margin: 0; padding: 10px; border-radius: 38px; background: #02060c; border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), 0 0 60px rgba(22,166,240,.18); transform: perspective(1200px) rotateY(10deg) rotateX(3deg); transition: transform .5s var(--ease); }
.c3d-phone:hover, .c3d-phone.is-playing { transform: none; }
.c3d-phone video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 28px; background: #000; }
.c3d-film-copy h2 { margin-top: .3em; }

@media (max-width: 860px) {
  .c3d-inner, .c3d-film-inner { grid-template-columns: 1fr; }
  .c3d-scene { order: -1; width: min(400px, 84%); margin: 24px auto 0; }
  .c3d-world { inset: 14%; }
  .c3d-phone { width: min(340px, 86%); margin: 0 auto; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .c3d-floor, .c3d-r2, .c3d-r3, .c3d-tri { animation: none; }
  .c3d-phone { transform: none; }
}
