/* Motion direction — white, luminous, dimensional. */
:root { --motion-accent: #d85d2b; --scene-time: 8s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body { overflow-x: clip; }
.nav { transition: box-shadow .4s, background .4s; }
body.has-scrolled .nav { box-shadow: 0 6px 35px #1e24240a; background: #fffffff2; }
.page-progress { position: fixed; top: 0; left: 0; z-index: 80; width: 100%; height: 2px; background: linear-gradient(90deg,#c25228,#eda86c,#9cbab9); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.hero-motion { isolation: isolate; background: #fbfbf9; grid-template-columns: 1fr 1.06fr; min-height: 780px; align-items: center; overflow: hidden; }
.hero-motion .hero-copy { padding-top: 65px; padding-bottom: 75px; margin-right: -28px; z-index: 5; }
.hero-motion h1 { font-size: clamp(50px,5.65vw,88px); font-weight: 480; letter-spacing: -.065em; line-height: 1.055; }
.hero-motion h1 em { color: var(--motion-accent); }
.title-line { display: block; overflow: hidden; padding: 0 .05em .12em 0; margin-bottom: -.12em; }
.title-line > * { display: block; }
.hero-motion .hero-copy p { font-size: 16px; max-width: 440px; line-height: 1.8; margin-top: 30px; }
.hero-motion .eyebrow { font-size: 10px; letter-spacing: .16em; color: #8b6758; }
.hero-motion .hero-foot { display: flex; align-items: center; gap: 10px; margin-top: 47px; letter-spacing: .09em; font-size: 9px; }
.hero-dot { width: 6px; height: 6px; background: #a3b5aa; border-radius: 50%; box-shadow: 0 0 0 5px #a3b5aa18; }
.hero-motion .btn { background: #c44f22; border-color: #c44f22; box-shadow: 0 7px 26px #bd542225; transition: transform .3s, box-shadow .3s, background .3s; }
.btn span { transition: transform .3s; }
.btn:hover span { transform: translate(3px,-3px); }
.hero-motion .btn:hover { box-shadow: 0 12px 33px #bd542239; transform: translateY(-3px); background: #a83f18; }
.hero-light { position: absolute; width: 780px; height: 780px; border-radius: 50%; pointer-events: none; z-index: -1; }
.hero-light-warm { right: -240px; top: -200px; background: radial-gradient(ellipse,#edcdbd88,transparent 68%); animation: warm-drift 19s ease-in-out infinite alternate; }
.hero-light-cool { right: -30px; bottom: -280px; background: radial-gradient(ellipse,#cae1dfb0,transparent 67%); animation: cool-drift 23s ease-in-out infinite alternate; }
.hero-experience { position: relative; min-width: 0; padding: 12px 25px 0 0; z-index: 3; }
.hero-stage { height: 600px; position: relative; perspective: 1300px; --pointer-x: 0; --pointer-y: 0; }
.scene-perspective { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--pointer-y) * -2deg)) rotateY(calc(var(--pointer-x) * 3deg)); transition: transform .55s cubic-bezier(.2,.6,.3,1); }
.hero-object { position: absolute; width: 78%; height: 390px; margin: 0; top: 88px; left: 11%; background: #fff; border: 1px solid #fdfdfd; box-shadow: 0 50px 80px -35px #313a3a45,0 4px 20px #43413e0d; border-radius: 6px; overflow: hidden; opacity: 0; transform: translate3d(28px,25px,-80px) rotateY(-14deg) rotateZ(3deg) scale(.93); transition: opacity 1.1s ease,transform 1.4s cubic-bezier(.2,.7,.2,1); }
.hero-object img { width: 100%; height: 100%; display: block; object-fit: cover; }
.scene-artwork img { object-position: 75% center; transform: scale(1.2); transform-origin: 75% 60%; }
.hero-object figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 21px 22px; display: flex; justify-content: space-between; gap: 10px; color: #303a36; background: #fffffff0; backdrop-filter: blur(15px); font-size: 12px; }
.hero-object figcaption span + span { font-size: 10px; color: #757d76; }
.hero-object[data-scene="fingerprint"] img { object-fit: contain; background: #fff; }
.hero-object[data-scene="certificate"] img { object-position: 55% center; }
.hero-stage[data-active-scene="artwork"] .scene-artwork,
.hero-stage[data-active-scene="fingerprint"] .scene-fingerprint,
.hero-stage[data-active-scene="certificate"] .scene-certificate { opacity: 1; transform: translate3d(0,0,0) rotateY(-10deg) rotateZ(-5deg) scale(1); z-index: 2; }
.hero-stage[data-active-scene="fingerprint"] .scene-fingerprint { transform: translate3d(-5px,0,15px) rotateY(-4deg) rotateZ(-2deg) scale(1.02); }
.hero-stage[data-active-scene="certificate"] .scene-certificate { transform: translate3d(0,0,20px) rotateY(-7deg) rotateZ(2deg); }
.hero-platform { position: absolute; width: 75%; height: 65px; border-radius: 50%; bottom: 67px; left: 15%; background: radial-gradient(ellipse,#536c601c,transparent 70%); transform: rotate(-5deg); }
.orbit { position: absolute; pointer-events: none; border: 1px solid #a5bcb638; border-radius: 50%; width: 600px; height: 600px; left: calc(50% - 300px); top: 10px; transform: rotateX(62deg) rotateZ(-23deg); animation: orbit-one 28s linear infinite; }
.orbit:after { content: ''; width: 6px; height: 6px; background: #b6b6a1; border: 3px solid #fff; box-sizing: content-box; box-shadow: 0 0 20px #e0b497; border-radius: 50%; position: absolute; top: 50%; left: -6px; }
.orbit-two { width: 680px; height: 480px; left: calc(50% - 340px); top: 80px; border-color: #d9baa545; transform: rotate(-24deg); animation: orbit-two 32s linear infinite; }
.orbit-two:after { background: #d4a482; }
.floating-collector { position: absolute; width: 230px; top: 30px; right: 4%; padding: 13px; z-index: 4; border-radius: 10px; background: #fffffff0; border: 1px solid #fff; box-shadow: 0 18px 55px #52556820; transform: rotate(5deg) translateZ(70px); animation: collector-float 7s ease-in-out infinite; transition: box-shadow .4s; }
.floating-heading { display: flex; justify-content: space-between; font-size: 8px; letter-spacing: .16em; color: #77758a; margin: 0 2px 10px; }
.floating-collector img { display: block; width: 100%; height: 128px; object-fit: cover; object-position: 50% 58%; border-radius: 5px; }
.floating-caption { display: block; font-size: 9px; color: #757987; margin: 10px 2px 1px; }
.floating-collector:hover { box-shadow: 0 24px 65px #52556840; }
.floating-pro { position: absolute; width: 175px; height: 218px; z-index: 5; left: 4%; bottom: 27px; padding: 22px; display: flex; flex-direction: column; background: linear-gradient(145deg,#ffffffed,#f5efdfed 68%,#dfe7e7ed); border: 1px solid white; border-radius: 7px; box-shadow: 0 25px 55px -10px #72716135; backdrop-filter: blur(15px); animation: certificate-float 8s ease-in-out infinite; transform: rotate(-7deg) translateZ(95px); overflow: hidden; }
.floating-pro:after { content: ''; position: absolute; inset: -80%; background: linear-gradient(110deg,transparent 40%,#fff9 50%,transparent 60%); transform: translateX(-60%); animation: certificate-shine 9s ease-in-out infinite; pointer-events: none; }
.pro-emblem { color: #a78b68; font-size: 26px; line-height: 1; }
.pro-word { font-size: 42px; line-height: 1; letter-spacing: -.06em; margin: 17px 0 12px; font-weight: 500; color: #333d36; }
.floating-pro > span:nth-child(3) { font-size: 10px; color: #6a7068; }
.pro-detail { margin-top: auto; padding-top: 12px; font-size: 8px; letter-spacing: .03em; display: flex; justify-content: space-between; color: #727367; border-top: 1px solid #bdbeb54a; }
.hero-scanner { position: absolute; top: 5%; bottom: 15%; width: 2px; left: 10%; background: linear-gradient(transparent,#e76d32,transparent); box-shadow: 0 0 20px 5px #e76d3222; animation: hero-scan 4s ease-in-out infinite alternate; }
.scan-corner { position: absolute; width: 28px; height: 28px; border-color: #d66b36; border-style: solid; }
.corner-tl { left: 30px; top: 25px; border-width: 1px 0 0 1px; }
.corner-br { right: 30px; bottom: 75px; border-width: 0 1px 1px 0; }
.hero-scene-controls { position: relative; z-index: 8; display: flex; gap: 18px; align-items: center; justify-content: center; margin-top: -4px; }
.scene-options { display: flex; padding: 5px; border: 1px solid #ffffff; border-radius: 40px; background: #ffffffa8; box-shadow: 0 6px 30px #5c65510a; }
.scene-options button { background: transparent; border: 0; color: #7b807a; padding: 11px 17px; font-size: 11px; border-radius: 25px; position: relative; transition: color .3s,background .3s,box-shadow .3s; }
.scene-options button[aria-pressed="true"] { color: #394238; background: #fff; box-shadow: 0 3px 10px #0000000c; }
.scene-options button[aria-pressed="true"]:after { content: ''; position: absolute; left: 20%; right: 20%; height: 1px; bottom: 6px; background: #cb713a; transform-origin: left; animation: scene-progress var(--scene-time) linear both; }
.hero-motion.is-manual .scene-options button:after { animation: none; }
.motion-toggle { width: 35px; height: 35px; padding: 0; display: grid; place-items: center; border: 1px solid #d6dcd5; border-radius: 50%; color: #687366; background: #ffffff70; font-size: 12px; }
.scene-caption { text-align: center; font-size: 9px; letter-spacing: .06em; margin: 16px 0 12px; color: #859083; }
/* Progressive entry transitions keep the document visible without JavaScript. */
.motion-ready .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease,transform 1.05s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay,0ms); }
.motion-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.motion-ready .hero-intro,.motion-ready .hero-copy p,.motion-ready .hero-copy .actions,.motion-ready .hero-copy .hero-foot { animation: enter-soft .9s both; }
.motion-ready .hero-copy p { animation-delay: .3s; }.motion-ready .hero-copy .actions { animation-delay: .45s; }.motion-ready .hero-copy .hero-foot { animation-delay: .6s; }
.motion-ready .title-line > * { animation: title-rise 1.1s cubic-bezier(.16,.8,.25,1) both; }
.motion-ready .title-line:nth-child(2)>* { animation-delay: .12s; }.motion-ready .title-line:nth-child(3)>* { animation-delay: .24s; }
.motion-ready .hero-experience { animation: enter-scene 1.6s cubic-bezier(.2,.7,.2,1) both; }
.system:before { background: linear-gradient(90deg,#d9bda9 0%,#ed7e40 46%,#d9bda9 54%); background-size: 220% 100%; animation: system-flow 8s linear infinite; }
.system article:before { box-shadow: 0 0 0 4px #c75b2d0b; transition: box-shadow .4s; }
.system article:hover:before { box-shadow: 0 0 0 8px #c75b2d16; }
.system article h3,.feature-row h3 { transition: color .3s; }.system article:hover h3,.feature-row article:hover h3 { color: #b85129; }
.showcase { isolation: isolate; }
.showcase:before { z-index: -1; width: 1100px; height: 1100px; top: -100px; right: -250px; background: radial-gradient(ellipse,#dce2dd65,transparent 67%); }
.showcase:after { content: ''; position: absolute; width: 1000px; height: 1000px; left: -400px; bottom: -150px; border-radius: 50%; background: radial-gradient(ellipse,#e2e6e260,transparent 65%); pointer-events: none; animation: cool-drift 21s ease-in-out infinite alternate; z-index: -1; }
.showcase .app-window { transform-origin: 50% 85%; box-shadow: 0 40px 100px #4c4c6923; transition: transform .7s,box-shadow .7s; }
.showcase .app-window:hover { transform: translateY(-6px); box-shadow: 0 45px 100px #4c4c6930; }
.app-window img,.material-image { transition: opacity .35s; }
.app-window img.media-enter,.material-image.media-enter { animation: media-enter .65s ease; }
.role-panel.panel-enter { animation: panel-enter .45s ease both; }
.role-tabs button { transition: color .3s,border-color .3s; }
.role-tabs button:hover { color: #b85129; }
.tech-main { isolation: isolate; }
.tech-main:before { content: ''; position: absolute; width: 60%; height: 70%; left: 20%; top: 10%; background: radial-gradient(ellipse,#e8e8dc70,transparent 65%); z-index: -1; animation: warm-drift 17s ease-in-out infinite alternate; }
.tech-main .scan-line { box-shadow: 0 0 45px 12px #e36b2526; }
.process button { transition: border-color .35s,color .35s,background .35s; }.process button:hover { background: #fcf8f3; }
.process-detail.detail-enter { animation: panel-enter .4s both; }
.cert-card { position: relative; overflow: hidden; box-shadow: 0 12px 50px #9f947e14; transition: transform .5s,box-shadow .5s; }
.cert-card:after { content: ''; position: absolute; inset: -100%; background: linear-gradient(120deg,transparent 40%,#d4dfdc25 47%,#efdabb30 50%,transparent 57%); animation: certificate-shine 12s ease-in-out infinite; pointer-events: none; }
.cert-card:hover { transform: translateY(-5px); box-shadow: 0 20px 60px #9f947e25; }
.offer { transition: transform .35s,box-shadow .35s,border-color .35s; }
.offer:hover { transform: translateY(-7px); box-shadow: 0 20px 45px #4e46300c; border-color: #c3b49d; }
.role-landing .hero { isolation: isolate; background: #fafbf9; }
.role-landing .hero-art { overflow: hidden; }
.role-landing .hero-art > img { animation: role-image-drift 18s ease-in-out infinite alternate; }
.role-landing .hero-art:after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 80%,#bdddd326,transparent 70%); pointer-events: none; }
.motion-paused *, .motion-paused *:before,.motion-paused *:after,.is-outside *, .is-outside *:before,.is-outside *:after { animation-play-state: paused !important; }
.motion-paused .reveal { opacity: 1; transform: none; transition: none; }
.motion-paused .hero-copy p,.motion-paused .hero-copy .actions,.motion-paused .hero-copy .hero-foot,.motion-paused .hero-intro,.motion-paused .hero-experience,.motion-paused .title-line > * { opacity: 1; transform: none; animation: none; }
@keyframes title-rise { from { transform: translateY(105%); } to { transform: translateY(0); } }
@keyframes enter-soft { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes enter-scene { from { opacity: 0; transform: translateY(25px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes warm-drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-120px,80px,0) scale(1.15); } }
@keyframes cool-drift { from { transform: translate3d(-30px,0,0); } to { transform: translate3d(100px,-100px,0); } }
@keyframes collector-float { 0%,100% { transform: translate3d(0,0,70px) rotate(5deg); } 50% { transform: translate3d(-4px,-13px,70px) rotate(3deg); } }
@keyframes certificate-float { 0%,100% { transform: translate3d(0,0,95px) rotate(-7deg); } 50% { transform: translate3d(5px,-11px,95px) rotate(-4deg); } }
@keyframes certificate-shine { 0%,30% { transform: translateX(-65%); } 65%,100% { transform: translateX(65%); } }
@keyframes hero-scan { to { left: 89%; } }
@keyframes orbit-one { from { transform: rotateX(62deg) rotateZ(-23deg); } to { transform: rotateX(62deg) rotateZ(337deg); } }
@keyframes orbit-two { from { transform: rotate(-24deg); } to { transform: rotate(336deg); } }
@keyframes scene-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes system-flow { to { background-position: -220% 0; } }
@keyframes media-enter { from { opacity: .4; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes panel-enter { from { opacity: .15; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes role-image-drift { from { transform: scale(1); } to { transform: scale(1.045); } }
@media(min-width:1500px) { .hero-motion { min-height: 820px; }.hero-stage { height: 660px; }.hero-object { top: 100px; height: 440px; }.floating-collector { top: 35px; right: 10%; }.floating-pro { bottom: 37px; left: 7%; }.hero-experience { padding-right: max(30px,calc((100vw - 1400px)/2)); } }
@media(max-width:1100px) { .hero-motion { min-height: 720px; grid-template-columns: 1fr 1fr; }.hero-motion h1 { font-size: 6vw; }.hero-motion .hero-copy { margin-right: -40px; }.hero-motion .hero-copy p { max-width: 360px; font-size: 15px; }.hero-stage { height: 540px; }.hero-object { width: 82%; height: 350px; top: 83px; left: 10%; }.floating-collector { width: 190px; top: 30px; right: 2%; }.floating-collector img { height: 104px; }.floating-pro { width: 150px; height: 190px; bottom: 21px; left: 7%; padding: 17px; }.pro-word { font-size: 36px; }.hero-object figcaption { padding: 17px; font-size: 10px; }.hero-object figcaption span+span { display: none; }.hero-experience { padding-right: 10px; }.orbit { width: 500px; height: 500px; left: calc(50% - 250px); }.orbit-two { width: 560px; height: 430px; left: calc(50% - 280px); }.scene-options button { padding: 10px 13px; font-size: 10px; }.hero-scene-controls { gap: 10px; }.hero-motion .actions { gap: 20px; }.hero-motion .btn { padding: 14px 16px; gap: 20px; } }
@media(max-width:720px) { .hero-motion { display: block; min-height: 0; }.hero-motion .hero-copy { margin: 0; padding: 48px 20px 24px; }.hero-motion h1 { font-size: clamp(46px,11.8vw,76px); line-height: 1.06; }.hero-motion .hero-copy p { max-width: 490px; font-size: 15px; margin-top: 26px; }.hero-motion .hero-foot { margin-top: 30px; font-size: 8px; }.hero-motion .hero-intro { font-size: 9px; }.hero-experience { padding: 0 12px 24px; }.hero-stage { height: 455px; max-width: 520px; margin: auto; }.hero-object { top: 67px; left: 9%; width: 82%; height: 295px; }.floating-collector { width: 165px; top: 17px; right: 3%; padding: 9px; }.floating-collector img { height: 85px; }.floating-heading { font-size: 7px; margin-bottom: 6px; }.floating-caption { font-size: 7px; margin-top: 7px; }.floating-pro { width: 126px; height: 160px; left: 5%; bottom: 27px; padding: 14px; }.pro-word { font-size: 29px; margin: 11px 0 9px; }.pro-emblem { font-size: 20px; }.floating-pro>span:nth-child(3) { font-size: 8px; }.pro-detail { font-size: 7px; padding-top: 9px; }.orbit { width: 420px; height: 420px; left: calc(50% - 210px); }.orbit-two { width: 460px; height: 370px; left: calc(50% - 230px); top: 55px; }.scene-caption { margin-top: 12px; font-size: 8px; }.hero-light-warm { width: 600px; height: 600px; top: 320px; right: -250px; }.hero-light-cool { width: 600px; height: 600px; right: -150px; bottom: -180px; }.scene-perspective { transform: none!important; }.hero-motion .actions { gap: 19px; }.hero-object figcaption { padding: 15px 18px; font-size: 10px; }.motion-ready .reveal { transform: translateY(18px); }.motion-ready .reveal.is-visible { transform: none; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*:before,*:after { animation: none!important; transition: none!important; }.motion-ready .reveal,.motion-ready .title-line>* { opacity: 1; transform: none; }.scene-perspective { transform: none!important; }.hero-motion .hero-experience,.hero-motion .hero-copy p,.hero-motion .hero-copy .actions,.hero-motion .hero-copy .hero-foot,.hero-intro { opacity: 1; transform: none; } }
.role-motion-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #fffffff0; box-shadow: 0 6px 25px #0001; }
.tab-inactive *, .tab-inactive *:before, .tab-inactive *:after { animation-play-state: paused!important; }
.motion-toggle:disabled { opacity: .5; cursor: default; }
.is-outside, .is-outside:before, .is-outside:after,
.hero-object[aria-hidden="true"] *, .hero-object[aria-hidden="true"] *:before, .hero-object[aria-hidden="true"] *:after { animation-play-state: paused!important; }
