/* Motion studio — sculpted light, connected systems, native scroll. */
.hero__canvas { opacity: .85; pointer-events: none; }
.motion-studio .hero__glow { opacity: .52; }
.motion-studio .hero__orb { opacity: .16; }
.motion-studio .hero__title { position: relative; z-index: 1; text-shadow: 0 8px 48px rgba(0,0,0,.4); }
.motion-studio .hero__title .line__in { transition-duration: 1.55s; transition-timing-function: cubic-bezier(.16,1,.3,1); }
.motion-studio .hero__title .grad { background-size: 400% 100%; animation: liquid-type 11s ease-in-out infinite alternate; }
.motion-studio .hero .lead { position: relative; z-index: 1; }
.motion-studio .hero__window { box-shadow: 0 50px 120px #0008, 0 0 100px #ff5b2e18, 0 0 0 1px #ffffff0a; }
.motion-studio .hero__window::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, #ffffff13 45%, transparent 60%); background-size: 300% 100%; animation: glass-pass 9s ease-in-out infinite; }
@keyframes liquid-type { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes glass-pass { 0%, 30% { background-position: 150% 0; } 75%, 100% { background-position: -150% 0; } }

/* Persistent visual chapter marks, driven by the viewport. */
.motion-studio main > .section { isolation: isolate; }
.motion-studio main > .section::after { content: ''; position: absolute; z-index: -1; pointer-events: none; left: 0; top: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, #ff5b2e90 45%, #b7a1ff80 55%, transparent); transform: scaleX(.1); transform-origin: center; opacity: .6; transition: transform 1.4s cubic-bezier(.16,1,.3,1); }
.motion-studio main > .section.motion-in-view::after { transform: scaleX(1); }
@supports (animation-timeline: view()) {
  .motion-studio main > .section { view-timeline: --chapter block; }
  .motion-studio main > .section::after, .motion-studio main > .section.motion-in-view::after { transition: none; animation: chapter-line linear both; animation-timeline: --chapter; animation-range: entry 0% cover 50%; }
  @keyframes chapter-line { from { transform: scaleX(.1); } to { transform: scaleX(1); } }
}
.motion-studio .section__head .kicker::before { transition: width .8s cubic-bezier(.16,1,.3,1); }
.motion-studio .motion-in-view .section__head .kicker::before { width: 48px; }
.motion-studio .search-card { position: relative; overflow: hidden; transition: translate .8s cubic-bezier(.16,1,.3,1), border-color .4s, box-shadow .4s; }
.motion-studio .search-card::before { background: radial-gradient(500px circle at var(--light-x, 50%) var(--light-y, 50%), #ff9a3d25, transparent 55%); }
.motion-studio .search-card.has-light { border-color: #ff9a3d66; box-shadow: 0 30px 70px #0005, inset 0 1px #ffffff1a; }
.motion-studio .search-card__number { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #ff5b2e55; background: #ff5b2e0c; position: relative; }
.motion-studio .search-card__number::after { content: ''; position: absolute; inset: -5px; border: 1px dashed #ff9a3d55; border-radius: 50%; animation: orbit-turn 22s linear infinite; animation-play-state: paused; }
.motion-studio .motion-in-view .search-card__number::after { animation-play-state: running; }
.motion-studio .card__icon { box-shadow: inset 0 1px #ffffff26; }
.motion-studio .card.has-light .card__icon { box-shadow: 0 0 36px #ff5b2e44; }
.motion-studio .plan { transition: transform .5s, box-shadow .5s, border-color .4s; }
.motion-studio .plan.has-light { box-shadow: 0 24px 80px #ff5b2e22; }
.motion-studio .plan__price { font-variant-numeric: tabular-nums; }
.motion-studio .btn { position: relative; isolation: isolate; overflow: hidden; }
.motion-studio .btn--accent { box-shadow: 0 0 0 1px #ffffff16, 0 8px 35px #ff5b2e30; }
.motion-studio .btn--accent:hover { box-shadow: 0 0 0 1px #ffffff40, 0 10px 55px #ff5b2e70; }
.click-wave { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #ffffff55; pointer-events: none; animation: click-wave .8s ease-out forwards; }
@keyframes click-wave { to { transform: scale(38); opacity: 0; } }

/* A focused visual narrative: foundation, Tabu, discovery. */
.signal { position: relative; margin: 0 0 32px; overflow: hidden; border: 1px solid #ffffff24; border-radius: 28px; background: radial-gradient(ellipse at 50% 63%, #ff5b2e18, transparent 47%), radial-gradient(ellipse at 90% 24%, #8770dc13, transparent 45%), #0b0d13; box-shadow: 0 38px 100px #0005, inset 0 1px #ffffff12; }
.signal::before { content: ''; position: absolute; pointer-events: none; inset: 0; border-radius: inherit; box-shadow: inset 0 0 90px #0008; z-index: 2; }
.signal__caption { display: flex; align-items: center; gap: 10px; padding: 19px 26px; border-bottom: 1px solid #ffffff10; color: #a8aab9; font: 10px/1.5 var(--mono); letter-spacing: .15em; }
.signal__caption > span:last-child { margin-left: auto; color: #ff9a67; }
.signal__status { display: inline-block; flex: none; width: 7px; height: 7px; background: #ff6b43; border-radius: 50%; box-shadow: 0 0 12px #ff5b2e; }
.signal__intro { text-align: center; padding: 24px 20px 0; display: grid; gap: 8px; }
.signal__intro span { color: #ff946d; font: 10px var(--mono); letter-spacing: .2em; }
.signal__intro strong { color: #f6f5fa; font: 700 clamp(22px, 3vw, 36px)/1.2 var(--display); letter-spacing: -.04em; }
.signal__field { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 240px minmax(0,1fr); align-items: center; gap: 34px; min-height: 430px; padding: 32px 42px 52px; isolation: isolate; background-image: radial-gradient(#ffffff0e 1px, transparent 1px); background-size: 24px 24px; }
.signal__field::before { content: ''; position: absolute; inset: 15% 22%; background: radial-gradient(ellipse, #ff5b2e16, transparent 65%); filter: blur(20px); pointer-events: none; }
.signal__routes { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: url(#signal-gradient); stroke-width: 1.5; opacity: .46; filter: drop-shadow(0 0 9px #ff5b2e55); }
.signal__stack { position: relative; z-index: 2; display: grid; gap: 14px; min-width: 0; }
.signal__stack--source { justify-items: start; }
.signal__stack--output { justify-items: end; }
.signal__eyebrow { color: #8f91a7; font: 10px var(--mono); letter-spacing: .16em; margin: 0 0 6px; }
.signal__node { display: flex; align-items: center; gap: 13px; min-width: 190px; min-height: 57px; padding: 10px 14px; color: #f3f0f2; border: 1px solid #ffffff20; border-radius: 12px; background: linear-gradient(125deg,#20212cdc,#10121adf); box-shadow: 0 12px 30px #0007, inset 0 1px #ffffff18; font: 600 13px/1.3 var(--body); backdrop-filter: blur(12px); transition: transform .45s cubic-bezier(.16,1,.3,1), border-color .35s, box-shadow .35s; }
.signal__node i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: #ff5b2e22; color: #ff9d72; font: 600 17px var(--display); font-style: normal; }
.signal__stack--output .signal__node i { background: #aa91f526; color: #c4acff; }
.signal__node b { margin-left: auto; color: #ba9ff5; font: 9px var(--mono); letter-spacing: .08em; }
.signal__node:hover { transform: translateY(-5px); border-color: #ff9d7270; box-shadow: 0 22px 45px #0009, 0 0 26px #ff5b2e21; }
.signal__hub { position: relative; z-index: 1; height: 250px; display: grid; place-items: center; }
.signal__hub::before { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, #ff5b2e33, transparent 68%); filter: blur(10px); }
.signal__halo { position: absolute; width: 212px; height: 212px; border: 1px solid #ff9a3d39; border-radius: 50%; transform: rotateX(58deg); }
.signal__halo--two { width: 240px; height: 240px; border-color: #ffffff1f; border-style: dashed; }
.signal__halo--three { width: 190px; height: 190px; border-color: #b7a1ff66; transform: rotateY(62deg); }
.signal__core { position: relative; width: 124px; height: 124px; border-radius: 32px; border: 1px solid #ffffff66; background: linear-gradient(135deg,#ffad59,#ff5b2e 60%,#d7422e); display: grid; place-items: center; box-shadow: 0 0 0 10px #ff5b2e12, 0 0 90px #ff5b2e66, inset 0 2px #ffffffa0, inset 0 -14px 26px #a02e2e30; }
.signal__core span { font: 700 78px/.8 var(--display); color: #fff; letter-spacing: -.08em; margin-left: -9px; text-shadow: 0 3px 12px #8e361a55; }
.signal__hub-label { position: absolute; top: calc(50% + 100px); color: #e4c6b9; font: 9px var(--mono); letter-spacing: .18em; white-space: nowrap; }
.signal__packet { position: absolute; z-index: 1; left: 20%; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: #ffd39e; box-shadow: 0 0 8px #fff, 0 0 24px #ff7e4d; opacity: 0; pointer-events: none; }
.signal__footer { display: flex; align-items: center; justify-content: center; gap: 10px; border-top: 1px solid #ffffff10; color: #a8aab9; padding: 19px 24px; font-size: 12px; margin: 0; letter-spacing: .02em; }
@keyframes halo-roll { from { transform: rotateX(58deg) rotateZ(0); } to { transform: rotateX(58deg) rotateZ(360deg); } }
@keyframes halo-flat { to { rotate: 360deg; } }
@keyframes halo-roll-alt { from { transform: rotateY(62deg) rotateZ(360deg); } to { transform: rotateY(62deg) rotateZ(0); } }
@keyframes core-breathe { 0%,100% { box-shadow: 0 0 0 10px #ff5b2e12,0 0 70px #ff5b2e55,inset 0 2px #ffffffa0; } 50% { box-shadow: 0 0 0 16px #ff5b2e0a,0 0 105px #ff5b2e88,inset 0 2px #ffffffa0; } }
@keyframes data-flight { 0% { left: 20%; opacity: 0; scale: .5; } 12% { opacity: 1; } 48% { scale: 1.7; } 88% { opacity: 1; } 100% { left: 80%; opacity: 0; scale: .5; } }
.motion-studio .signal__halo--one { animation: halo-roll 18s linear infinite; }
.motion-studio .signal__halo--two { animation: halo-flat 45s linear infinite; }
.motion-studio .signal__halo--three { animation: halo-roll-alt 14s linear infinite; }
.motion-studio .signal__core { animation: core-breathe 5s ease-in-out infinite; }
.motion-studio .signal__packet { animation: data-flight 4.5s cubic-bezier(.45,0,.55,1) infinite; }
.motion-studio .signal__packet--2 { animation-delay: -1.5s; top: 27%; }
.motion-studio .signal__packet--3 { animation-delay: -3s; top: 73%; }
.motion-studio .signal * { animation-play-state: paused; }
.motion-studio .motion-in-view .signal * { animation-play-state: running; }
@media (max-width: 700px) {
  .hero__canvas { opacity: .55; }
  .signal__caption { padding: 14px 16px; font-size: 8px; letter-spacing: .07em; }
  .signal__caption > span:last-child { display: none; }
  .signal__intro { padding: 20px 14px 0; }
  .signal__intro strong { font-size: 23px; }
  .signal__field { grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 24px 18px 32px; }
  .signal__routes, .signal__packet { display: none; }
  .signal__stack { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; justify-items: stretch; }
  .signal__stack--output { justify-items: stretch; }
  .signal__eyebrow { grid-column: 1/-1; font-size: 9px; text-align: center; margin-bottom: 4px; }
  .signal__node { min-width: 0; min-height: 78px; flex-direction: column; justify-content: center; gap: 6px; padding: 8px 4px; text-align: center; font-size: 9px; }
  .signal__node i { width: 23px; height: 23px; border-radius: 5px; font-size: 12px; }
  .signal__node b { display: none; }
  .signal__hub { height: 155px; }
  .signal__core { width: 78px; height: 78px; border-radius: 22px; }
  .signal__core span { font-size: 52px; }
  .signal__halo--one { width: 150px; height: 150px; } .signal__halo--two { width: 180px; height: 180px; } .signal__halo--three { width: 130px; height: 130px; }
  .signal__hub-label { top: calc(50% + 55px); font-size: 8px; }
  .signal__footer { font-size: 10px; padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__canvas { display: none; }
  .signal *, .motion-studio .hero__title .grad { animation: none !important; }
  .motion-studio .footer__word span { transform: none; }
  .click-wave { display: none; }
}
