/* ---------- motion: three concept sites with motion graphics ---------- */
.motion { background: var(--black); color: var(--white); padding: clamp(80px, 12vw, 160px) var(--gutter); }
.motion-head { max-width: 900px; }
.motion-head h2 { font-size: var(--t-xl); }
.motion-head p { margin-top: 18px; max-width: 40em; color: #bdbdbd; font-size: var(--t-md); line-height: 1.45; }
.motion-list { display: grid; gap: clamp(56px, 8vw, 110px); margin-top: clamp(48px, 6vw, 80px); }
.mo-card .frame { border-radius: 14px; overflow: hidden; background: var(--graphite); box-shadow: 0 0 0 1px var(--line-dark), 0 40px 100px rgba(0,0,0,.5); }
.mo-card .chrome { height: 32px; }
.mo-card .url { height: 20px; font-size: 11.5px; }
.mo-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mo-card figcaption { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-top: 18px; align-items: baseline; }
.mo-card h3 { font-size: var(--t-md); letter-spacing: -.02em; }
.mo-card .style { justify-self: start; white-space: nowrap; font-size: var(--t-sm); border: 1px solid var(--line-dark); border-radius: 999px; padding: 2px 10px; }
.mo-card figcaption p { grid-column: 1 / -1; color: #a9a9a9; max-width: 56ch; }
.mo-card .concept { color: var(--steel); font-size: var(--t-sm); }
.mo-hint { position: absolute; z-index: 5; right: 16px; bottom: 14px; font-size: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
@media (max-width: 700px) { .mo-stage { aspect-ratio: 4 / 5; } }

/* 1. Prism: AI studio, 3D card stack over a marquee */
.prism { background: #f4f3fb; color: #111; font-family: "Space Grotesk", sans-serif; perspective: 1200px; }
.prism-nav { position: absolute; z-index: 4; top: 4%; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px rgba(30,20,80,.08); font-size: clamp(9px, 1vw, 12px); }
.prism-nav span, .prism-nav b { white-space: nowrap; }
.prism-nav span { padding: 4px 9px; }
.prism-nav b { padding: 4px 10px; border-radius: 7px; background: #111; color: #fff; font-weight: 500; }
.prism-marquee { position: absolute; top: 50%; left: 0; display: flex; gap: .6em; white-space: nowrap; font-size: clamp(28px, 6vw, 84px); letter-spacing: -.04em; transform: translateY(-50%); animation: prism-run 22s linear infinite; }
.prism-marquee i { font-style: normal; color: #7b5cff; }
@keyframes prism-run { to { transform: translate(-50%, -50%); } }
.prism-stack { position: absolute; inset: 0; display: grid; place-items: center; transform-style: preserve-3d; }
.prism-card { grid-area: 1 / 1; width: clamp(140px, 24%, 290px); aspect-ratio: 3 / 4; border-radius: 18px; padding: 4%; color: #fff; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 60px rgba(40,10,120,.35); transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .3s; font-size: clamp(8px, .9vw, 12px); }
.prism-card small { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.18); }
.prism-card strong { font-size: 2.1em; font-weight: 500; letter-spacing: -.03em; }
.prism-card:nth-child(1) { background: linear-gradient(160deg, #3a1fd1, #1b0f6b); transform: translateX(-62%) rotateY(28deg) scale(.86); }
.prism-card:nth-child(3) { background: linear-gradient(160deg, #c6ff3d, #63b000); color: #10210a; transform: translateX(62%) rotateY(-28deg) scale(.86); }
.prism-card:nth-child(2) { z-index: 2; background: radial-gradient(circle at 50% 40%, #b28bff, #6b3cff 60%, #4119c9); }
.prism .is-fanned .prism-card:nth-child(1) { transform: translateX(-108%) rotateY(18deg) rotateZ(-6deg) scale(.9); }
.prism .is-fanned .prism-card:nth-child(3) { transform: translateX(108%) rotateY(-18deg) rotateZ(6deg) scale(.9); }
.prism .is-fanned .prism-card:nth-child(2) { transform: translateY(-3%) scale(1.04); }
.prism-star { width: 64%; margin: 0 auto; aspect-ratio: 1; animation: prism-spin 9s cubic-bezier(.6,0,.4,1) infinite; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
@keyframes prism-spin { 0%, 12% { transform: rotate(0) scale(1); } 45% { transform: rotate(180deg) scale(.82); } 55%, 62% { transform: rotate(180deg) scale(.82); } 100% { transform: rotate(360deg) scale(1); } }
.prism-dock { position: absolute; z-index: 4; bottom: 6%; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(20,20,30,.82); backdrop-filter: blur(10px); }
.prism-dock button { width: clamp(28px, 3vw, 38px); aspect-ratio: 1; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: #fff; font: 600 clamp(10px, 1vw, 13px) "Space Grotesk", sans-serif; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.prism-dock button:hover { background: rgba(255,255,255,.14); }
.prism-dock button:active { transform: scale(.9); }
.prism-dock button[aria-pressed="true"] { background: #fff; color: #111; }
/* the demo's own controls: pause, desktop/mobile preview, speed, search */
.prism-view { position: absolute; inset: 0; overflow: hidden; transition: inset .7s cubic-bezier(.2,.8,.2,1), border-radius .7s, box-shadow .7s; background: #f4f3fb; }
.prism.is-mobile { background: #e3e1ee; }
.prism.is-mobile .prism-view { inset: 5% calc(50% - min(17%, 120px)) 16%; border-radius: 26px; box-shadow: 0 0 0 6px #111, 0 30px 60px rgba(30,20,80,.3); }
.prism.is-mobile .prism-card:not(:nth-child(2)) { opacity: 0; }
.prism.is-mobile .prism-card:nth-child(2) { width: 66%; transform: none; }
.prism.is-mobile .prism-nav span { display: none; }
.prism.is-paused * { animation-play-state: paused !important; }
.prism-marquee { animation-duration: calc(22s / var(--speed, 1)); }
.prism-star { animation-duration: calc(9s / var(--speed, 1)); }
.prism-search { position: absolute; z-index: 5; left: 50%; bottom: calc(6% + clamp(40px, 4.2vw, 52px)); width: min(70%, 320px); transform: translate(-50%, 12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.prism-search input { width: 100%; padding: 10px 16px; border: 0; border-radius: 999px; background: #fff; font: 400 14px "Space Grotesk", sans-serif; box-shadow: 0 10px 30px rgba(30,20,80,.2); }
.prism.is-search .prism-search { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* 2. Orbit: record shop, draggable spiral carousel */
.orbit { background: radial-gradient(ellipse at 50% 120%, #3b1408, #0c0605 65%); color: #f6e9d8; font-family: "Anton", sans-serif; perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none; }
.orbit:active { cursor: grabbing; }
.orbit-title { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: clamp(40px, 11vw, 160px); line-height: .85; text-align: center; letter-spacing: .01em; color: #ff6a2b; text-transform: uppercase; opacity: .9; }
.orbit-title small { display: block; font: 500 clamp(9px, 1vw, 13px) "DM Sans", sans-serif; letter-spacing: .3em; color: #f6e9d8; margin-top: 10px; }
.orbit-ring { position: absolute; z-index: 2; inset: 0; transform-style: preserve-3d; }
.orbit-item { position: absolute; left: 50%; top: 50%; width: clamp(64px, 11%, 140px); aspect-ratio: 1; margin: calc(clamp(64px, 11%, 140px) / -2) 0 0 calc(clamp(64px, 11%, 140px) / -2); border-radius: 6px; backface-visibility: hidden; box-shadow: 0 16px 30px rgba(0,0,0,.5); }
.orbit-item::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,.6) 0 9%, transparent 10% 34%, rgba(255,255,255,.18) 35% 36%, transparent 37%); }
.orbit-foot { position: absolute; z-index: 3; left: 4%; right: 4%; bottom: 5%; display: flex; justify-content: space-between; font: 500 clamp(9px, 1vw, 13px) "DM Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; }

/* 3. Summit: outdoor bottle, scroll-driven product reveal */
.summit { color: #fff; font-family: "Inter", sans-serif; background: linear-gradient(#8fb4d6, #dfe8ef 55%, #f3f4f3); }
.summit svg.ridges { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; }
.summit .ridge { will-change: transform; }
.summit-word { position: absolute; z-index: 1; top: 16%; left: 0; right: 0; text-align: center; font: 600 clamp(40px, 12vw, 180px)/.9 "Inter", sans-serif; letter-spacing: -.06em; color: rgba(255,255,255,.85); }
.summit-bottle { position: absolute; z-index: 2; left: 50%; bottom: 6%; height: 66%; aspect-ratio: 1 / 2.6; transform: translateX(-50%); filter: drop-shadow(0 30px 30px rgba(10,30,50,.35)); }
.summit-spec { position: absolute; z-index: 3; font-size: clamp(9px, 1.1vw, 14px); color: #0e2233; display: flex; flex-direction: column; gap: 2px; }
.summit-spec b { font-size: 2.2em; letter-spacing: -.04em; font-weight: 600; }
.summit-spec::before { content: ""; width: 34px; height: 1px; background: #0e2233; margin-bottom: 6px; }
.summit-spec.s1 { left: 8%; top: 46%; }
.summit-spec.s2 { right: 8%; top: 36%; text-align: right; align-items: flex-end; }
.summit-spec.s3 { right: 10%; top: 66%; text-align: right; align-items: flex-end; }
.summit-bar { position: absolute; z-index: 3; top: 4%; left: 4%; right: 4%; display: flex; justify-content: space-between; font-size: clamp(9px, 1vw, 12px); letter-spacing: .12em; text-transform: uppercase; color: #0e2233; }
